Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.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.006741/0.006741, allocations: 103.2 kB / 21.97 MB, free: 5.211 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.001666/0.001666, allocations: 220.6 kB / 25.29 MB, free: 3.215 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.449/1.449, allocations: 230.5 MB / 258.9 MB, free: 8.023 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.2318/0.2318, allocations: 46.93 MB / 362.3 MB, free: 4.207 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.CutTorque3,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.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-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3") [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.002357/0.002357, allocations: 83.84 kB / 0.4982 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3557, allocations: 66.07 MB / 0.5627 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01262/0.3683, allocations: 9.602 MB / 0.5721 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006986/0.3753, allocations: 2.961 MB / 0.575 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.3765, allocations: 55.81 kB / 0.575 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003924/0.3804, allocations: 2.029 MB / 0.577 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002844/0.3832, allocations: 1.129 MB / 0.5781 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007225/0.3839, allocations: 291.4 kB / 0.5784 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00376/0.3877, allocations: 2.33 MB / 0.5807 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002711/0.3904, allocations: 1.742 MB / 0.5824 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.3917, allocations: 0.8916 MB / 0.5833 GB, free: 15.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.3934, allocations: 1.262 MB / 0.5845 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003359/0.3937, allocations: 192 kB / 0.5847 GB, free: 13.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.3949, allocations: 0.7255 MB / 0.5854 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001232/0.3962, allocations: 1.133 MB / 0.5865 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.3975, allocations: 1.308 MB / 0.5878 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005443/0.403, allocations: 4.334 MB / 0.592 GB, free: 6.117 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.403, allocations: 0 / 0.592 GB, free: 6.117 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.403, allocations: 4 kB / 0.592 GB, free: 6.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.397e-05/0.4031, allocations: 0 / 0.592 GB, free: 6.113 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.005351/0.4084, allocations: 2.862 MB / 0.5948 GB, free: 3.207 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.4085, allocations: 12.03 kB / 0.5948 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004887/0.4134, allocations: 1.571 MB / 0.5963 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.416, allocations: 1.286 MB / 0.5976 GB, free: 312 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.4161, allocations: 140 kB / 0.5977 GB, free: 172 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003701/0.4165, allocations: 191.9 kB / 0.5979 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.4268, allocations: 6.25 MB / 0.604 GB, free: 9.453 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-05/0.4269, allocations: 15.88 kB / 0.604 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002577/0.4271, allocations: 83.91 kB / 0.6041 GB, free: 9.355 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002142/0.4293, allocations: 1.344 MB / 0.6054 GB, free: 8.008 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.44, allocations: 5.334 MB / 0.6106 GB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02913/0.4691, allocations: 19.99 MB / 0.6301 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004122/0.4732, allocations: 1.492 MB / 0.6316 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009885/0.4742, allocations: 0.6446 MB / 0.6322 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006411/0.4806, allocations: 3.148 MB / 0.6353 GB, free: 8.758 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.4806, allocations: 43 kB / 0.6354 GB, free: 8.707 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.885e-06/0.4807, allocations: 0 / 0.6354 GB, free: 8.707 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.00547/0.4861, allocations: 1.986 MB / 0.6373 GB, free: 6.711 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.4862, allocations: 63.78 kB / 0.6374 GB, free: 6.637 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/0.489, allocations: 1.938 MB / 0.6392 GB, free: 4.695 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.714e-05/0.489, allocations: 41.64 kB / 0.6393 GB, free: 4.648 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001495/0.4905, allocations: 1.907 MB / 0.6411 GB, free: 2.719 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.4908, allocations: 333.5 kB / 0.6415 GB, free: 2.391 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007935/0.4916, allocations: 0.6156 MB / 0.6421 GB, free: 1.766 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.4918, allocations: 353.9 kB / 0.6424 GB, free: 1.414 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.4932, allocations: 0.888 MB / 0.6433 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003005/0.4962, allocations: 2.751 MB / 0.646 GB, free: 12.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004857/0.501, allocations: 3.974 MB / 0.6498 GB, free: 7.945 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.097e-05/0.5011, allocations: 20 kB / 0.6499 GB, free: 7.926 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006109/0.5072, allocations: 3.531 MB / 0.6533 GB, free: 4.383 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.575e-05/0.5073, allocations: 36 kB / 0.6533 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.877e-05/0.5073, allocations: 64 kB / 0.6534 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.686e-05/0.5074, allocations: 88 kB / 0.6535 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/0.5093, allocations: 0.6549 MB / 0.6541 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001153/0.5094, allocations: 131.5 kB / 0.6542 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.5113, allocations: 437.2 kB / 0.6547 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002631/0.5115, allocations: 184 kB / 0.6548 GB, free: 2.805 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.002027/0.5136, allocations: 1.35 MB / 0.6562 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.5138, allocations: 162.9 kB / 0.6563 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003645/0.5142, allocations: 188.9 kB / 0.6565 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/0.5142, allocations: 15.94 kB / 0.6565 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5142, allocations: 4 kB / 0.6565 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.5142, allocations: 3.984 kB / 0.6565 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007003/0.5212, allocations: 4 MB / 0.6604 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.5212, allocations: 8.844 kB / 0.6604 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000404/0.5216, allocations: 99.83 kB / 0.6605 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.5216, allocations: 12 kB / 0.6605 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/0.5217, allocations: 23.98 kB / 0.6606 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.5217, allocations: 8 kB / 0.6606 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.5217, allocations: 15.88 kB / 0.6606 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.5234, allocations: 1.27 MB / 0.6618 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.5238, allocations: 174.7 kB / 0.662 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.5239, allocations: 23.98 kB / 0.662 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004694/0.5244, allocations: 27.94 kB / 0.662 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.5245, allocations: 55.8 kB / 0.6621 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.818e-05/0.5245, allocations: 32 kB / 0.6621 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001989/0.5265, allocations: 1.267 MB / 0.6634 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5265, allocations: 7.938 kB / 0.6634 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002564/0.5291, allocations: 0.6891 MB / 0.664 GB, free: 9.125 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.0003418/0.5294, allocations: 150.8 kB / 0.6642 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003461/0.5329, allocations: 1.963 MB / 0.6661 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.5329, allocations: 0 / 0.6661 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006366/0.5335, allocations: 437 kB / 0.6665 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.5349, allocations: 242.3 kB / 0.6668 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009977/0.5449, allocations: 5.44 MB / 0.6721 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002596/0.5475, allocations: 2.275 MB / 0.6743 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004651/0.548, allocations: 143.4 kB / 0.6744 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/0.548, allocations: 4 kB / 0.6744 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.05153/0.5995, allocations: 30.3 MB / 0.704 GB, free: 104 kB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 10.320345806889236]