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.001421/0.001421, allocations: 80.8 kB / 21.5 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.0009812/0.0009812, allocations: 168.9 kB / 24.91 MB, free: 9.215 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.9975/0.9975, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2923/0.2923, allocations: 34.26 MB / 296.1 MB, free: 0.7344 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.743e-06/1.743e-06, allocations: 0 / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.921e-05, allocations: 6.312 kB / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.006995/0.007014, allocations: 9.071 MB / 334.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003971/0.01099, allocations: 2.955 MB / 337.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004984/0.01148, allocations: 55.81 kB / 337.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.01355, allocations: 2.102 MB / 339.5 MB, free: 9.422 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.01511, allocations: 1.163 MB / 340.6 MB, free: 8.254 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.01555, allocations: 323.1 kB / 340.9 MB, free: 7.938 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001722/0.01727, allocations: 2.207 MB / 343.1 MB, free: 5.727 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.01848, allocations: 1.852 MB / 345 MB, free: 3.812 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000852/0.01933, allocations: 1.29 MB / 346.3 MB, free: 2.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008616/0.02019, allocations: 1.114 MB / 347.4 MB, free: 1.402 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.02037, allocations: 196 kB / 347.6 MB, free: 1.211 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006373/0.021, allocations: 0.6629 MB / 348.2 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005867/0.02159, allocations: 1.18 MB / 349.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004373/0.02203, allocations: 0.7242 MB / 350.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.02377, allocations: 2.724 MB / 352.9 MB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.02377, allocations: 0 / 352.9 MB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.02377, allocations: 3.938 kB / 352.9 MB, free: 11.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.078e-05/0.02379, allocations: 0 / 352.9 MB, free: 11.9 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.002148/0.02594, allocations: 2.675 MB / 355.6 MB, free: 9.188 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.02597, allocations: 8.031 kB / 355.6 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.02768, allocations: 0.7499 MB / 356.3 MB, free: 8.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.0287, allocations: 1.053 MB / 357.4 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.0288, allocations: 144 kB / 357.5 MB, free: 7.203 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.02899, allocations: 192.3 kB / 357.7 MB, free: 7.016 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/0.03162, allocations: 2.841 MB / 360.5 MB, free: 3.902 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.621e-05/0.03165, allocations: 15.88 kB / 360.5 MB, free: 3.887 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.0318, allocations: 87.91 kB / 360.6 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009607/0.03276, allocations: 1.2 MB / 361.8 MB, free: 2.598 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.03487, allocations: 1.509 MB / 363.3 MB, free: 1.051 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/0.04548, allocations: 15.3 MB / 378.6 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.04713, allocations: 0.8864 MB / 379.5 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.04733, allocations: 160.3 kB / 379.7 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002615/0.04995, allocations: 2.236 MB / 381.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.04997, allocations: 43.05 kB / 382 MB, free: 13.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.134e-06/0.04997, allocations: 0 / 382 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002231/0.0522, allocations: 1.105 MB / 383.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.05223, allocations: 55.91 kB / 383.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008842/0.05311, allocations: 1.431 MB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.05315, allocations: 33.7 kB / 384.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007746/0.05392, allocations: 1.834 MB / 386.4 MB, free: 9.305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.05408, allocations: 325.5 kB / 386.7 MB, free: 8.984 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004162/0.05449, allocations: 0.5684 MB / 387.3 MB, free: 8.406 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.05459, allocations: 353.8 kB / 387.7 MB, free: 8.055 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.05492, allocations: 318.1 kB / 388 MB, free: 7.738 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.05596, allocations: 2.087 MB / 390.1 MB, free: 4.719 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.0576, allocations: 2.751 MB / 392.8 MB, free: 1.035 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/0.05762, allocations: 16 kB / 392.8 MB, free: 1.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.001708/0.05933, allocations: 1.961 MB / 394.8 MB, free: 15.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.05936, allocations: 32 kB / 394.8 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.912e-05/0.0594, allocations: 72.09 kB / 394.9 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.291e-05/0.05945, allocations: 88 kB / 395 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.06047, allocations: 0.6668 MB / 395.6 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.664e-05/0.06052, allocations: 131.5 kB / 395.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008118/0.06133, allocations: 405 kB / 396.2 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.06146, allocations: 160 kB / 396.3 MB, free: 13.51 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.0004649/0.06193, allocations: 369.6 kB / 396.7 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.224e-05/0.06202, allocations: 95.89 kB / 396.8 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.06215, allocations: 156 kB / 396.9 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.06216, allocations: 11.94 kB / 396.9 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.06217, allocations: 0 / 396.9 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.06217, allocations: 7.984 kB / 396.9 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/0.06416, allocations: 2.253 MB / 399.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.06417, allocations: 12.16 kB / 399.2 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.06437, allocations: 95.84 kB / 399.3 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.06437, allocations: 11.98 kB / 399.3 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.0644, allocations: 20 kB / 399.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.06441, allocations: 11.94 kB / 399.3 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.06441, allocations: 19.81 kB / 399.4 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.06483, allocations: 0.6488 MB / 400 MB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.88e-05/0.06493, allocations: 146.7 kB / 400.2 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/0.06501, allocations: 19.98 kB / 400.2 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.0652, allocations: 19.98 kB / 400.2 MB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.06527, allocations: 59.69 kB / 400.2 MB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.0653, allocations: 27.98 kB / 400.3 MB, free: 9.312 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000388/0.06569, allocations: 0.5448 MB / 400.8 MB, free: 8.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06569, allocations: 0 / 400.8 MB, free: 8.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001249/0.06694, allocations: 0.7007 MB / 401.5 MB, free: 8.066 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.0001879/0.06713, allocations: 136 kB / 401.7 MB, free: 7.926 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008611/0.06799, allocations: 1.103 MB / 402.8 MB, free: 6.828 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-05/0.06806, allocations: 51.94 kB / 402.8 MB, free: 6.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.0682, allocations: 166.1 kB / 403 MB, free: 6.605 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.06873, allocations: 200.5 kB / 403.2 MB, free: 6.414 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.07248, allocations: 4.492 MB / 407.7 MB, free: 1.777 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/0.07303, allocations: 0.7502 MB / 408.4 MB, free: 1.004 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004761/0.07351, allocations: 242.6 kB / 408.6 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.0738, allocations: 279.3 kB / 408.9 MB, free: 500 kB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.0738, allocations: 0 / 408.9 MB, free: 500 kB / 378.7 MB Notification: Performance of Templates: time 0.01915/0.09295, allocations: 12.42 MB / 421.3 MB, free: 4.223 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 -s gbode -gbm=radauIIA3 -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.1681393273174763]