Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.000985/0.000985, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001118/0.001118, allocations: 165.5 kB / 25.61 MB, free: 8.586 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.038/1.038, allocations: 177.2 MB / 206.1 MB, free: 4.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1603/0.1603, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.534e-05, allocations: 2.312 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01195/0.01196, allocations: 8.996 MB / 388.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004222/0.01618, allocations: 2.844 MB / 391.1 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006563/0.01684, allocations: 55.81 kB / 391.2 MB, free: 11.47 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001801/0.01864, allocations: 2.111 MB / 393.3 MB, free: 9.355 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.02, allocations: 1.178 MB / 394.5 MB, free: 8.172 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.02039, allocations: 323.2 kB / 394.8 MB, free: 7.855 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.02193, allocations: 2.367 MB / 397.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.02295, allocations: 1.789 MB / 398.9 MB, free: 3.648 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007087/0.02365, allocations: 1.298 MB / 400.2 MB, free: 2.348 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007767/0.02443, allocations: 1.181 MB / 401.4 MB, free: 1.164 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.02458, allocations: 192 kB / 401.6 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006053/0.02518, allocations: 0.6435 MB / 402.2 MB, free: 340 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006351/0.02582, allocations: 1.184 MB / 403.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005109/0.02633, allocations: 0.7202 MB / 404.2 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00213/0.02846, allocations: 2.724 MB / 406.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.02846, allocations: 4 kB / 406.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.02846, allocations: 0 / 406.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.334e-05/0.02849, allocations: 0 / 406.9 MB, free: 11.68 MB / 330.7 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.003018/0.03151, allocations: 3.11 MB / 410 MB, free: 8.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.03155, allocations: 8.031 kB / 410 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.03361, allocations: 0.9901 MB / 411 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.03472, allocations: 1.134 MB / 412.1 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.361e-05/0.03479, allocations: 148 kB / 412.3 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.03499, allocations: 184.3 kB / 412.4 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/0.03823, allocations: 3.031 MB / 415.5 MB, free: 2.629 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.03826, allocations: 11.88 kB / 415.5 MB, free: 2.617 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.03841, allocations: 95.89 kB / 415.6 MB, free: 2.523 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009922/0.0394, allocations: 1.196 MB / 416.8 MB, free: 1.324 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/0.04154, allocations: 1.444 MB / 418.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01327/0.0548, allocations: 20.46 MB / 438.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.05648, allocations: 0.8332 MB / 439.5 MB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.05672, allocations: 195.6 kB / 439.7 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00302/0.05974, allocations: 2.49 MB / 442.2 MB, free: 7.141 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.05977, allocations: 41.89 kB / 442.2 MB, free: 7.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.395e-06/0.05977, allocations: 0 / 442.2 MB, free: 7.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002456/0.06223, allocations: 1.233 MB / 443.5 MB, free: 5.848 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.06226, allocations: 59.84 kB / 443.5 MB, free: 5.777 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.06347, allocations: 1.794 MB / 445.3 MB, free: 3.961 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.0635, allocations: 33.7 kB / 445.4 MB, free: 3.922 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008458/0.06435, allocations: 2.031 MB / 447.4 MB, free: 1.867 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.06452, allocations: 341.5 kB / 447.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000497/0.06502, allocations: 0.6809 MB / 448.4 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.06515, allocations: 0.5315 MB / 448.9 MB, free: 304 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.0654, allocations: 229.7 kB / 449.2 MB, free: 72 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.06706, allocations: 3.009 MB / 452.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002257/0.06932, allocations: 3.61 MB / 455.8 MB, free: 6.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.016e-05/0.06934, allocations: 20 kB / 455.8 MB, free: 6.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002145/0.07148, allocations: 2.341 MB / 458.1 MB, free: 4.539 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.07151, allocations: 32 kB / 458.2 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.065e-05/0.07155, allocations: 68 kB / 458.2 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.867e-05/0.0716, allocations: 84 kB / 458.3 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009524/0.07256, allocations: 0.6355 MB / 459 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.909e-05/0.07261, allocations: 131.5 kB / 459.1 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009011/0.07352, allocations: 405.1 kB / 459.5 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.07366, allocations: 164 kB / 459.6 MB, free: 3.035 MB / 378.7 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.0005637/0.07422, allocations: 409.5 kB / 460 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.07435, allocations: 174.9 kB / 460.2 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.07451, allocations: 156 kB / 460.4 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.07452, allocations: 11.98 kB / 460.4 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.07452, allocations: 0 / 460.4 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.07453, allocations: 4 kB / 460.4 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003118/0.07765, allocations: 2.807 MB / 463.2 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.07766, allocations: 11.94 kB / 463.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.07784, allocations: 91.84 kB / 463.3 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.07785, allocations: 8 kB / 463.3 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.07788, allocations: 20 kB / 463.3 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.906e-06/0.07789, allocations: 15.92 kB / 463.3 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.07789, allocations: 11.94 kB / 463.3 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006093/0.0785, allocations: 0.8783 MB / 464.2 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.07863, allocations: 150.8 kB / 464.4 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.752e-05/0.0787, allocations: 12 kB / 464.4 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.07891, allocations: 16 kB / 464.4 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.07897, allocations: 67.67 kB / 464.5 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.079, allocations: 24 kB / 464.5 MB, free: 13.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005383/0.07954, allocations: 0.731 MB / 465.2 MB, free: 13.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.07954, allocations: 0 / 465.2 MB, free: 13.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001578/0.08112, allocations: 0.7122 MB / 465.9 MB, free: 12.42 MB / 394.7 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.00024/0.08136, allocations: 147 kB / 466.1 MB, free: 12.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.08251, allocations: 1.188 MB / 467.3 MB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.08251, allocations: 0 / 467.3 MB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.0827, allocations: 198.7 kB / 467.5 MB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006206/0.08332, allocations: 192.7 kB / 467.6 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004395/0.08772, allocations: 4.395 MB / 472 MB, free: 6.137 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005954/0.08831, allocations: 0.7619 MB / 472.8 MB, free: 5.352 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005169/0.08883, allocations: 246.6 kB / 473 MB, free: 5.105 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/0.08913, allocations: 298.1 kB / 473.3 MB, free: 4.812 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.08913, allocations: 0 / 473.3 MB, free: 4.812 MB / 394.7 MB Notification: Performance of Templates: time 0.02257/0.1117, allocations: 12.66 MB / 486 MB, free: 8.34 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.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.9070886042900383]