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.001287/0.001287, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.007644/0.007644, allocations: 172.6 kB / 24.92 MB, free: 8.727 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.052/1.052, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.312/0.312, allocations: 34.26 MB / 296.1 MB, free: 0.668 MB / 266.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.823e-06/1.823e-06, allocations: 0 / 325.2 MB, free: 7.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.942e-05, allocations: 4.031 kB / 325.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.008114/0.008133, allocations: 9.015 MB / 334.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005346/0.01348, allocations: 2.955 MB / 337.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.01473, allocations: 55.81 kB / 337.2 MB, free: 11.6 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002614/0.01734, allocations: 2.142 MB / 339.4 MB, free: 9.453 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002557/0.0199, allocations: 1.182 MB / 340.6 MB, free: 8.266 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006105/0.02051, allocations: 311.2 kB / 340.9 MB, free: 7.961 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002392/0.0229, allocations: 2.212 MB / 343.1 MB, free: 5.742 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.02432, allocations: 1.852 MB / 344.9 MB, free: 3.828 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.02558, allocations: 1.302 MB / 346.2 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.02658, allocations: 1.118 MB / 347.4 MB, free: 1.402 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.02677, allocations: 196 kB / 347.6 MB, free: 1.211 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008192/0.02759, allocations: 0.6357 MB / 348.2 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006962/0.02828, allocations: 1.184 MB / 349.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000528/0.02881, allocations: 0.7241 MB / 350.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.03105, allocations: 2.728 MB / 352.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.03106, allocations: 0 / 352.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.03106, allocations: 0 / 352.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.426e-05/0.03109, allocations: 0 / 352.8 MB, free: 11.92 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.002466/0.03355, allocations: 2.686 MB / 355.5 MB, free: 9.199 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.03359, allocations: 12.03 kB / 355.5 MB, free: 9.188 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.03527, allocations: 0.7344 MB / 356.3 MB, free: 8.453 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.03648, allocations: 1.053 MB / 357.3 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.443e-05/0.03655, allocations: 148 kB / 357.5 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.03675, allocations: 184.3 kB / 357.6 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002859/0.0396, allocations: 2.845 MB / 360.5 MB, free: 3.926 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/0.03964, allocations: 11.88 kB / 360.5 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.03978, allocations: 91.91 kB / 360.6 MB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009783/0.04076, allocations: 1.2 MB / 361.8 MB, free: 2.621 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/0.04308, allocations: 1.51 MB / 363.3 MB, free: 1.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01356/0.05665, allocations: 15.3 MB / 378.6 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.05847, allocations: 0.8863 MB / 379.5 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.05869, allocations: 159 kB / 379.6 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003346/0.06203, allocations: 2.232 MB / 381.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.06206, allocations: 39.06 kB / 381.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 4.498e-06/0.06207, allocations: 0 / 381.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002323/0.06439, allocations: 1.109 MB / 383 MB, free: 12.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.06443, allocations: 55.91 kB / 383.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.06554, allocations: 1.424 MB / 384.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.06557, allocations: 29.7 kB / 384.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007718/0.06634, allocations: 1.842 MB / 386.4 MB, free: 9.336 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.06651, allocations: 325.5 kB / 386.7 MB, free: 9.016 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004291/0.06694, allocations: 0.5762 MB / 387.3 MB, free: 8.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.06704, allocations: 349.8 kB / 387.6 MB, free: 8.082 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.06737, allocations: 310.2 kB / 387.9 MB, free: 7.773 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.06858, allocations: 2.091 MB / 390 MB, free: 4.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/0.07044, allocations: 2.744 MB / 392.7 MB, free: 1.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.302e-05/0.07046, allocations: 20 kB / 392.8 MB, free: 1.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002193/0.07265, allocations: 1.964 MB / 394.7 MB, free: 15.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.07269, allocations: 32 kB / 394.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.303e-05/0.07274, allocations: 75.97 kB / 394.8 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.658e-05/0.07279, allocations: 92.06 kB / 394.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009956/0.07379, allocations: 0.6355 MB / 395.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.401e-05/0.07385, allocations: 131.5 kB / 395.7 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.07495, allocations: 401 kB / 396.1 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.07509, allocations: 160 kB / 396.2 MB, free: 13.57 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.0008023/0.07589, allocations: 381.4 kB / 396.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.612e-05/0.07599, allocations: 87.91 kB / 396.7 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.07613, allocations: 164 kB / 396.8 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.07615, allocations: 8 kB / 396.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.07616, allocations: 4 kB / 396.9 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.07616, allocations: 3.984 kB / 396.9 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.07865, allocations: 2.253 MB / 399.1 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.07866, allocations: 4 kB / 399.1 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.07885, allocations: 99.89 kB / 399.2 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.07886, allocations: 8 kB / 399.2 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.07888, allocations: 20 kB / 399.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.228e-06/0.07889, allocations: 15.92 kB / 399.3 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.07889, allocations: 15.88 kB / 399.3 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004653/0.07936, allocations: 0.6371 MB / 399.9 MB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.07948, allocations: 158.7 kB / 400.1 MB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.88e-05/0.07956, allocations: 20 kB / 400.1 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.07976, allocations: 19.94 kB / 400.1 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.07982, allocations: 55.73 kB / 400.2 MB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.07985, allocations: 24 kB / 400.2 MB, free: 9.375 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004142/0.08026, allocations: 0.5487 MB / 400.7 MB, free: 8.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08026, allocations: 0 / 400.7 MB, free: 8.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001814/0.08208, allocations: 0.7045 MB / 401.4 MB, free: 8.121 MB / 378.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.0002612/0.08234, allocations: 128.2 kB / 401.6 MB, free: 7.988 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.08396, allocations: 1.108 MB / 402.7 MB, free: 6.887 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001167/0.08408, allocations: 47.94 kB / 402.7 MB, free: 6.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.08433, allocations: 169.6 kB / 402.9 MB, free: 6.664 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009572/0.08529, allocations: 195.8 kB / 403.1 MB, free: 6.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007699/0.09299, allocations: 4.5 MB / 407.6 MB, free: 1.836 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008752/0.09386, allocations: 0.7541 MB / 408.3 MB, free: 1.059 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006717/0.09454, allocations: 242.6 kB / 408.6 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/0.09487, allocations: 271.3 kB / 408.8 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of SimCode: time 2.986e-06/0.09487, allocations: 4 kB / 408.8 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of Templates: time 0.02448/0.1193, allocations: 12.42 MB / 421.3 MB, free: 4.281 MB / 394.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.3983964547514915]