Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00141/0.00141, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.00162/0.00162, allocations: 205.9 kB / 24.49 MB, free: 4.148 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2168/0.2168, allocations: 44.91 MB / 359.6 MB, free: 6.305 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 71.89 kB / 0.4943 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3259, allocations: 65.47 MB / 0.5583 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01202/0.3379, allocations: 9.585 MB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006874/0.3448, allocations: 2.962 MB / 0.5705 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.3465, allocations: 55.81 kB / 0.5706 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004436/0.3509, allocations: 2.036 MB / 0.5725 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003322/0.3542, allocations: 1.133 MB / 0.5737 GB, free: 7.891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009378/0.3552, allocations: 283.4 kB / 0.5739 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004091/0.3593, allocations: 2.333 MB / 0.5762 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002937/0.3622, allocations: 1.742 MB / 0.5779 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.3639, allocations: 0.8956 MB / 0.5788 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00221/0.3661, allocations: 1.25 MB / 0.58 GB, free: 1.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006487/0.3668, allocations: 196 kB / 0.5802 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.3685, allocations: 0.7293 MB / 0.5809 GB, free: 428 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001549/0.3701, allocations: 1.137 MB / 0.582 GB, free: 15.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00208/0.3722, allocations: 1.301 MB / 0.5833 GB, free: 13.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005758/0.3779, allocations: 4.338 MB / 0.5875 GB, free: 9.613 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3779, allocations: 4 kB / 0.5875 GB, free: 9.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3779, allocations: 0 / 0.5875 GB, free: 9.609 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001549/0.3781, allocations: 0 / 0.5875 GB, free: 9.609 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.00712/0.3852, allocations: 2.868 MB / 0.5903 GB, free: 6.699 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3853, allocations: 8.031 kB / 0.5903 GB, free: 6.691 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00539/0.3906, allocations: 1.574 MB / 0.5919 GB, free: 5.113 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003376/0.394, allocations: 1.278 MB / 0.5931 GB, free: 3.797 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.3942, allocations: 148 kB / 0.5933 GB, free: 3.652 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006352/0.3948, allocations: 195.8 kB / 0.5934 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/0.4056, allocations: 6.242 MB / 0.5995 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.037e-05/0.4056, allocations: 11.88 kB / 0.5995 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002531/0.4059, allocations: 87.91 kB / 0.5996 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002207/0.4081, allocations: 1.34 MB / 0.6009 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.4187, allocations: 5.337 MB / 0.6062 GB, free: 6.156 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0333/0.452, allocations: 20 MB / 0.6257 GB, free: 1.574 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004259/0.4563, allocations: 1.482 MB / 0.6271 GB, free: 80 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.4574, allocations: 0.6407 MB / 0.6278 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007089/0.4645, allocations: 3.156 MB / 0.6308 GB, free: 12.24 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.4646, allocations: 35 kB / 0.6309 GB, free: 12.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.198e-06/0.4646, allocations: 0 / 0.6309 GB, free: 12.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.00587/0.4704, allocations: 1.994 MB / 0.6328 GB, free: 10.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.4705, allocations: 63.78 kB / 0.6329 GB, free: 10.12 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/0.4739, allocations: 1.938 MB / 0.6348 GB, free: 8.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.768e-05/0.474, allocations: 29.7 kB / 0.6348 GB, free: 8.145 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001593/0.4756, allocations: 1.915 MB / 0.6367 GB, free: 6.207 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004225/0.476, allocations: 329.5 kB / 0.637 GB, free: 5.883 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009559/0.477, allocations: 0.6234 MB / 0.6376 GB, free: 5.25 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.4772, allocations: 357.9 kB / 0.6379 GB, free: 4.895 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.4786, allocations: 0.888 MB / 0.6388 GB, free: 4.004 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00311/0.4817, allocations: 2.751 MB / 0.6415 GB, free: 328 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00503/0.4868, allocations: 3.969 MB / 0.6454 GB, free: 11.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.798e-05/0.4868, allocations: 20 kB / 0.6454 GB, free: 11.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006967/0.4938, allocations: 3.532 MB / 0.6488 GB, free: 7.871 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.689e-05/0.4939, allocations: 32 kB / 0.6489 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.866e-05/0.494, allocations: 68 kB / 0.6489 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001097/0.4941, allocations: 88.03 kB / 0.649 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/0.4961, allocations: 0.6588 MB / 0.6497 GB, free: 7.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001254/0.4963, allocations: 127.5 kB / 0.6498 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.4984, allocations: 428.8 kB / 0.6502 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/0.4987, allocations: 187.9 kB / 0.6504 GB, free: 6.297 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.002165/0.5008, allocations: 1.35 MB / 0.6517 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/0.5012, allocations: 166.9 kB / 0.6518 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004167/0.5016, allocations: 192.9 kB / 0.652 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.862e-05/0.5016, allocations: 11.94 kB / 0.652 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.5016, allocations: 0 / 0.652 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.5016, allocations: 3.984 kB / 0.652 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.5118, allocations: 4 MB / 0.656 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-05/0.5118, allocations: 15.94 kB / 0.656 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006635/0.5125, allocations: 99.83 kB / 0.6561 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-05/0.5125, allocations: 12 kB / 0.6561 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.786e-05/0.5126, allocations: 23.97 kB / 0.6561 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.517e-05/0.5126, allocations: 8 kB / 0.6561 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/0.5126, allocations: 11.94 kB / 0.6561 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.5152, allocations: 1.275 MB / 0.6574 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007078/0.5159, allocations: 174.7 kB / 0.6575 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004737/0.5164, allocations: 19.98 kB / 0.6575 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.5174, allocations: 27.94 kB / 0.6576 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.5175, allocations: 59.8 kB / 0.6576 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-05/0.5176, allocations: 28 kB / 0.6577 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003082/0.5207, allocations: 1.271 MB / 0.6589 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5207, allocations: 0 / 0.6589 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003972/0.5247, allocations: 0.689 MB / 0.6596 GB, free: 12.61 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.0005319/0.5252, allocations: 146.9 kB / 0.6597 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004693/0.5299, allocations: 1.956 MB / 0.6616 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.5299, allocations: 0 / 0.6616 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008964/0.5308, allocations: 437.5 kB / 0.662 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/0.5333, allocations: 246.7 kB / 0.6623 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/0.5488, allocations: 5.432 MB / 0.6676 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004906/0.5537, allocations: 2.279 MB / 0.6698 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007062/0.5544, allocations: 143.4 kB / 0.6699 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of SimCode: time 1.292e-06/0.5544, allocations: 0 / 0.6699 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of Templates: time 0.07178/0.6262, allocations: 30.3 MB / 0.6995 GB, free: 3.602 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 10.257411981001496]