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.000975/0.000975, allocations: 80.8 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.001118/0.001118, allocations: 168.7 kB / 24.91 MB, free: 9.156 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.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.2686/0.2686, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.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.563e-06/1.563e-06, allocations: 0 / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.478e-05, allocations: 3.188 kB / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.008054/0.008078, allocations: 9.061 MB / 334.3 MB, free: 14.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005782/0.01386, allocations: 2.956 MB / 337.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009296/0.01479, allocations: 55.81 kB / 337.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002507/0.0173, allocations: 2.099 MB / 339.4 MB, free: 9.434 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.01918, allocations: 1.171 MB / 340.6 MB, free: 8.258 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.01969, allocations: 319.2 kB / 340.9 MB, free: 7.945 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001805/0.0215, allocations: 2.211 MB / 343.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.02289, allocations: 1.848 MB / 345 MB, free: 3.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001414/0.0243, allocations: 1.29 MB / 346.3 MB, free: 2.527 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.02532, allocations: 1.122 MB / 347.4 MB, free: 1.402 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.02549, allocations: 192 kB / 347.6 MB, free: 1.215 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000839/0.02633, allocations: 0.663 MB / 348.2 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007816/0.02711, allocations: 1.184 MB / 349.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006113/0.02772, allocations: 0.7202 MB / 350.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002515/0.03024, allocations: 2.728 MB / 352.9 MB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.03024, allocations: 0 / 352.9 MB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.03025, allocations: 4 kB / 352.9 MB, free: 11.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.688e-05/0.0303, 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.002602/0.03291, allocations: 2.671 MB / 355.6 MB, free: 9.191 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.03294, allocations: 8.031 kB / 355.6 MB, free: 9.184 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.03472, allocations: 0.7616 MB / 356.3 MB, free: 8.422 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.03584, allocations: 1.046 MB / 357.4 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.03e-05/0.03591, allocations: 148 kB / 357.5 MB, free: 7.199 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.0361, allocations: 188.3 kB / 357.7 MB, free: 7.016 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003129/0.03923, allocations: 2.841 MB / 360.5 MB, free: 3.902 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.954e-05/0.03927, allocations: 15.81 kB / 360.6 MB, free: 3.887 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/0.03942, allocations: 87.91 kB / 360.6 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009762/0.04039, allocations: 1.196 MB / 361.8 MB, free: 2.602 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.04261, allocations: 1.51 MB / 363.3 MB, free: 1.051 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01255/0.05516, allocations: 15.3 MB / 378.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.057, allocations: 0.8866 MB / 379.5 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.05723, allocations: 151.3 kB / 379.7 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003719/0.06095, allocations: 2.239 MB / 381.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.06098, allocations: 39.06 kB / 382 MB, free: 13.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.467e-06/0.06098, allocations: 0 / 382 MB, free: 13.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002444/0.06343, allocations: 1.109 MB / 383.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.06346, allocations: 59.91 kB / 383.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.06457, allocations: 1.416 MB / 384.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.0646, allocations: 41.69 kB / 384.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007937/0.0654, allocations: 1.838 MB / 386.4 MB, free: 9.312 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.06556, allocations: 317.5 kB / 386.7 MB, free: 9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004433/0.06601, allocations: 0.5801 MB / 387.3 MB, free: 8.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.06612, allocations: 353.8 kB / 387.7 MB, free: 8.059 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.06646, allocations: 310.2 kB / 388 MB, free: 7.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.0678, allocations: 2.084 MB / 390 MB, free: 4.734 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/0.06962, allocations: 2.758 MB / 392.8 MB, free: 1.043 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.122e-05/0.06964, allocations: 20 kB / 392.8 MB, free: 1.023 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002221/0.07186, allocations: 1.953 MB / 394.8 MB, free: 15.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.0719, allocations: 36 kB / 394.8 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.353e-05/0.07195, allocations: 64 kB / 394.9 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-05/0.07201, allocations: 88 kB / 395 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.0731, allocations: 0.6707 MB / 395.6 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-05/0.07316, allocations: 131.4 kB / 395.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009267/0.07409, allocations: 408.9 kB / 396.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.07423, allocations: 164 kB / 396.3 MB, free: 13.52 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.0006543/0.07488, allocations: 365.6 kB / 396.7 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.07499, allocations: 95.89 kB / 396.8 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.07514, allocations: 156 kB / 396.9 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.07515, allocations: 12 kB / 396.9 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.07516, allocations: 0 / 396.9 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.07516, allocations: 7.922 kB / 396.9 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.07756, allocations: 2.261 MB / 399.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.07756, allocations: 8 kB / 399.2 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.07777, allocations: 91.84 kB / 399.3 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.984e-06/0.07778, allocations: 8 kB / 399.3 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.07781, allocations: 23.98 kB / 399.3 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/0.07781, allocations: 11.94 kB / 399.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.07782, allocations: 11.94 kB / 399.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/0.0783, allocations: 0.649 MB / 400 MB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.07843, allocations: 154.7 kB / 400.2 MB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-05/0.07851, allocations: 19.98 kB / 400.2 MB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.07871, allocations: 16 kB / 400.2 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.07878, allocations: 59.69 kB / 400.2 MB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.07882, allocations: 27.98 kB / 400.3 MB, free: 9.324 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004299/0.07925, allocations: 0.5448 MB / 400.8 MB, free: 8.781 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.07925, allocations: 0 / 400.8 MB, free: 8.781 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001739/0.08098, allocations: 0.7006 MB / 401.5 MB, free: 8.078 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.0002164/0.0812, allocations: 136.7 kB / 401.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.08227, allocations: 1.105 MB / 402.8 MB, free: 6.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-05/0.08235, allocations: 47.94 kB / 402.8 MB, free: 6.785 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.08251, allocations: 168.4 kB / 403 MB, free: 6.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005832/0.08309, allocations: 200.2 kB / 403.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004919/0.08801, allocations: 4.496 MB / 407.7 MB, free: 1.789 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007747/0.08879, allocations: 0.7541 MB / 408.4 MB, free: 1.012 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005608/0.08935, allocations: 246.6 kB / 408.7 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/0.08966, allocations: 267.4 kB / 408.9 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/0.08966, allocations: 0 / 408.9 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of Templates: time 0.02172/0.1114, allocations: 12.43 MB / 421.3 MB, free: 4.23 MB / 394.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 -s gbode -gbm=radauIIA3 -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.305200072005391]