Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.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.001759/0.001759, allocations: 95.31 kB / 20.43 MB, free: 4.137 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.002052/0.002052, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9125/0.9125, allocations: 158.6 MB / 185.7 MB, free: 2.906 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.1225/0.1225, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.195e-05, allocations: 12.22 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01135/0.01137, allocations: 17.28 MB / 365 MB, free: 8.082 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.02142, allocations: 5.354 MB / 370.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002283/0.0237, allocations: 151.3 kB / 370.5 MB, free: 2.559 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006727/0.03043, allocations: 6.577 MB / 377 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006263/0.03669, allocations: 3.386 MB / 380.4 MB, free: 8.559 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.03899, allocations: 1.797 MB / 382.2 MB, free: 6.758 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008601/0.04759, allocations: 9.632 MB / 391.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005492/0.05308, allocations: 7.006 MB / 398.9 MB, free: 6.008 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004822/0.0579, allocations: 5.005 MB / 403.9 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004497/0.0624, allocations: 5.004 MB / 408.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008246/0.06322, allocations: 0.6797 MB / 409.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.06523, allocations: 1.483 MB / 411 MB, free: 9.812 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00275/0.06798, allocations: 4.368 MB / 415.4 MB, free: 5.434 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002424/0.0704, allocations: 2.633 MB / 418 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009929/0.08033, allocations: 8.787 MB / 426.8 MB, free: 9.973 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.08034, allocations: 3.984 kB / 426.8 MB, free: 9.969 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.08034, allocations: 0 / 426.8 MB, free: 9.969 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004681/0.08081, allocations: 0 / 426.8 MB, free: 9.969 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.2783/0.3591, allocations: 10.45 MB / 437.3 MB, free: 60.38 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.3592, allocations: 9.188 kB / 437.3 MB, free: 60.38 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007506/0.3667, allocations: 3.725 MB / 441 MB, free: 59.8 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007199/0.3739, allocations: 4.494 MB / 445.5 MB, free: 59.29 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003539/0.3742, allocations: 473.7 kB / 446 MB, free: 59.27 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00158/0.3758, allocations: 0.6133 MB / 446.6 MB, free: 59.27 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02024/0.3961, allocations: 11.7 MB / 458.3 MB, free: 54.39 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000321/0.3964, allocations: 74.41 kB / 458.3 MB, free: 54.38 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006999/0.3971, allocations: 302.6 kB / 458.6 MB, free: 54.38 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002935/0.4, allocations: 3.636 MB / 462.3 MB, free: 52.64 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0158/0.4158, allocations: 6.059 MB / 468.3 MB, free: 47.65 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06692/0.4827, allocations: 80.41 MB / 0.5359 GB, free: 14.35 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009859/0.4926, allocations: 3.883 MB / 0.5397 GB, free: 10.43 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/0.4946, allocations: 0.939 MB / 0.5406 GB, free: 9.473 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0134/0.508, allocations: 6.973 MB / 0.5474 GB, free: 2.773 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.785e-05/0.5081, allocations: 68.8 kB / 0.5475 GB, free: 2.699 MB / 410.8 MB Notification: Performance of pre-optimization done (n=250): time 8.827e-06/0.5081, allocations: 0 / 0.5475 GB, free: 2.699 MB / 410.8 MB Notification: Performance of matching and sorting (n=274): time 0.03068/0.5388, allocations: 14.78 MB / 0.5619 GB, free: 4.094 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.523e-05/0.5389, allocations: 156.7 kB / 0.5621 GB, free: 3.914 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007808/0.5467, allocations: 5.915 MB / 0.5678 GB, free: 13.98 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006586/0.5474, allocations: 72.11 kB / 0.5679 GB, free: 13.91 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004271/0.5516, allocations: 6.207 MB / 0.574 GB, free: 7.742 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001386/0.553, allocations: 1.119 MB / 0.5751 GB, free: 6.637 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002211/0.5552, allocations: 2.042 MB / 0.577 GB, free: 4.586 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.5554, allocations: 484.7 kB / 0.5775 GB, free: 4.109 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.5571, allocations: 0.9516 MB / 0.5784 GB, free: 3.152 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006364/0.5634, allocations: 9.652 MB / 0.5879 GB, free: 5.594 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1874/0.7508, allocations: 11.74 MB / 0.5993 GB, free: 116.8 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002176/0.751, allocations: 60.88 kB / 0.5994 GB, free: 116.8 MB / 458.8 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.01662/0.7676, allocations: 8.017 MB / 0.6072 GB, free: 116.2 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.7678, allocations: 93.38 kB / 0.6073 GB, free: 116.2 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002475/0.768, allocations: 212.1 kB / 0.6075 GB, free: 116.2 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/0.7682, allocations: 276.5 kB / 0.6078 GB, free: 116.2 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005298/0.7735, allocations: 2.216 MB / 0.6099 GB, free: 116 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003243/0.7738, allocations: 410.9 kB / 0.6103 GB, free: 115.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005988/0.7798, allocations: 0.6976 MB / 0.611 GB, free: 115.9 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001397/0.7812, allocations: 0.5748 MB / 0.6116 GB, free: 115.9 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (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],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[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],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[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],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (1195): * Single equations (assignments): 1184 * Array equations: 11 * 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.003209/0.7844, allocations: 0.9578 MB / 0.6125 GB, free: 115.5 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/0.7856, allocations: 0.6302 MB / 0.6131 GB, free: 115.5 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.7879, allocations: 1.717 MB / 0.6148 GB, free: 115.4 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-05/0.7879, allocations: 29.31 kB / 0.6148 GB, free: 115.4 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.7879, allocations: 3.906 kB / 0.6148 GB, free: 115.4 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.788, allocations: 14.25 kB / 0.6148 GB, free: 115.4 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01993/0.8079, allocations: 13.62 MB / 0.6281 GB, free: 111.1 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.65e-05/0.808, allocations: 63.59 kB / 0.6282 GB, free: 111.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/0.8093, allocations: 0.603 MB / 0.6288 GB, free: 111.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.664e-05/0.8094, allocations: 91.44 kB / 0.6289 GB, free: 111 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/0.8096, allocations: 140.9 kB / 0.629 GB, free: 110.9 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.508e-05/0.8097, allocations: 122.5 kB / 0.6291 GB, free: 110.8 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.207e-05/0.8097, allocations: 99.56 kB / 0.6292 GB, free: 110.7 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004281/0.814, allocations: 5.594 MB / 0.6347 GB, free: 104.7 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001474/0.8155, allocations: 0.6854 MB / 0.6354 GB, free: 104.3 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000518/0.816, allocations: 150 kB / 0.6355 GB, free: 104.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/0.8177, allocations: 289.4 kB / 0.6358 GB, free: 104.1 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/0.818, allocations: 438.8 kB / 0.6362 GB, free: 103.8 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/0.8181, allocations: 177.2 kB / 0.6364 GB, free: 103.7 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003186/0.8213, allocations: 2.584 MB / 0.6389 GB, free: 102.1 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.8e-07/0.8213, allocations: 0 / 0.6389 GB, free: 102.1 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.008352/0.8297, allocations: 1.759 MB / 0.6406 GB, free: 100.5 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.00087/0.8305, allocations: 353.9 kB / 0.6409 GB, free: 100.3 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007224/0.8378, allocations: 4.323 MB / 0.6452 GB, free: 97.09 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 5.492e-05/0.8378, allocations: 8.375 kB / 0.6452 GB, free: 97.08 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001535/0.8394, allocations: 1.019 MB / 0.6462 GB, free: 96.32 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005573/0.8449, allocations: 0.8959 MB / 0.647 GB, free: 95.86 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02369/0.8686, allocations: 16.54 MB / 0.6632 GB, free: 79.3 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003485/0.8721, allocations: 2.453 MB / 0.6656 GB, free: 77.55 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.005493/0.8776, allocations: 2.496 MB / 0.668 GB, free: 75.96 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/0.8788, allocations: 408.4 kB / 0.6684 GB, free: 75.57 MB / 458.8 MB Notification: Performance of SimCode: time 2.384e-06/0.8788, allocations: 0 / 0.6684 GB, free: 75.57 MB / 458.8 MB Notification: Performance of Templates: time 0.07022/0.949, allocations: 39.28 MB / 0.7068 GB, free: 36.49 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.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: 5.131693101953715]