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.001025/0.001025, allocations: 88.2 kB / 20.95 MB, free: 3.605 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.001247/0.001247, allocations: 169 kB / 24.24 MB, free: 316 kB / 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 0.9572/0.9572, allocations: 158.6 MB / 186 MB, free: 2.68 MB / 170.7 MB " [Timeout remaining time 179] 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.135/0.135, allocations: 32.38 MB / 270.7 MB, free: 14.75 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.832e-05/4.095e-05, allocations: 6.312 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01061/0.01065, allocations: 10.62 MB / 358.3 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005289/0.01594, allocations: 2.987 MB / 361.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007514/0.0167, allocations: 59.81 kB / 361.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002269/0.01896, allocations: 2.161 MB / 363.5 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001929/0.02089, allocations: 1.283 MB / 364.8 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.02139, allocations: 323.2 kB / 365.1 MB, free: 8.273 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001992/0.02338, allocations: 2.538 MB / 367.6 MB, free: 5.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.02506, allocations: 1.91 MB / 369.5 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.02647, allocations: 1.43 MB / 371 MB, free: 2.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.02795, allocations: 1.321 MB / 372.3 MB, free: 1.016 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003442/0.0283, allocations: 220 kB / 372.5 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008038/0.0291, allocations: 0.6668 MB / 373.2 MB, free: 136 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008367/0.02994, allocations: 1.328 MB / 374.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007897/0.03073, allocations: 0.8176 MB / 375.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002821/0.03355, allocations: 3.039 MB / 378.4 MB, free: 10.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.03355, allocations: 0 / 378.4 MB, free: 10.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.03355, allocations: 0 / 378.4 MB, free: 10.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001148/0.03367, allocations: 0 / 378.4 MB, free: 10.93 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.00375/0.03742, allocations: 3.433 MB / 381.8 MB, free: 7.441 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.03747, allocations: 12.02 kB / 381.8 MB, free: 7.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003431/0.0409, allocations: 1.976 MB / 383.8 MB, free: 5.449 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.04239, allocations: 1.305 MB / 385.1 MB, free: 4.105 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.0425, allocations: 160.4 kB / 385.2 MB, free: 3.945 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/0.04275, allocations: 204.3 kB / 385.4 MB, free: 3.746 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004095/0.04685, allocations: 3.658 MB / 389.1 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.734e-05/0.04688, allocations: 11.88 kB / 389.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/0.04707, allocations: 103.9 kB / 389.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001437/0.0485, allocations: 1.528 MB / 390.7 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003728/0.05223, allocations: 2.021 MB / 392.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01914/0.07137, allocations: 22.62 MB / 415.4 MB, free: 4.637 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.07389, allocations: 0.9814 MB / 416.4 MB, free: 3.633 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004217/0.07431, allocations: 282.1 kB / 416.6 MB, free: 3.348 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003977/0.07829, allocations: 2.793 MB / 419.4 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.07832, allocations: 49.98 kB / 419.5 MB, free: 480 kB / 346.7 MB Notification: Performance of pre-optimization done (n=96): time 4.107e-06/0.07833, allocations: 0 / 419.5 MB, free: 480 kB / 346.7 MB Notification: Performance of matching and sorting (n=96): time 0.003158/0.08149, allocations: 1.43 MB / 420.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.08153, allocations: 64.06 kB / 421 MB, free: 14.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.08334, allocations: 1.887 MB / 422.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5e-05/0.08339, allocations: 37.7 kB / 422.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001269/0.08466, allocations: 2.194 MB / 425.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003006/0.08496, allocations: 405 kB / 425.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006298/0.08559, allocations: 0.7294 MB / 426.2 MB, free: 9.656 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.08576, allocations: 0.5238 MB / 426.7 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/0.08625, allocations: 338.3 kB / 427.1 MB, free: 8.793 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/0.08828, allocations: 3.288 MB / 430.4 MB, free: 4.145 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003169/0.09145, allocations: 3.988 MB / 434.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.78e-05/0.0915, allocations: 24 kB / 434.4 MB, free: 14.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.003519/0.09502, allocations: 2.746 MB / 437.1 MB, free: 12.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/0.09507, allocations: 32 kB / 437.1 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-05/0.09512, allocations: 79.94 kB / 437.2 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.557e-05/0.09518, allocations: 92 kB / 437.3 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.09653, allocations: 0.7252 MB / 438 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.704e-05/0.09662, allocations: 136.1 kB / 438.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.09813, allocations: 456.7 kB / 438.6 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/0.09831, allocations: 208 kB / 438.8 MB, free: 10.31 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.0009957/0.09931, allocations: 429.3 kB / 439.2 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/0.09952, allocations: 194.8 kB / 439.4 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000797/0.1003, allocations: 0.6108 MB / 440 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.1003, allocations: 12 kB / 440.1 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1003, allocations: 0 / 440.1 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.1003, allocations: 3.984 kB / 440.1 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004224/0.1046, allocations: 3.404 MB / 443.5 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.1046, allocations: 12 kB / 443.5 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.1049, allocations: 143.7 kB / 443.6 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.1049, allocations: 23.88 kB / 443.6 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.1049, allocations: 28.64 kB / 443.7 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.18e-05/0.1049, allocations: 15.94 kB / 443.7 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/0.105, allocations: 19.94 kB / 443.7 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.1061, allocations: 1.161 MB / 444.9 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/0.1064, allocations: 178.6 kB / 445 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.1065, allocations: 35.98 kB / 445.1 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.1068, allocations: 35.91 kB / 445.1 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.1069, allocations: 83.66 kB / 445.2 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/0.107, allocations: 36 kB / 445.2 MB, free: 3.465 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000909/0.1079, allocations: 0.8157 MB / 446 MB, free: 2.656 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1079, allocations: 0 / 446 MB, free: 2.656 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002959/0.1108, allocations: 0.8057 MB / 446.8 MB, free: 1.848 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.0003595/0.1112, allocations: 154.9 kB / 447 MB, free: 1.688 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002269/0.1135, allocations: 1.407 MB / 448.4 MB, free: 288 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.1135, allocations: 0 / 448.4 MB, free: 288 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.1138, allocations: 262.8 kB / 448.7 MB, free: 24 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1349/0.2488, allocations: 199.9 kB / 448.9 MB, free: 107.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008698/0.2575, allocations: 5.041 MB / 453.9 MB, free: 105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/0.2592, allocations: 0.8496 MB / 454.7 MB, free: 104.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001808/0.261, allocations: 0.8789 MB / 455.6 MB, free: 104.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/0.2613, allocations: 130.4 kB / 455.7 MB, free: 104.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.685e-06/0.2613, allocations: 0 / 455.7 MB, free: 104.7 MB / 378.7 MB Notification: Performance of Templates: time 0.02222/0.2835, allocations: 12.77 MB / 468.5 MB, free: 94.7 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","",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.663780169095844]