Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001847/0.001852, allocations: 118 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002299/0.002299, allocations: 207.4 kB / 21.4 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 251.6 MB, free: 15.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2511/0.2511, allocations: 46.17 MB / 351.1 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 85.59 kB / 490.2 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1412, allocations: 62.44 MB / 0.5397 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01148/0.1527, allocations: 9.525 MB / 0.549 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006935/0.1596, allocations: 2.921 MB / 0.5518 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.1614, allocations: 51.94 kB / 0.5519 GB, free: 7.715 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004299/0.1657, allocations: 1.998 MB / 0.5538 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003567/0.1694, allocations: 1.105 MB / 0.5549 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.1704, allocations: 291.4 kB / 0.5552 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003841/0.1743, allocations: 2.332 MB / 0.5575 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003373/0.1777, allocations: 2.309 MB / 0.5597 GB, free: 15.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/0.1792, allocations: 0.8761 MB / 0.5606 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/0.1812, allocations: 1.149 MB / 0.5617 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000602/0.1818, allocations: 199.9 kB / 0.5619 GB, free: 13.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.1834, allocations: 0.6943 MB / 0.5626 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.1848, allocations: 1.106 MB / 0.5636 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002252/0.1871, allocations: 1.305 MB / 0.5649 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005155/0.1922, allocations: 4.33 MB / 0.5692 GB, free: 5.938 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1923, allocations: 4 kB / 0.5692 GB, free: 5.934 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1923, allocations: 0 / 0.5692 GB, free: 5.934 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.399e-05/0.1923, allocations: 0 / 0.5692 GB, free: 5.934 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.004765/0.1971, allocations: 2.934 MB / 0.572 GB, free: 2.938 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.593e-05/0.1972, allocations: 12.03 kB / 0.572 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005158/0.2024, allocations: 1.578 MB / 0.5736 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002665/0.205, allocations: 1.336 MB / 0.5749 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.2052, allocations: 144 kB / 0.575 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003587/0.2056, allocations: 191.8 kB / 0.5752 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009902/0.2155, allocations: 6.258 MB / 0.5813 GB, free: 9.105 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.92e-05/0.2155, allocations: 11.88 kB / 0.5813 GB, free: 9.094 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002399/0.2158, allocations: 87.91 kB / 0.5814 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002037/0.2178, allocations: 1.344 MB / 0.5827 GB, free: 7.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009905/0.2278, allocations: 5.338 MB / 0.5879 GB, free: 2.301 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2917/0.5195, allocations: 20.05 MB / 0.6075 GB, free: 47.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00395/0.5235, allocations: 1.998 MB / 0.6095 GB, free: 46.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000973/0.5245, allocations: 0.6971 MB / 0.6101 GB, free: 46.94 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005968/0.5305, allocations: 3.622 MB / 0.6137 GB, free: 45.94 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.5305, allocations: 40.09 kB / 0.6137 GB, free: 45.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.815e-06/0.5305, allocations: 0.9375 kB / 0.6137 GB, free: 45.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005667/0.5362, allocations: 1.992 MB / 0.6157 GB, free: 45.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.5363, allocations: 57.41 kB / 0.6157 GB, free: 45.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/0.5393, allocations: 1.942 MB / 0.6176 GB, free: 44.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/0.5393, allocations: 35.05 kB / 0.6176 GB, free: 44.65 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000976/0.5403, allocations: 1.906 MB / 0.6195 GB, free: 43.44 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.5406, allocations: 330.2 kB / 0.6198 GB, free: 43.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000696/0.5413, allocations: 0.6288 MB / 0.6204 GB, free: 42.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.401e-05/0.5414, allocations: 354.9 kB / 0.6208 GB, free: 42.58 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.5427, allocations: 0.8874 MB / 0.6216 GB, free: 42.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.5446, allocations: 2.753 MB / 0.6243 GB, free: 39.56 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003325/0.548, allocations: 3.975 MB / 0.6282 GB, free: 36.17 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.882e-05/0.548, allocations: 18.53 kB / 0.6282 GB, free: 36.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004697/0.5527, allocations: 3.528 MB / 0.6317 GB, free: 34.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.517e-05/0.5528, allocations: 33 kB / 0.6317 GB, free: 34.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.964e-05/0.5529, allocations: 66 kB / 0.6318 GB, free: 34.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.182e-05/0.553, allocations: 87.41 kB / 0.6319 GB, free: 34.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.5546, allocations: 0.6548 MB / 0.6325 GB, free: 34.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-05/0.5547, allocations: 138.3 kB / 0.6326 GB, free: 34.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.5565, allocations: 431.5 kB / 0.633 GB, free: 34.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.5567, allocations: 185.7 kB / 0.6332 GB, free: 34.41 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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): 357 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001443/0.5581, allocations: 1.347 MB / 0.6345 GB, free: 33.78 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.5583, allocations: 170 kB / 0.6347 GB, free: 33.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.5586, allocations: 195.5 kB / 0.6349 GB, free: 33.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/0.5586, allocations: 14.38 kB / 0.6349 GB, free: 33.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.5586, allocations: 1.438 kB / 0.6349 GB, free: 33.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5586, allocations: 0 / 0.6349 GB, free: 33.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004724/0.5633, allocations: 4.026 MB / 0.6388 GB, free: 31.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.5634, allocations: 7.656 kB / 0.6388 GB, free: 31.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/0.5637, allocations: 101.8 kB / 0.6389 GB, free: 31.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.5637, allocations: 9.969 kB / 0.6389 GB, free: 31.89 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.5638, allocations: 18.03 kB / 0.639 GB, free: 31.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.5638, allocations: 20.64 kB / 0.639 GB, free: 31.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.5638, allocations: 14.5 kB / 0.639 GB, free: 31.87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009561/0.5648, allocations: 1.272 MB / 0.6402 GB, free: 31.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.565, allocations: 257.7 kB / 0.6405 GB, free: 30.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.5652, allocations: 15.28 kB / 0.6405 GB, free: 30.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.5656, allocations: 30.48 kB / 0.6405 GB, free: 30.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-05/0.5657, allocations: 60.56 kB / 0.6406 GB, free: 30.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.5657, allocations: 35.5 kB / 0.6406 GB, free: 30.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001199/0.5669, allocations: 1.264 MB / 0.6418 GB, free: 30.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5669, allocations: 0 / 0.6418 GB, free: 30.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002048/0.569, allocations: 0.6957 MB / 0.6425 GB, free: 30.23 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002502/0.5693, allocations: 135.8 kB / 0.6427 GB, free: 30.11 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002092/0.5714, allocations: 2.048 MB / 0.6447 GB, free: 28.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5714, allocations: 4.125 kB / 0.6447 GB, free: 28.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.5718, allocations: 462.2 kB / 0.6451 GB, free: 28.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009938/0.5728, allocations: 238.8 kB / 0.6453 GB, free: 27.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005326/0.5781, allocations: 5.119 MB / 0.6503 GB, free: 22.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/0.5796, allocations: 2.27 MB / 0.6525 GB, free: 20.42 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001526/0.5811, allocations: 0.9631 MB / 0.6535 GB, free: 19.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.5813, allocations: 119.4 kB / 0.6536 GB, free: 19.34 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5814, allocations: 0 / 0.6536 GB, free: 19.34 MB / 462.1 MB Notification: Performance of Templates: time 0.02336/0.6047, allocations: 15.01 MB / 0.6683 GB, free: 4.387 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.70104665774852]