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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 105.2 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 191.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2261/0.2261, allocations: 43.53 MB / 313.9 MB, free: 0.5156 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 70.14 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1639, allocations: 57.79 MB / 440.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01041/0.1743, allocations: 11.03 MB / 451.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007368/0.1817, allocations: 3.057 MB / 454.6 MB, free: 8.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.1838, allocations: 51.94 kB / 454.7 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00385/0.1877, allocations: 2.005 MB / 456.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003352/0.1911, allocations: 1.214 MB / 457.9 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008383/0.1919, allocations: 287.4 kB / 458.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003535/0.1955, allocations: 2.489 MB / 460.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002746/0.1982, allocations: 2.41 MB / 463.1 MB, free: 228 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.1997, allocations: 0.9695 MB / 464 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.2013, allocations: 1.3 MB / 465.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003916/0.2017, allocations: 220 kB / 465.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.203, allocations: 0.706 MB / 466.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.2041, allocations: 1.227 MB / 467.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.2056, allocations: 1.479 MB / 469 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004884/0.2105, allocations: 4.657 MB / 473.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2105, allocations: 0 / 473.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.2105, allocations: 0 / 473.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000141/0.2107, allocations: 3.984 kB / 473.6 MB, free: 5.629 MB / 350.1 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.006383/0.2171, allocations: 3.136 MB / 476.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.2172, allocations: 16.03 kB / 476.8 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005465/0.2226, allocations: 1.615 MB / 478.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003406/0.2261, allocations: 1.414 MB / 479.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.2263, allocations: 164.4 kB / 480 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004094/0.2267, allocations: 207.8 kB / 480.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/0.2384, allocations: 6.973 MB / 487.1 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.925e-05/0.2385, allocations: 15.88 kB / 487.1 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003003/0.2388, allocations: 91.89 kB / 487.2 MB, free: 7.551 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002349/0.2411, allocations: 1.528 MB / 488.8 MB, free: 6.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01205/0.2532, allocations: 5.951 MB / 494.7 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03184/0.2851, allocations: 22.25 MB / 0.5048 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004632/0.2897, allocations: 2.2 MB / 0.507 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/0.2909, allocations: 0.8069 MB / 0.5078 GB, free: 6.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007323/0.2983, allocations: 3.957 MB / 0.5116 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.2983, allocations: 39.22 kB / 0.5117 GB, free: 1.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.377e-06/0.2983, allocations: 0 / 0.5117 GB, free: 1.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=96): time 0.005917/0.3043, allocations: 2.26 MB / 0.5139 GB, free: 15.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.3043, allocations: 60.06 kB / 0.514 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00412/0.3085, allocations: 2.06 MB / 0.516 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.3085, allocations: 37.64 kB / 0.516 GB, free: 13.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001849/0.3104, allocations: 2.011 MB / 0.518 GB, free: 11.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004322/0.3108, allocations: 375.2 kB / 0.5183 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/0.312, allocations: 0.6746 MB / 0.519 GB, free: 10.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.3122, allocations: 361.9 kB / 0.5193 GB, free: 9.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.3138, allocations: 0.9941 MB / 0.5203 GB, free: 8.984 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003169/0.3169, allocations: 2.996 MB / 0.5232 GB, free: 4.992 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2254/0.5423, allocations: 4.357 MB / 0.5275 GB, free: 85.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.857e-05/0.5424, allocations: 20.47 kB / 0.5275 GB, free: 85.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006623/0.5491, allocations: 3.883 MB / 0.5313 GB, free: 84.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.727e-05/0.5491, allocations: 36.03 kB / 0.5313 GB, free: 84.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-05/0.5492, allocations: 74.69 kB / 0.5314 GB, free: 84.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.292e-05/0.5493, allocations: 94.41 kB / 0.5315 GB, free: 84.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/0.5512, allocations: 0.7245 MB / 0.5322 GB, free: 84.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001159/0.5513, allocations: 140.5 kB / 0.5323 GB, free: 84.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/0.5533, allocations: 450.5 kB / 0.5328 GB, free: 84.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002491/0.5536, allocations: 202.8 kB / 0.5329 GB, free: 84.68 MB / 414.1 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.001975/0.5556, allocations: 1.47 MB / 0.5344 GB, free: 84.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/0.5559, allocations: 174.5 kB / 0.5345 GB, free: 84.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/0.5578, allocations: 1.249 MB / 0.5358 GB, free: 84.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.5578, allocations: 12.5 kB / 0.5358 GB, free: 84.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5578, allocations: 4.203 kB / 0.5358 GB, free: 84.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.5578, allocations: 5.078 kB / 0.5358 GB, free: 84.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007302/0.5652, allocations: 5.023 MB / 0.5407 GB, free: 82.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.5652, allocations: 10.25 kB / 0.5407 GB, free: 82.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005773/0.5658, allocations: 140.7 kB / 0.5408 GB, free: 82.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.688e-05/0.5658, allocations: 17.69 kB / 0.5409 GB, free: 82.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.347e-05/0.5659, allocations: 29.7 kB / 0.5409 GB, free: 82.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-05/0.5659, allocations: 18.31 kB / 0.5409 GB, free: 82.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.5659, allocations: 15.62 kB / 0.5409 GB, free: 82.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.5675, allocations: 1.587 MB / 0.5425 GB, free: 81.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/0.5679, allocations: 269.5 kB / 0.5427 GB, free: 81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.5681, allocations: 28.38 kB / 0.5427 GB, free: 81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005683/0.5686, allocations: 39.56 kB / 0.5428 GB, free: 80.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.5688, allocations: 85.56 kB / 0.5429 GB, free: 80.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.401e-05/0.5689, allocations: 40.83 kB / 0.5429 GB, free: 80.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001628/0.5705, allocations: 1.348 MB / 0.5442 GB, free: 80.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5705, allocations: 4 kB / 0.5442 GB, free: 80.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002755/0.5733, allocations: 0.7674 MB / 0.545 GB, free: 80.21 MB / 414.1 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.0002959/0.5736, allocations: 156.7 kB / 0.5451 GB, free: 80.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003511/0.5771, allocations: 2.563 MB / 0.5476 GB, free: 79.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.5771, allocations: 0 / 0.5476 GB, free: 79.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005959/0.5777, allocations: 0.5624 MB / 0.5482 GB, free: 79.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.579, allocations: 267.1 kB / 0.5484 GB, free: 79.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008331/0.5873, allocations: 5.796 MB / 0.5541 GB, free: 74.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001949/0.5893, allocations: 2.465 MB / 0.5565 GB, free: 72.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002265/0.5916, allocations: 1.043 MB / 0.5575 GB, free: 72.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/0.5919, allocations: 139.4 kB / 0.5577 GB, free: 71.89 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5919, allocations: 3.938 kB / 0.5577 GB, free: 71.89 MB / 414.1 MB Notification: Performance of Templates: time 0.02896/0.6209, allocations: 15.96 MB / 0.5732 GB, free: 56.04 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) 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) Reference file matches