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.00184/0.00184, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.0022/0.0022, allocations: 211.6 kB / 24.49 MB, free: 3.969 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.531/1.531, allocations: 230.6 MB / 258.3 MB, free: 7.82 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.2253/0.2253, allocations: 46.97 MB / 361.6 MB, free: 4.152 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.002113/0.002113, allocations: 68.08 kB / 0.4973 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3068, allocations: 66.03 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01134/0.3182, allocations: 8.408 MB / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005483/0.3236, allocations: 2.787 MB / 0.5727 GB, free: 8.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007314/0.3244, allocations: 55.81 kB / 0.5728 GB, free: 8.867 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003709/0.3281, allocations: 1.939 MB / 0.5747 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.3303, allocations: 1.144 MB / 0.5758 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/0.3309, allocations: 283.5 kB / 0.5761 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00295/0.3339, allocations: 2.325 MB / 0.5784 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002075/0.336, allocations: 1.742 MB / 0.5801 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.337, allocations: 0.8878 MB / 0.5809 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.3386, allocations: 1.258 MB / 0.5821 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003805/0.339, allocations: 192 kB / 0.5823 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.3402, allocations: 0.6124 MB / 0.5829 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.3413, allocations: 1.137 MB / 0.584 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009923/0.3422, allocations: 0.9432 MB / 0.585 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004574/0.3468, allocations: 4.35 MB / 0.5892 GB, free: 7.973 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3468, allocations: 0 / 0.5892 GB, free: 7.973 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3468, allocations: 0 / 0.5892 GB, free: 7.973 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.22e-05/0.3469, allocations: 0 / 0.5892 GB, free: 7.973 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.004856/0.3518, allocations: 2.866 MB / 0.592 GB, free: 5.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3518, allocations: 12.02 kB / 0.592 GB, free: 5.051 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0051/0.3569, allocations: 1.571 MB / 0.5936 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003311/0.3602, allocations: 1.29 MB / 0.5948 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.3603, allocations: 140 kB / 0.5949 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004452/0.3608, allocations: 195.8 kB / 0.5951 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.3713, allocations: 6.242 MB / 0.6012 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.173e-05/0.3714, allocations: 19.88 kB / 0.6013 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003798/0.3718, allocations: 87.91 kB / 0.6013 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002241/0.374, allocations: 1.34 MB / 0.6026 GB, free: 9.863 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.3843, allocations: 5.326 MB / 0.6078 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0274/0.4117, allocations: 18.29 MB / 0.6257 GB, free: 1.672 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004177/0.4159, allocations: 1.483 MB / 0.6272 GB, free: 180 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009795/0.4169, allocations: 0.6329 MB / 0.6278 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007112/0.424, allocations: 3.021 MB / 0.6307 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.424, allocations: 35 kB / 0.6308 GB, free: 12.44 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.486e-06/0.424, allocations: 0 / 0.6308 GB, free: 12.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005787/0.4298, allocations: 1.986 MB / 0.6327 GB, free: 10.44 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.4298, allocations: 55.84 kB / 0.6328 GB, free: 10.38 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/0.4326, allocations: 1.935 MB / 0.6346 GB, free: 8.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.066e-05/0.4327, allocations: 37.64 kB / 0.6347 GB, free: 8.387 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00151/0.4342, allocations: 1.923 MB / 0.6366 GB, free: 6.441 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/0.4345, allocations: 325.5 kB / 0.6369 GB, free: 6.121 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008107/0.4353, allocations: 0.6195 MB / 0.6375 GB, free: 5.492 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.4355, allocations: 345.9 kB / 0.6378 GB, free: 5.148 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.4368, allocations: 0.8881 MB / 0.6387 GB, free: 4.258 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002994/0.4398, allocations: 2.747 MB / 0.6414 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005267/0.4451, allocations: 3.976 MB / 0.6452 GB, free: 11.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-05/0.4451, allocations: 24 kB / 0.6453 GB, free: 11.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005935/0.4511, allocations: 3.52 MB / 0.6487 GB, free: 8.129 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.306e-05/0.4511, allocations: 32 kB / 0.6487 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.428e-05/0.4512, allocations: 64 kB / 0.6488 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.661e-05/0.4513, allocations: 88 kB / 0.6489 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001861/0.4532, allocations: 0.6589 MB / 0.6495 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000114/0.4533, allocations: 131.5 kB / 0.6496 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.4551, allocations: 420.8 kB / 0.65 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002396/0.4553, allocations: 192.1 kB / 0.6502 GB, free: 6.559 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.001901/0.4572, allocations: 1.342 MB / 0.6515 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.4575, allocations: 154.9 kB / 0.6517 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.4578, allocations: 188 kB / 0.6519 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4578, allocations: 3.984 kB / 0.6519 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4578, allocations: 0 / 0.6519 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002789/0.4581, allocations: 146.7 kB / 0.652 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.4583, allocations: 19.97 kB / 0.652 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.4586, allocations: 15.98 kB / 0.652 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.095e-05/0.4587, allocations: 36.38 kB / 0.6521 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00149/0.4602, allocations: 0.937 MB / 0.653 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001394/0.4616, allocations: 1.14 MB / 0.6541 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004954/0.4621, allocations: 371.5 kB / 0.6545 GB, free: 2.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001555/0.4637, allocations: 1.118 MB / 0.6555 GB, free: 1.066 MB / 494.1 MB Notification: Performance of Backend: time 2.81e-07/0.4637, allocations: 0 / 0.6555 GB, free: 1.066 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003531/0.4672, allocations: 1.713 MB / 0.6572 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of SimCode: time 0.008557/0.4757, allocations: 5.349 MB / 0.6624 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of Templates: time 0.04252/0.5183, allocations: 21.19 MB / 0.6831 GB, free: 4.945 MB / 0.5137 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: 5.719797801000823]