Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00147/0.00147, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 227.2 MB / 245 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008547/0.0008547, allocations: 105.2 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3611/0.3611, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002483/0.0002483, allocations: 8 kB / 468.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2942, allocations: 63.26 MB / 0.5192 GB, free: 37.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.12/0.4142, allocations: 103.9 MB / 0.6207 GB, free: 15.48 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.4144, allocations: 75.97 kB / 0.6208 GB, free: 15.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1275/0.5419, allocations: 55.1 MB / 0.6746 GB, free: 7.949 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.542, allocations: 0 / 0.6746 GB, free: 7.949 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001082/0.5421, allocations: 48 kB / 0.6746 GB, free: 7.902 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.006518/0.5486, allocations: 2.628 MB / 0.6772 GB, free: 5.215 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.5487, allocations: 11.97 kB / 0.6772 GB, free: 5.203 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00693/0.5556, allocations: 1.798 MB / 0.6789 GB, free: 3.398 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004705/0.5603, allocations: 1.668 MB / 0.6806 GB, free: 1.684 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.5605, allocations: 205.5 kB / 0.6808 GB, free: 1.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001071/0.5616, allocations: 275.9 kB / 0.681 GB, free: 1.211 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2416/0.8032, allocations: 6.314 MB / 0.6872 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.262e-05/0.8034, allocations: 15.03 kB / 0.6872 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004714/0.8038, allocations: 125.2 kB / 0.6873 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007139/0.8046, allocations: 0.6326 MB / 0.6879 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00797/0.8125, allocations: 5.507 MB / 0.6933 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02323/0.8358, allocations: 22.13 MB / 0.7149 GB, free: 93.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004085/0.8399, allocations: 2.082 MB / 0.717 GB, free: 92.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006241/0.8462, allocations: 3.529 MB / 0.7204 GB, free: 90.31 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.8463, allocations: 41.17 kB / 0.7205 GB, free: 90.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.526e-06/0.8463, allocations: 0 / 0.7205 GB, free: 90.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.004844/0.8511, allocations: 2.231 MB / 0.7226 GB, free: 89.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.8512, allocations: 59.66 kB / 0.7227 GB, free: 89.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.8536, allocations: 1.737 MB / 0.7244 GB, free: 88.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.8536, allocations: 36.61 kB / 0.7244 GB, free: 88.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008709/0.8545, allocations: 1.883 MB / 0.7263 GB, free: 87.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.8547, allocations: 318.5 kB / 0.7266 GB, free: 87.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/0.8548, allocations: 62.28 kB / 0.7266 GB, free: 87.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.855, allocations: 496.7 kB / 0.7271 GB, free: 86.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008871/0.8559, allocations: 0.853 MB / 0.7279 GB, free: 86.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.8573, allocations: 2.702 MB / 0.7306 GB, free: 83.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.8588, allocations: 1.523 MB / 0.7321 GB, free: 83.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.156e-05/0.8588, allocations: 19.41 kB / 0.7321 GB, free: 83.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.003654/0.8624, allocations: 3.446 MB / 0.7354 GB, free: 81.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.8625, allocations: 32.25 kB / 0.7355 GB, free: 81.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-05/0.8626, allocations: 75.41 kB / 0.7355 GB, free: 81.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.26e-05/0.8626, allocations: 96.69 kB / 0.7356 GB, free: 81.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.8642, allocations: 0.6586 MB / 0.7363 GB, free: 81.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.416e-05/0.8642, allocations: 129.2 kB / 0.7364 GB, free: 81.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.8659, allocations: 409.5 kB / 0.7368 GB, free: 81.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.866, allocations: 189.5 kB / 0.737 GB, free: 81.55 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 359 * 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.001615/0.8677, allocations: 1.361 MB / 0.7383 GB, free: 80.92 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.8678, allocations: 166.3 kB / 0.7385 GB, free: 80.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.8681, allocations: 197.4 kB / 0.7386 GB, free: 80.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.8681, allocations: 14.83 kB / 0.7387 GB, free: 80.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.8681, allocations: 0 / 0.7387 GB, free: 80.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.8682, allocations: 7 kB / 0.7387 GB, free: 80.72 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005477/0.8736, allocations: 4.141 MB / 0.7427 GB, free: 79.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.8737, allocations: 8.531 kB / 0.7427 GB, free: 79.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.874, allocations: 97.55 kB / 0.7428 GB, free: 79.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.874, allocations: 14.92 kB / 0.7428 GB, free: 79.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.874, allocations: 17.88 kB / 0.7428 GB, free: 79.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.8741, allocations: 14.03 kB / 0.7429 GB, free: 79.03 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/0.8741, allocations: 11.56 kB / 0.7429 GB, free: 79.03 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.8752, allocations: 1.648 MB / 0.7445 GB, free: 77.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/0.8756, allocations: 265.5 kB / 0.7447 GB, free: 77.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.8757, allocations: 18.22 kB / 0.7447 GB, free: 77.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.8762, allocations: 29.84 kB / 0.7448 GB, free: 77.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.8762, allocations: 47.52 kB / 0.7448 GB, free: 77.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.8763, allocations: 37.19 kB / 0.7449 GB, free: 77.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001255/0.8775, allocations: 1.274 MB / 0.7461 GB, free: 77.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8776, allocations: 0 / 0.7461 GB, free: 77.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002118/0.8797, allocations: 0.7089 MB / 0.7468 GB, free: 76.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0002696/0.88, allocations: 153.7 kB / 0.7469 GB, free: 76.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.8821, allocations: 1.978 MB / 0.7489 GB, free: 76.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8821, allocations: 1.812 kB / 0.7489 GB, free: 76.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.8825, allocations: 460.4 kB / 0.7493 GB, free: 75.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008102/0.8833, allocations: 224.1 kB / 0.7495 GB, free: 75.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006674/0.89, allocations: 6.229 MB / 0.7556 GB, free: 72.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/0.8918, allocations: 2.375 MB / 0.7579 GB, free: 71.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002026/0.8938, allocations: 0.9615 MB / 0.7589 GB, free: 71.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.8941, allocations: 120.4 kB / 0.759 GB, free: 71.22 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/0.8941, allocations: 0 / 0.759 GB, free: 71.22 MB / 490.7 MB Notification: Performance of Templates: time 0.02397/0.9181, allocations: 13.81 MB / 0.7725 GB, free: 64.75 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches