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.002758/0.002758, allocations: 91.66 kB / 20.21 MB, free: 4.207 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.003272/0.003272, allocations: 165.2 kB / 23.52 MB, free: 0.8984 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 1.37/1.37, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.203/0.203, allocations: 32.38 MB / 270 MB, free: 14.77 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.3.|cutTorque.torque.2.|cutTorque.torque.1.",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.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.74e-05, allocations: 6.312 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.009581/0.009609, allocations: 10.58 MB / 357.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007748/0.01736, allocations: 2.995 MB / 360.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.01876, allocations: 63.81 kB / 360.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004663/0.02342, allocations: 2.149 MB / 362.7 MB, free: 9.957 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00341/0.02683, allocations: 1.287 MB / 364 MB, free: 8.664 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008397/0.02767, allocations: 323.2 kB / 364.3 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004192/0.03187, allocations: 2.542 MB / 366.9 MB, free: 5.801 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002744/0.03461, allocations: 1.91 MB / 368.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.03692, allocations: 1.43 MB / 370.2 MB, free: 2.414 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002555/0.03947, allocations: 1.317 MB / 371.5 MB, free: 1.094 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007528/0.04023, allocations: 220 kB / 371.7 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.04192, allocations: 0.6553 MB / 372.4 MB, free: 228 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002051/0.04397, allocations: 1.336 MB / 373.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.0454, allocations: 0.8176 MB / 374.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007994/0.05339, allocations: 4.824 MB / 379.4 MB, free: 9.219 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.0534, allocations: 0 / 379.4 MB, free: 9.219 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.0534, allocations: 4 kB / 379.4 MB, free: 9.215 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001957/0.05359, allocations: 0 / 379.4 MB, free: 9.215 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.009439/0.06303, allocations: 3.737 MB / 383.1 MB, free: 5.422 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.06308, allocations: 8.031 kB / 383.1 MB, free: 5.414 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006683/0.06977, allocations: 1.98 MB / 385.1 MB, free: 3.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003781/0.07355, allocations: 1.312 MB / 386.4 MB, free: 2.082 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.07372, allocations: 160.4 kB / 386.6 MB, free: 1.922 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000427/0.07414, allocations: 204.3 kB / 386.8 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009033/0.08318, allocations: 3.974 MB / 390.7 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-05/0.08324, allocations: 15.88 kB / 390.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002899/0.08353, allocations: 95.88 kB / 390.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002786/0.08631, allocations: 1.524 MB / 392.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008412/0.09472, allocations: 2.304 MB / 394.7 MB, free: 9.352 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04366/0.1384, allocations: 27.1 MB / 421.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004207/0.1426, allocations: 1.031 MB / 422.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008098/0.1434, allocations: 311.7 kB / 423.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008022/0.1514, allocations: 2.946 MB / 426.1 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.1515, allocations: 49.98 kB / 426.1 MB, free: 8.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=96): time 3.566e-06/0.1515, allocations: 0 / 426.1 MB, free: 8.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=96): time 0.005379/0.1569, allocations: 1.48 MB / 427.6 MB, free: 7.355 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.1569, allocations: 60.06 kB / 427.7 MB, free: 7.285 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005349/0.1623, allocations: 2.375 MB / 430 MB, free: 4.895 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.1625, allocations: 37.69 kB / 430.1 MB, free: 4.852 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002589/0.1651, allocations: 2.308 MB / 432.4 MB, free: 2.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006743/0.1658, allocations: 429 kB / 432.8 MB, free: 2.098 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001431/0.1672, allocations: 0.8622 MB / 433.7 MB, free: 1.223 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004047/0.1676, allocations: 0.5394 MB / 434.2 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009571/0.1686, allocations: 370.3 kB / 434.6 MB, free: 320 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004861/0.1734, allocations: 3.436 MB / 438 MB, free: 11.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006785/0.1802, allocations: 4.164 MB / 442.2 MB, free: 6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.106e-05/0.1803, allocations: 20 kB / 442.2 MB, free: 5.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006628/0.1869, allocations: 2.813 MB / 445 MB, free: 3.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.156e-05/0.187, allocations: 36 kB / 445 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.221e-05/0.1871, allocations: 72 kB / 445.1 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000129/0.1872, allocations: 92 kB / 445.2 MB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/0.1896, allocations: 0.7252 MB / 445.9 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001506/0.1897, allocations: 143.4 kB / 446 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/0.192, allocations: 453.1 kB / 446.5 MB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003112/0.1923, allocations: 200 kB / 446.7 MB, free: 1.453 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.001422/0.1937, allocations: 497.3 kB / 447.2 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003608/0.1941, allocations: 194.8 kB / 447.4 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.1957, allocations: 0.6537 MB / 448 MB, free: 100 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.1958, allocations: 8 kB / 448 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.1958, allocations: 8 kB / 448 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.1958, allocations: 3.984 kB / 448 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1795/0.3752, allocations: 4.412 MB / 452.4 MB, free: 98.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.3752, allocations: 14.55 kB / 452.5 MB, free: 98.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006105/0.3759, allocations: 145.3 kB / 452.6 MB, free: 98.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.862e-05/0.3759, allocations: 14.78 kB / 452.6 MB, free: 98.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.537e-05/0.3759, allocations: 26.81 kB / 452.6 MB, free: 98.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.219e-05/0.376, allocations: 18.98 kB / 452.7 MB, free: 98.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.361e-05/0.376, allocations: 15.47 kB / 452.7 MB, free: 98.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.3777, allocations: 1.253 MB / 453.9 MB, free: 98.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003626/0.3781, allocations: 173.4 kB / 454.1 MB, free: 98.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.3782, allocations: 28.36 kB / 454.1 MB, free: 98.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000533/0.3788, allocations: 37.42 kB / 454.2 MB, free: 98.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.3789, allocations: 84.02 kB / 454.2 MB, free: 98.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.009e-05/0.379, allocations: 40.61 kB / 454.3 MB, free: 98.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001396/0.3804, allocations: 0.9781 MB / 455.3 MB, free: 97.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3804, allocations: 0 / 455.3 MB, free: 97.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002816/0.3832, allocations: 0.8009 MB / 456.1 MB, free: 97.78 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.0003263/0.3835, allocations: 158.1 kB / 456.2 MB, free: 97.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002731/0.3862, allocations: 1.598 MB / 457.8 MB, free: 97.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/0.3863, allocations: 3.969 kB / 457.8 MB, free: 97.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004985/0.3868, allocations: 320.6 kB / 458.1 MB, free: 97.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.3879, allocations: 207.8 kB / 458.3 MB, free: 96.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007436/0.3953, allocations: 5.129 MB / 463.5 MB, free: 94.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/0.3971, allocations: 1.687 MB / 465.1 MB, free: 93.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001928/0.399, allocations: 0.8802 MB / 466 MB, free: 93.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.3993, allocations: 135.6 kB / 466.2 MB, free: 93.24 MB / 378.7 MB Notification: Performance of SimCode: time 1.823e-06/0.3993, allocations: 0 / 466.2 MB, free: 93.24 MB / 378.7 MB Notification: Performance of Templates: time 0.02344/0.4227, allocations: 12.74 MB / 478.9 MB, free: 80.93 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.706030483939685]