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.001432/0.001432, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001656/0.001656, allocations: 208.6 kB / 24.49 MB, free: 4.133 MB / 14.72 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 8.254 MB / 206.1 MB " [Timeout remaining time 178] 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.2259/0.2259, allocations: 46.93 MB / 361.6 MB, free: 4.312 MB / 286.1 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.3.|cutTorque.torque.2.|cutTorque.torque.1.",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.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 67.88 kB / 0.4974 GB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3132, allocations: 66.03 MB / 0.5619 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01144/0.3246, allocations: 9.59 MB / 0.5712 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006092/0.3307, allocations: 2.959 MB / 0.5741 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.3322, allocations: 59.81 kB / 0.5742 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004062/0.3362, allocations: 2.037 MB / 0.5762 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002839/0.3391, allocations: 1.133 MB / 0.5773 GB, free: 4.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007826/0.3398, allocations: 287.5 kB / 0.5775 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003415/0.3433, allocations: 2.333 MB / 0.5798 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002495/0.3457, allocations: 1.734 MB / 0.5815 GB, free: 212 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.3471, allocations: 0.884 MB / 0.5824 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.349, allocations: 1.258 MB / 0.5836 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005345/0.3496, allocations: 196 kB / 0.5838 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.351, allocations: 0.7215 MB / 0.5845 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.3524, allocations: 1.141 MB / 0.5856 GB, free: 12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002076/0.3545, allocations: 1.308 MB / 0.5869 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006364/0.3608, allocations: 4.333 MB / 0.5911 GB, free: 6.336 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.3608, allocations: 3.984 kB / 0.5911 GB, free: 6.332 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3608, allocations: 0 / 0.5911 GB, free: 6.332 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002364/0.3611, allocations: 0 / 0.5911 GB, free: 6.332 MB / 430.1 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.008274/0.3694, allocations: 2.869 MB / 0.5939 GB, free: 3.422 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3694, allocations: 8.031 kB / 0.5939 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004922/0.3743, allocations: 1.582 MB / 0.5955 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00284/0.3772, allocations: 1.279 MB / 0.5967 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.3773, allocations: 144 kB / 0.5969 GB, free: 388 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003202/0.3776, allocations: 187.8 kB / 0.597 GB, free: 200 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009739/0.3873, allocations: 6.242 MB / 0.6031 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.318e-05/0.3874, allocations: 11.88 kB / 0.6032 GB, free: 9.668 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002322/0.3876, allocations: 91.89 kB / 0.6032 GB, free: 9.578 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002099/0.3897, allocations: 1.348 MB / 0.6046 GB, free: 8.227 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/0.3998, allocations: 5.342 MB / 0.6098 GB, free: 2.871 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02887/0.4287, allocations: 19.98 MB / 0.6293 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004295/0.433, allocations: 1.494 MB / 0.6307 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.4342, allocations: 0.643 MB / 0.6314 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007739/0.4419, allocations: 3.16 MB / 0.6345 GB, free: 8.961 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.581e-05/0.442, allocations: 39 kB / 0.6345 GB, free: 8.914 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.647e-06/0.442, allocations: 0 / 0.6345 GB, free: 8.914 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005462/0.4474, allocations: 1.982 MB / 0.6364 GB, free: 6.922 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.4475, allocations: 63.78 kB / 0.6365 GB, free: 6.848 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003365/0.4509, allocations: 1.942 MB / 0.6384 GB, free: 4.902 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.637e-05/0.4509, allocations: 33.7 kB / 0.6384 GB, free: 4.863 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001637/0.4526, allocations: 1.911 MB / 0.6403 GB, free: 2.93 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003859/0.4529, allocations: 321.6 kB / 0.6406 GB, free: 2.613 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009605/0.4539, allocations: 0.6273 MB / 0.6412 GB, free: 1.977 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4541, allocations: 357.9 kB / 0.6416 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.4556, allocations: 0.8842 MB / 0.6424 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003142/0.4587, allocations: 2.755 MB / 0.6451 GB, free: 13.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005065/0.4638, allocations: 3.966 MB / 0.649 GB, free: 8.156 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.326e-05/0.4638, allocations: 20 kB / 0.649 GB, free: 8.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006501/0.4703, allocations: 3.534 MB / 0.6525 GB, free: 4.598 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.085e-05/0.4704, allocations: 32 kB / 0.6525 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-05/0.4705, allocations: 68 kB / 0.6525 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/0.4706, allocations: 88 kB / 0.6526 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/0.4726, allocations: 0.6549 MB / 0.6533 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001399/0.4727, allocations: 132 kB / 0.6534 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/0.4749, allocations: 432.8 kB / 0.6538 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003246/0.4752, allocations: 196 kB / 0.654 GB, free: 3.012 MB / 494.1 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.002464/0.4777, allocations: 1.338 MB / 0.6553 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/0.478, allocations: 162.9 kB / 0.6555 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.4785, allocations: 200.9 kB / 0.6556 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/0.4785, allocations: 11.94 kB / 0.6557 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.4785, allocations: 0 / 0.6557 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.4785, allocations: 3.984 kB / 0.6557 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008098/0.4866, allocations: 3.997 MB / 0.6596 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.4866, allocations: 8.125 kB / 0.6596 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004324/0.4871, allocations: 107.8 kB / 0.6597 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/0.4871, allocations: 8 kB / 0.6597 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-05/0.4871, allocations: 16 kB / 0.6597 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.892e-05/0.4872, allocations: 19.92 kB / 0.6597 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.4872, allocations: 11.94 kB / 0.6597 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.4889, allocations: 1.267 MB / 0.661 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000476/0.4894, allocations: 178.7 kB / 0.6611 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/0.4897, allocations: 20 kB / 0.6612 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.4902, allocations: 39.91 kB / 0.6612 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/0.4903, allocations: 51.75 kB / 0.6612 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.053e-05/0.4904, allocations: 31.98 kB / 0.6613 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002201/0.4926, allocations: 1.275 MB / 0.6625 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4926, allocations: 0 / 0.6625 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002787/0.4954, allocations: 0.6813 MB / 0.6632 GB, free: 9.344 MB / 0.4981 GB 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.0003901/0.4958, allocations: 150.8 kB / 0.6633 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0035/0.4993, allocations: 1.952 MB / 0.6652 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.4993, allocations: 4 kB / 0.6652 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006203/0.4999, allocations: 436 kB / 0.6657 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.5013, allocations: 243.6 kB / 0.6659 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.512, allocations: 5.436 MB / 0.6712 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0031/0.5151, allocations: 2.279 MB / 0.6734 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000487/0.5156, allocations: 147.4 kB / 0.6736 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of SimCode: time 1.372e-06/0.5156, allocations: 0 / 0.6736 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of Templates: time 0.04986/0.5654, allocations: 30.3 MB / 0.7032 GB, free: 332 kB / 0.5294 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.918554317904636]