Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 81.95 kB / 21.44 MB, free: 3.051 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 164 kB / 24.84 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9411/0.9411, allocations: 158.6 MB / 186.7 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1483/0.1483, allocations: 32.39 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 348.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.578e-05, allocations: 9.344 kB / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.007161/0.007187, allocations: 10.37 MB / 359.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005623/0.01281, allocations: 2.971 MB / 362.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.01421, allocations: 63.81 kB / 362.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002364/0.01658, allocations: 2.138 MB / 364.5 MB, free: 9.559 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002525/0.0191, allocations: 1.279 MB / 365.7 MB, free: 8.273 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.01968, allocations: 331.1 kB / 366.1 MB, free: 7.949 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003273/0.02295, allocations: 2.542 MB / 368.6 MB, free: 5.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002216/0.02517, allocations: 1.914 MB / 370.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.02719, allocations: 1.434 MB / 371.9 MB, free: 2.004 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.02944, allocations: 1.325 MB / 373.3 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006156/0.03006, allocations: 220 kB / 373.5 MB, free: 472 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.03114, allocations: 0.6591 MB / 374.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009954/0.03214, allocations: 1.332 MB / 375.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000885/0.03302, allocations: 0.8136 MB / 376.3 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003109/0.03613, allocations: 3.039 MB / 379.3 MB, free: 10.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.03614, allocations: 3.938 kB / 379.3 MB, free: 10.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.03614, allocations: 0 / 379.3 MB, free: 10.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.61e-05/0.0362, allocations: 0 / 379.3 MB, free: 10.59 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.003762/0.03997, allocations: 3.405 MB / 382.7 MB, free: 7.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.04002, allocations: 8.031 kB / 382.7 MB, free: 7.125 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00245/0.04247, allocations: 1.076 MB / 383.8 MB, free: 6.047 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.04414, allocations: 1.239 MB / 385.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.843e-05/0.04424, allocations: 156.4 kB / 385.2 MB, free: 4.609 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/0.04447, allocations: 204.3 kB / 385.4 MB, free: 4.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004335/0.0488, allocations: 3.345 MB / 388.8 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.225e-05/0.04884, allocations: 15.88 kB / 388.8 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.04901, allocations: 91.89 kB / 388.9 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001532/0.05054, allocations: 1.369 MB / 390.2 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003346/0.05389, allocations: 1.622 MB / 391.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01967/0.07356, allocations: 22.45 MB / 414.3 MB, free: 6.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.07564, allocations: 0.9265 MB / 415.2 MB, free: 5.391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.07593, allocations: 242 kB / 415.5 MB, free: 5.148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003834/0.07976, allocations: 2.679 MB / 418.1 MB, free: 2.441 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.07979, allocations: 45.98 kB / 418.2 MB, free: 2.387 MB / 346.7 MB Notification: Performance of pre-optimization done (n=96): time 3.486e-06/0.0798, allocations: 0 / 418.2 MB, free: 2.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=96): time 0.002784/0.08258, allocations: 1.355 MB / 419.5 MB, free: 1.027 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.08263, allocations: 64 kB / 419.6 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.08435, allocations: 1.882 MB / 421.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.0844, allocations: 45.69 kB / 421.5 MB, free: 15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.08564, allocations: 2.206 MB / 423.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/0.08591, allocations: 405 kB / 424.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006463/0.08655, allocations: 0.7409 MB / 424.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004593/0.08701, allocations: 0.5276 MB / 425.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.08734, allocations: 262.3 kB / 425.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.08898, allocations: 3.233 MB / 428.9 MB, free: 6.234 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003009/0.09199, allocations: 3.91 MB / 432.8 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-05/0.09203, allocations: 24 kB / 432.8 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.003296/0.09533, allocations: 2.555 MB / 435.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.09538, allocations: 39.94 kB / 435.4 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-05/0.09544, allocations: 72.88 kB / 435.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.436e-05/0.09551, allocations: 92 kB / 435.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.09679, allocations: 0.7135 MB / 436.3 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.177e-05/0.09686, allocations: 139.4 kB / 436.4 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.09834, allocations: 440.7 kB / 436.9 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000481/0.09882, allocations: 176 kB / 437 MB, free: 12.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (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 (401): * Single equations (assignments): 396 * 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.0008474/0.09967, allocations: 433.4 kB / 437.5 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.09986, allocations: 202.8 kB / 437.7 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006707/0.1005, allocations: 0.5639 MB / 438.2 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.1006, allocations: 8 kB / 438.2 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1006, allocations: 0 / 438.2 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1006, allocations: 7.984 kB / 438.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003926/0.1045, allocations: 3.317 MB / 441.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.1045, allocations: 12.94 kB / 441.6 MB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.1048, allocations: 123.8 kB / 441.7 MB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.1048, allocations: 19.88 kB / 441.7 MB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.1048, allocations: 43.97 kB / 441.7 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-05/0.1048, allocations: 19.94 kB / 441.8 MB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.1049, allocations: 11.94 kB / 441.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009025/0.1058, allocations: 1.122 MB / 442.9 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.106, allocations: 178.5 kB / 443.1 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.1061, allocations: 27.98 kB / 443.1 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.1064, allocations: 27.98 kB / 443.1 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/0.1065, allocations: 79.59 kB / 443.2 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.862e-05/0.1065, allocations: 39.98 kB / 443.2 MB, free: 6.059 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009107/0.1075, allocations: 0.7607 MB / 444 MB, free: 5.305 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1075, allocations: 0 / 444 MB, free: 5.305 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002114/0.1096, allocations: 0.8096 MB / 444.8 MB, free: 4.492 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0002636/0.1098, allocations: 150.9 kB / 445 MB, free: 4.332 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.1114, allocations: 1.321 MB / 446.3 MB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.1114, allocations: 4 kB / 446.3 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.1116, allocations: 247.7 kB / 446.5 MB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007174/0.1123, allocations: 221.3 kB / 446.7 MB, free: 2.566 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1403/0.2526, allocations: 5.024 MB / 451.8 MB, free: 99.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.2537, allocations: 0.8495 MB / 452.6 MB, free: 99.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008528/0.2545, allocations: 269.5 kB / 452.9 MB, free: 99.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.2549, allocations: 325.1 kB / 453.2 MB, free: 99.44 MB / 378.7 MB Notification: Performance of SimCode: time 2.425e-06/0.2549, allocations: 0 / 453.2 MB, free: 99.44 MB / 378.7 MB Notification: Performance of Templates: time 0.02551/0.2804, allocations: 14.05 MB / 467.2 MB, free: 91.91 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6731087919324636]