Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001064/0.001064, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009915/0.0009915, allocations: 170 kB / 25.61 MB, free: 8.582 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 0.9832/0.9832, allocations: 177.1 MB / 206 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.1458/0.1458, allocations: 34.26 MB / 296.8 MB, free: 13.91 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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.658e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.006086/0.006113, allocations: 8.99 MB / 388.3 MB, free: 14.37 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003921/0.01003, allocations: 2.844 MB / 391.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006019/0.01064, allocations: 55.81 kB / 391.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.01241, allocations: 2.111 MB / 393.3 MB, free: 9.344 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.01389, allocations: 1.174 MB / 394.4 MB, free: 8.164 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.01429, allocations: 319.2 kB / 394.8 MB, free: 7.852 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001527/0.01581, allocations: 2.374 MB / 397.1 MB, free: 5.473 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.017, allocations: 1.797 MB / 398.9 MB, free: 3.629 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000984/0.01798, allocations: 1.298 MB / 400.2 MB, free: 2.328 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.01908, allocations: 1.173 MB / 401.4 MB, free: 1.152 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.01928, allocations: 192 kB / 401.6 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008221/0.0201, allocations: 0.6435 MB / 402.2 MB, free: 328 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000824/0.02093, allocations: 1.188 MB / 403.4 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006481/0.02158, allocations: 0.7202 MB / 404.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002698/0.02427, allocations: 2.72 MB / 406.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.02428, allocations: 3.984 kB / 406.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.02428, allocations: 4 kB / 406.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.958e-05/0.02432, allocations: 4 kB / 406.9 MB, free: 11.66 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.003669/0.02799, allocations: 3.11 MB / 410 MB, free: 8.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.02805, allocations: 8.031 kB / 410 MB, free: 8.492 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/0.03031, allocations: 0.9823 MB / 411 MB, free: 7.508 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.03176, allocations: 1.138 MB / 412.1 MB, free: 6.336 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.03187, allocations: 144 kB / 412.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002298/0.0321, allocations: 192.2 kB / 412.4 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003625/0.03572, allocations: 3.031 MB / 415.5 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/0.03577, allocations: 11.88 kB / 415.5 MB, free: 2.598 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/0.03593, allocations: 87.91 kB / 415.6 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00122/0.03715, allocations: 1.192 MB / 416.8 MB, free: 1.316 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/0.03966, allocations: 1.452 MB / 418.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01704/0.0567, allocations: 20.47 MB / 438.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.05837, allocations: 0.8332 MB / 439.5 MB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.0586, allocations: 197.8 kB / 439.7 MB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002943/0.06154, allocations: 2.478 MB / 442.2 MB, free: 7.129 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.06157, allocations: 45.83 kB / 442.2 MB, free: 7.074 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.225e-06/0.06157, allocations: 0 / 442.2 MB, free: 7.074 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002504/0.06408, allocations: 1.233 MB / 443.5 MB, free: 5.832 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.06411, allocations: 55.91 kB / 443.5 MB, free: 5.766 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.06539, allocations: 1.794 MB / 445.3 MB, free: 3.949 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.06542, allocations: 33.7 kB / 445.3 MB, free: 3.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009093/0.06633, allocations: 2.019 MB / 447.4 MB, free: 1.867 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.06652, allocations: 349.5 kB / 447.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000531/0.06705, allocations: 0.6848 MB / 448.4 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.06721, allocations: 0.5276 MB / 448.9 MB, free: 296 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.06747, allocations: 233.7 kB / 449.1 MB, free: 60 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.06901, allocations: 3.008 MB / 452.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002247/0.07126, allocations: 3.617 MB / 455.8 MB, free: 6.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.991e-05/0.07128, allocations: 20 kB / 455.8 MB, free: 6.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00218/0.07346, allocations: 2.336 MB / 458.1 MB, free: 4.527 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/0.07349, allocations: 32 kB / 458.2 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.332e-05/0.07354, allocations: 68 kB / 458.2 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.398e-05/0.07359, allocations: 84 kB / 458.3 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009781/0.07457, allocations: 0.6433 MB / 459 MB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.154e-05/0.07466, allocations: 127.5 kB / 459.1 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.07598, allocations: 401.5 kB / 459.5 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.07616, allocations: 172 kB / 459.6 MB, free: 3.016 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.0005959/0.07676, allocations: 409.5 kB / 460 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.07694, allocations: 174.9 kB / 460.2 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.07714, allocations: 156 kB / 460.4 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.07715, allocations: 8 kB / 460.4 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.07716, allocations: 4 kB / 460.4 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.07717, allocations: 3.984 kB / 460.4 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/0.08075, allocations: 2.811 MB / 463.2 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.08076, allocations: 8 kB / 463.2 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.08102, allocations: 91.84 kB / 463.3 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.08103, allocations: 8 kB / 463.3 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.08106, allocations: 23.98 kB / 463.3 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.08107, allocations: 8.625 kB / 463.3 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/0.08108, allocations: 23.81 kB / 463.3 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/0.08184, allocations: 0.8663 MB / 464.2 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.08198, allocations: 142.8 kB / 464.4 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.08209, allocations: 19.98 kB / 464.4 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.08239, allocations: 19.98 kB / 464.4 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.08247, allocations: 59.75 kB / 464.4 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.08251, allocations: 31.98 kB / 464.5 MB, free: 13.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006963/0.08321, allocations: 0.7233 MB / 465.2 MB, free: 13.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.08321, allocations: 0 / 465.2 MB, free: 13.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001841/0.08505, allocations: 0.7084 MB / 465.9 MB, free: 12.41 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.0002318/0.08528, allocations: 150.9 kB / 466.1 MB, free: 12.26 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.08675, allocations: 1.192 MB / 467.3 MB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.08675, allocations: 0 / 467.3 MB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.08699, allocations: 197.7 kB / 467.4 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008204/0.08781, allocations: 200.4 kB / 467.6 MB, free: 10.69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005209/0.09302, allocations: 4.394 MB / 472 MB, free: 6.117 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007523/0.09377, allocations: 0.758 MB / 472.8 MB, free: 5.336 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009067/0.09468, allocations: 250.6 kB / 473 MB, free: 5.086 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/0.09505, allocations: 298.1 kB / 473.3 MB, free: 4.793 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.09505, allocations: 0 / 473.3 MB, free: 4.793 MB / 394.7 MB Notification: Performance of Templates: time 0.02599/0.121, allocations: 12.66 MB / 486 MB, free: 8.32 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.8529815580695868]