Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.008285/0.008285, allocations: 108.6 kB / 21.97 MB, free: 5.184 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.001938/0.001938, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.483/1.483, allocations: 230.5 MB / 258.9 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2236/0.2236, allocations: 46.94 MB / 362.3 MB, free: 4.199 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 87.86 kB / 0.4982 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3553, allocations: 66.08 MB / 0.5627 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01178/0.3671, allocations: 9.591 MB / 0.5721 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006512/0.3736, allocations: 2.971 MB / 0.575 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.3751, allocations: 55.81 kB / 0.575 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00396/0.3791, allocations: 2.025 MB / 0.577 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002992/0.3821, allocations: 1.137 MB / 0.5781 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007878/0.3829, allocations: 287.4 kB / 0.5784 GB, free: 4.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003499/0.3864, allocations: 2.333 MB / 0.5807 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002219/0.3886, allocations: 1.734 MB / 0.5824 GB, free: 0 / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.3899, allocations: 0.8956 MB / 0.5833 GB, free: 15.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.3916, allocations: 1.25 MB / 0.5845 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003357/0.3919, allocations: 192 kB / 0.5847 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.3932, allocations: 0.7255 MB / 0.5854 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001104/0.3943, allocations: 1.141 MB / 0.5865 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.3956, allocations: 1.308 MB / 0.5878 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005119/0.4007, allocations: 4.333 MB / 0.592 GB, free: 6.125 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4007, allocations: 0 / 0.592 GB, free: 6.125 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4007, allocations: 4 kB / 0.592 GB, free: 6.121 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.268e-05/0.4008, allocations: 3.938 kB / 0.592 GB, free: 6.117 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.005263/0.4061, allocations: 2.859 MB / 0.5948 GB, free: 3.215 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.4061, allocations: 12.03 kB / 0.5948 GB, free: 3.203 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004805/0.4109, allocations: 1.582 MB / 0.5963 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002877/0.4138, allocations: 1.275 MB / 0.5976 GB, free: 320 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.4139, allocations: 144 kB / 0.5977 GB, free: 176 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003928/0.4143, allocations: 187.9 kB / 0.5979 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/0.4251, allocations: 6.25 MB / 0.604 GB, free: 9.461 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.081e-05/0.4252, allocations: 11.88 kB / 0.604 GB, free: 9.449 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002668/0.4254, allocations: 87.91 kB / 0.6041 GB, free: 9.363 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002134/0.4276, allocations: 1.34 MB / 0.6054 GB, free: 8.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/0.4386, allocations: 5.34 MB / 0.6106 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0318/0.4704, allocations: 19.99 MB / 0.6302 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004042/0.4744, allocations: 1.488 MB / 0.6316 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.4754, allocations: 0.6407 MB / 0.6322 GB, free: 11.94 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00672/0.4821, allocations: 3.16 MB / 0.6353 GB, free: 8.758 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.4822, allocations: 35 kB / 0.6353 GB, free: 8.715 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.376e-06/0.4822, allocations: 0 / 0.6353 GB, free: 8.715 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005518/0.4877, allocations: 1.994 MB / 0.6373 GB, free: 6.711 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.4877, allocations: 55.84 kB / 0.6373 GB, free: 6.645 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002927/0.4907, allocations: 1.942 MB / 0.6392 GB, free: 4.699 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.55e-05/0.4907, allocations: 37.69 kB / 0.6393 GB, free: 4.656 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00149/0.4922, allocations: 1.915 MB / 0.6412 GB, free: 2.719 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003158/0.4925, allocations: 325.5 kB / 0.6415 GB, free: 2.398 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008258/0.4934, allocations: 0.6195 MB / 0.6421 GB, free: 1.77 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.4936, allocations: 357.9 kB / 0.6424 GB, free: 1.414 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.4949, allocations: 0.8881 MB / 0.6433 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003093/0.498, allocations: 2.744 MB / 0.646 GB, free: 12.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005066/0.503, allocations: 3.981 MB / 0.6498 GB, free: 7.949 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.774e-05/0.5031, allocations: 16 kB / 0.6499 GB, free: 7.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005841/0.5089, allocations: 3.528 MB / 0.6533 GB, free: 4.395 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.99e-05/0.509, allocations: 40 kB / 0.6533 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.106e-05/0.509, allocations: 64 kB / 0.6534 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.517e-05/0.5091, allocations: 91.94 kB / 0.6535 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/0.511, allocations: 0.6511 MB / 0.6541 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000128/0.5111, allocations: 131.5 kB / 0.6543 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.513, allocations: 424.8 kB / 0.6547 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002558/0.5133, allocations: 191.9 kB / 0.6548 GB, free: 2.816 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.002199/0.5155, allocations: 1.346 MB / 0.6562 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.5157, allocations: 162.9 kB / 0.6563 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/0.5161, allocations: 200.9 kB / 0.6565 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/0.5161, allocations: 11.94 kB / 0.6565 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.5161, allocations: 0 / 0.6565 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.5162, allocations: 7.984 kB / 0.6565 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006655/0.5228, allocations: 3.996 MB / 0.6604 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.5228, allocations: 8 kB / 0.6604 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.5232, allocations: 103.8 kB / 0.6605 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.66e-05/0.5233, allocations: 8 kB / 0.6605 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/0.5233, allocations: 20.69 kB / 0.6606 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.491e-05/0.5233, allocations: 23.86 kB / 0.6606 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.5233, allocations: 8 kB / 0.6606 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.5249, allocations: 1.274 MB / 0.6618 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.5253, allocations: 174.7 kB / 0.662 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.5254, allocations: 15.98 kB / 0.662 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/0.5259, allocations: 35.92 kB / 0.662 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.526, allocations: 63.73 kB / 0.6621 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.269e-05/0.5261, allocations: 28 kB / 0.6621 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001848/0.5279, allocations: 1.267 MB / 0.6634 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.5279, allocations: 0 / 0.6634 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002544/0.5305, allocations: 0.6852 MB / 0.664 GB, free: 9.137 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.0003401/0.5308, allocations: 150.9 kB / 0.6642 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003248/0.534, allocations: 1.955 MB / 0.6661 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.534, allocations: 0 / 0.6661 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000617/0.5347, allocations: 447 kB / 0.6665 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.5359, allocations: 229 kB / 0.6667 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009328/0.5452, allocations: 5.444 MB / 0.6721 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002564/0.5478, allocations: 2.275 MB / 0.6743 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004952/0.5483, allocations: 147.4 kB / 0.6744 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of SimCode: time 1.292e-06/0.5483, allocations: 0 / 0.6744 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of Templates: time 0.05424/0.6025, allocations: 30.3 MB / 0.704 GB, free: 116 kB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 10.225300216116011]