Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.001431, allocations: 101.1 kB / 21.22 MB, free: 0.5391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001945/0.001945, allocations: 210 kB / 24.54 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2261/0.2261, allocations: 46.89 MB / 361.3 MB, free: 4.465 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 83.84 kB / 0.4971 GB, free: 7.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3066, allocations: 66.03 MB / 0.5615 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01254/0.3191, allocations: 9.583 MB / 0.5709 GB, free: 11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006497/0.3256, allocations: 2.966 MB / 0.5738 GB, free: 8.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.3269, allocations: 55.81 kB / 0.5738 GB, free: 7.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004324/0.3312, allocations: 2.025 MB / 0.5758 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.3345, allocations: 1.137 MB / 0.5769 GB, free: 4.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009834/0.3354, allocations: 295.4 kB / 0.5772 GB, free: 4.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003877/0.3393, allocations: 2.329 MB / 0.5795 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002299/0.3416, allocations: 1.622 MB / 0.5811 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.3429, allocations: 0.8917 MB / 0.5819 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.3446, allocations: 1.258 MB / 0.5832 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003735/0.345, allocations: 192 kB / 0.5834 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.3464, allocations: 0.7255 MB / 0.5841 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00145/0.3479, allocations: 1.137 MB / 0.5852 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001687/0.3496, allocations: 1.308 MB / 0.5864 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006083/0.3556, allocations: 4.33 MB / 0.5907 GB, free: 6.645 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.3557, allocations: 0 / 0.5907 GB, free: 6.645 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3557, allocations: 7.938 kB / 0.5907 GB, free: 6.637 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001346/0.3558, allocations: 0 / 0.5907 GB, free: 6.637 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.005258/0.361, allocations: 2.862 MB / 0.5935 GB, free: 3.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3611, allocations: 12.03 kB / 0.5935 GB, free: 3.719 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005188/0.3663, allocations: 1.571 MB / 0.595 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002834/0.3691, allocations: 1.282 MB / 0.5963 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.3692, allocations: 148 kB / 0.5964 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003643/0.3696, allocations: 187.8 kB / 0.5966 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009817/0.3794, allocations: 6.25 MB / 0.6027 GB, free: 9.977 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.463e-05/0.3795, allocations: 11.88 kB / 0.6027 GB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002391/0.3797, allocations: 91.91 kB / 0.6028 GB, free: 9.875 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002112/0.3818, allocations: 1.34 MB / 0.6041 GB, free: 8.531 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01028/0.3921, allocations: 5.332 MB / 0.6093 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02973/0.4218, allocations: 20 MB / 0.6288 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004156/0.426, allocations: 1.488 MB / 0.6303 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.427, allocations: 0.6445 MB / 0.6309 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006918/0.4339, allocations: 3.156 MB / 0.634 GB, free: 9.27 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.434, allocations: 35 kB / 0.634 GB, free: 9.227 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.327e-06/0.434, allocations: 0 / 0.634 GB, free: 9.227 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005606/0.4396, allocations: 1.986 MB / 0.636 GB, free: 7.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.4396, allocations: 59.78 kB / 0.636 GB, free: 7.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003203/0.4428, allocations: 1.946 MB / 0.6379 GB, free: 5.211 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.914e-05/0.4429, allocations: 33.7 kB / 0.638 GB, free: 5.172 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.4444, allocations: 1.903 MB / 0.6398 GB, free: 3.246 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003588/0.4447, allocations: 333.5 kB / 0.6402 GB, free: 2.918 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008432/0.4456, allocations: 0.6234 MB / 0.6408 GB, free: 2.285 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.4458, allocations: 353.9 kB / 0.6411 GB, free: 1.934 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.4471, allocations: 0.8958 MB / 0.642 GB, free: 1.035 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002996/0.4501, allocations: 2.751 MB / 0.6447 GB, free: 13.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004886/0.455, allocations: 3.96 MB / 0.6485 GB, free: 8.469 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.821e-05/0.4551, allocations: 19.94 kB / 0.6485 GB, free: 8.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006121/0.4612, allocations: 3.539 MB / 0.652 GB, free: 4.902 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.556e-05/0.4613, allocations: 32 kB / 0.652 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001479/0.4614, allocations: 64 kB / 0.6521 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001038/0.4615, allocations: 88 kB / 0.6522 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/0.4635, allocations: 0.6556 MB / 0.6528 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001216/0.4637, allocations: 131.5 kB / 0.6529 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/0.4656, allocations: 428.9 kB / 0.6534 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/0.4659, allocations: 184 kB / 0.6535 GB, free: 3.336 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.002077/0.4679, allocations: 1.348 MB / 0.6548 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.4682, allocations: 166.8 kB / 0.655 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/0.4686, allocations: 200.9 kB / 0.6552 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/0.4686, allocations: 11.94 kB / 0.6552 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.4687, allocations: 0 / 0.6552 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.4687, allocations: 3.984 kB / 0.6552 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00704/0.4757, allocations: 4.001 MB / 0.6591 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.4757, allocations: 8 kB / 0.6591 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/0.4761, allocations: 107.8 kB / 0.6592 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/0.4761, allocations: 8 kB / 0.6592 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.4762, allocations: 20 kB / 0.6593 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.569e-05/0.4762, allocations: 15.98 kB / 0.6593 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.4762, allocations: 11.88 kB / 0.6593 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.4778, allocations: 1.27 MB / 0.6605 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/0.4782, allocations: 178.6 kB / 0.6607 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/0.4784, allocations: 23.98 kB / 0.6607 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/0.479, allocations: 31.94 kB / 0.6607 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.4791, allocations: 55.8 kB / 0.6608 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/0.4791, allocations: 24 kB / 0.6608 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001899/0.481, allocations: 1.275 MB / 0.6621 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.481, allocations: 0 / 0.6621 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002617/0.4837, allocations: 0.6814 MB / 0.6627 GB, free: 9.656 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.0003572/0.484, allocations: 150.8 kB / 0.6629 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003428/0.4874, allocations: 1.96 MB / 0.6648 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.4875, allocations: 64 / 0.6648 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006012/0.4881, allocations: 435.8 kB / 0.6652 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.4894, allocations: 247.7 kB / 0.6654 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.4995, allocations: 5.122 MB / 0.6704 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0032/0.5027, allocations: 2.279 MB / 0.6727 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002191/0.5049, allocations: 0.9597 MB / 0.6736 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/0.5053, allocations: 119.4 kB / 0.6737 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of SimCode: time 1.273e-06/0.5053, allocations: 0 / 0.6737 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.03554/0.5408, allocations: 17.13 MB / 0.6904 GB, free: 13.14 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.712538313120604]