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.001622/0.001622, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002002/0.002002, allocations: 211.4 kB / 24.48 MB, free: 3.941 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.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2313/0.2313, allocations: 46.97 MB / 361.6 MB, free: 4.039 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.CutTorque2,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.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,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.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 71.89 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3095, allocations: 66.02 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01116/0.3206, allocations: 8.415 MB / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00625/0.3269, allocations: 2.779 MB / 0.5727 GB, free: 8.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.3281, allocations: 59.81 kB / 0.5728 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003785/0.3318, allocations: 1.935 MB / 0.5747 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0032/0.335, allocations: 1.14 MB / 0.5758 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008191/0.3359, allocations: 291.4 kB / 0.5761 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00324/0.3391, allocations: 2.325 MB / 0.5783 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.3411, allocations: 1.746 MB / 0.58 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.3423, allocations: 0.8917 MB / 0.5809 GB, free: 492 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.344, allocations: 1.25 MB / 0.5821 GB, free: 15.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000341/0.3444, allocations: 196 kB / 0.5823 GB, free: 15.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.3455, allocations: 0.6161 MB / 0.5829 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001043/0.3466, allocations: 1.133 MB / 0.584 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009911/0.3476, allocations: 0.9509 MB / 0.585 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004726/0.3523, allocations: 4.338 MB / 0.5892 GB, free: 7.969 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3523, allocations: 0 / 0.5892 GB, free: 7.969 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3523, allocations: 0 / 0.5892 GB, free: 7.969 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.505e-05/0.3524, allocations: 0 / 0.5892 GB, free: 7.969 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.004808/0.3572, allocations: 2.87 MB / 0.592 GB, free: 5.055 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3572, allocations: 12.03 kB / 0.592 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004818/0.362, allocations: 1.582 MB / 0.5936 GB, free: 3.457 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002913/0.365, allocations: 1.279 MB / 0.5948 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.3651, allocations: 144 kB / 0.5949 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003689/0.3654, allocations: 191.8 kB / 0.5951 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009394/0.3748, allocations: 6.254 MB / 0.6012 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.628e-05/0.3749, allocations: 11.88 kB / 0.6012 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002423/0.3751, allocations: 87.91 kB / 0.6013 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00199/0.3771, allocations: 1.34 MB / 0.6026 GB, free: 9.852 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009566/0.3867, allocations: 5.318 MB / 0.6078 GB, free: 4.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02833/0.415, allocations: 18.29 MB / 0.6257 GB, free: 1.668 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004316/0.4193, allocations: 1.492 MB / 0.6272 GB, free: 168 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.4203, allocations: 0.6367 MB / 0.6278 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006812/0.4272, allocations: 3.009 MB / 0.6307 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.4272, allocations: 39 kB / 0.6308 GB, free: 12.43 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 6.462e-06/0.4272, allocations: 3.984 kB / 0.6308 GB, free: 12.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005467/0.4327, allocations: 1.978 MB / 0.6327 GB, free: 10.44 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.4327, allocations: 59.84 kB / 0.6327 GB, free: 10.37 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/0.4353, allocations: 1.931 MB / 0.6346 GB, free: 8.426 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.39e-05/0.4354, allocations: 41.69 kB / 0.6347 GB, free: 8.379 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001368/0.4367, allocations: 1.919 MB / 0.6365 GB, free: 6.438 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003245/0.4371, allocations: 329.5 kB / 0.6369 GB, free: 6.113 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007769/0.4378, allocations: 0.6195 MB / 0.6375 GB, free: 5.484 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.438, allocations: 341.9 kB / 0.6378 GB, free: 5.145 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.4392, allocations: 0.8881 MB / 0.6387 GB, free: 4.254 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002751/0.442, allocations: 2.759 MB / 0.6414 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004438/0.4464, allocations: 3.962 MB / 0.6452 GB, free: 11.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.141e-05/0.4465, allocations: 20 kB / 0.6452 GB, free: 11.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005314/0.4518, allocations: 3.53 MB / 0.6487 GB, free: 8.121 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.4518, allocations: 32 kB / 0.6487 GB, free: 8.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.956e-05/0.4519, allocations: 68 kB / 0.6488 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.295e-05/0.452, allocations: 88 kB / 0.6489 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/0.4539, allocations: 0.655 MB / 0.6495 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000104/0.454, allocations: 131.5 kB / 0.6496 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.4557, allocations: 425.2 kB / 0.65 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/0.4559, allocations: 180 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.001868/0.4578, allocations: 1.346 MB / 0.6515 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.458, allocations: 154.9 kB / 0.6517 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.4583, allocations: 192 kB / 0.6519 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/0.4583, allocations: 8 kB / 0.6519 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.4583, allocations: 3.938 kB / 0.6519 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.4583, allocations: 3.984 kB / 0.6519 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005409/0.4637, allocations: 3.07 MB / 0.6549 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.4638, allocations: 8 kB / 0.6549 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.4642, allocations: 99.83 kB / 0.655 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/0.4642, allocations: 11.94 kB / 0.655 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.4642, allocations: 23.98 kB / 0.655 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.365e-05/0.4642, allocations: 12 kB / 0.655 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.4642, allocations: 7.938 kB / 0.655 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.4658, allocations: 1.253 MB / 0.6562 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003186/0.4661, allocations: 150.8 kB / 0.6564 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.4663, allocations: 23.92 kB / 0.6564 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.4667, allocations: 31.91 kB / 0.6564 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/0.4668, allocations: 55.81 kB / 0.6565 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.323e-05/0.4668, allocations: 31.98 kB / 0.6565 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001527/0.4684, allocations: 1.11 MB / 0.6576 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4684, allocations: 4 kB / 0.6576 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002594/0.471, allocations: 0.7045 MB / 0.6583 GB, free: 14.03 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.000339/0.4713, allocations: 146.9 kB / 0.6584 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003093/0.4744, allocations: 1.952 MB / 0.6603 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.4744, allocations: 3.938 kB / 0.6604 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005606/0.475, allocations: 445.1 kB / 0.6608 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.476, allocations: 192.2 kB / 0.661 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008522/0.4845, allocations: 5.096 MB / 0.6659 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002278/0.4868, allocations: 1.704 MB / 0.6676 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002133/0.4889, allocations: 0.939 MB / 0.6685 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.4892, allocations: 115.4 kB / 0.6686 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of SimCode: time 1.784e-06/0.4892, allocations: 0 / 0.6686 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of Templates: time 0.03122/0.5205, allocations: 15.44 MB / 0.6837 GB, free: 4.035 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.377679924000404]