Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01359/0.01359, allocations: 176.3 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.945/1.945, allocations: 194.5 MB / 210.3 MB, free: 8.781 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002058/0.002057, allocations: 116.6 kB / 255.6 MB, free: 11.4 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2609/0.2609, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004793, allocations: 11.41 kB / 406.3 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1067, allocations: 54.87 MB / 461.1 MB, free: 3.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5124/0.6191, allocations: 100.9 MB / 0.5489 GB, free: 21.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.6194, allocations: 78.55 kB / 0.549 GB, free: 21.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.152/1.771, allocations: 199.2 MB / 0.7435 GB, free: 63.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.297e-06/1.771, allocations: 0 / 0.7435 GB, free: 63.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005664/1.772, allocations: 196.9 kB / 0.7437 GB, free: 63.61 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.04268/1.814, allocations: 9.997 MB / 0.7534 GB, free: 59.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/1.814, allocations: 11.19 kB / 0.7535 GB, free: 59.66 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01011/1.825, allocations: 1.818 MB / 0.7552 GB, free: 59.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03673/1.861, allocations: 4.032 MB / 0.7592 GB, free: 58.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03797/1.899, allocations: 10.61 MB / 0.7695 GB, free: 57.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001261/1.901, allocations: 0.7938 MB / 0.7703 GB, free: 57.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006567/1.907, allocations: 1.035 MB / 0.7713 GB, free: 57.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08271/1.99, allocations: 24.4 MB / 0.7951 GB, free: 53.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008625/1.991, allocations: 102 kB / 0.7952 GB, free: 53.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005921/1.997, allocations: 493.3 kB / 0.7957 GB, free: 53.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005908/2.003, allocations: 2.274 MB / 0.7979 GB, free: 53.28 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06707/2.07, allocations: 19.52 MB / 0.817 GB, free: 52.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.184/2.254, allocations: 94.17 MB / 0.909 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0395/2.294, allocations: 7.714 MB / 0.9165 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4163/2.71, allocations: 13.3 MB / 0.9295 GB, free: 87.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.926e-05/2.71, allocations: 68.16 kB / 0.9295 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=336): time 7.114e-06/2.71, allocations: 0.9375 kB / 0.9295 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360): time 0.09759/2.808, allocations: 20.86 MB / 0.9499 GB, free: 82.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/2.808, allocations: 168.1 kB / 0.9501 GB, free: 81.88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01868/2.827, allocations: 6.582 MB / 0.9565 GB, free: 81.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008163/2.828, allocations: 85.61 kB / 0.9566 GB, free: 81.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005794/2.833, allocations: 6.809 MB / 0.9632 GB, free: 77.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001989/2.835, allocations: 1.355 MB / 0.9646 GB, free: 77.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001771/2.837, allocations: 215.9 kB / 0.9648 GB, free: 77.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001229/2.838, allocations: 0.7464 MB / 0.9655 GB, free: 76.86 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01082/2.849, allocations: 3.222 MB / 0.9686 GB, free: 76.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01511/2.864, allocations: 9.693 MB / 0.9781 GB, free: 68.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0144/2.879, allocations: 5.397 MB / 0.9834 GB, free: 68.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002444/2.879, allocations: 65.81 kB / 0.9834 GB, free: 68.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03686/2.916, allocations: 12.65 MB / 0.9958 GB, free: 67.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001929/2.916, allocations: 108.3 kB / 0.9959 GB, free: 67.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004/2.917, allocations: 234.9 kB / 0.9961 GB, free: 67.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003507/2.917, allocations: 341 kB / 0.9964 GB, free: 67.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01683/2.934, allocations: 2.611 MB / 0.999 GB, free: 67.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005158/2.934, allocations: 455.5 kB / 0.9994 GB, free: 67.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01345/2.948, allocations: 0.6828 MB / 1 GB, free: 67.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002751/2.951, allocations: 0.6428 MB / 1.001 GB, free: 67.31 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * Number of states: 0 () * Number of discrete variables: 69 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1366): * Single equations (assignments): 1363 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01279/2.964, allocations: 4.516 MB / 1.005 GB, free: 66.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001698/2.965, allocations: 0.6672 MB / 1.006 GB, free: 66.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/2.979, allocations: 4.093 MB / 1.01 GB, free: 65.72 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.748e-05/2.979, allocations: 35.5 kB / 1.01 GB, free: 65.72 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/2.979, allocations: 7.547 kB / 1.01 GB, free: 65.72 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-05/2.979, allocations: 17.14 kB / 1.01 GB, free: 65.72 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08614/3.065, allocations: 41.72 MB / 1.051 GB, free: 44.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001784/3.065, allocations: 88 kB / 1.051 GB, free: 44.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005206/3.07, allocations: 0.8424 MB / 1.051 GB, free: 43.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/3.07, allocations: 128 kB / 1.052 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004617/3.071, allocations: 194.9 kB / 1.052 GB, free: 43.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001064/3.071, allocations: 170.3 kB / 1.052 GB, free: 43.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.916e-05/3.071, allocations: 139.4 kB / 1.052 GB, free: 43.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01638/3.088, allocations: 25.19 MB / 1.077 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002643/3.09, allocations: 0.835 MB / 1.078 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00202/3.092, allocations: 209.7 kB / 1.078 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006069/3.098, allocations: 261.9 kB / 1.078 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000994/3.099, allocations: 0.5707 MB / 1.079 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004355/3.1, allocations: 241.8 kB / 1.079 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01252/3.112, allocations: 4.651 MB / 1.083 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.42e-07/3.112, allocations: 0 / 1.083 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01367/3.126, allocations: 1.874 MB / 1.085 GB, free: 7.352 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (444): * Single equations (assignments): 441 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4325/3.559, allocations: 40.91 MB / 1.125 GB, free: 68.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02666/3.585, allocations: 7.549 MB / 1.132 GB, free: 68.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.91e-05/3.586, allocations: 12.56 kB / 1.132 GB, free: 68.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005935/3.591, allocations: 2.167 MB / 1.135 GB, free: 68.45 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008896/3.6, allocations: 1.082 MB / 1.136 GB, free: 68.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6232/4.224, allocations: 235.8 MB / 1.366 GB, free: 134.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01892/4.243, allocations: 7.16 MB / 1.373 GB, free: 133.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.01693/4.26, allocations: 3.314 MB / 1.376 GB, free: 133.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01112/4.271, allocations: 4.759 MB / 1.381 GB, free: 133.1 MB / 0.6198 GB Notification: Performance of SimCode: time 1.773e-06/4.271, allocations: 0 / 1.381 GB, free: 133.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7347/5.006, allocations: 144.1 MB / 1.521 GB, free: 158.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/5.006, allocations: 185.1 kB / 1.522 GB, free: 158.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/13.49, allocations: 1.203 kB / 1.522 GB, free: 158.1 MB / 0.6198 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat