Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.001375/0.001375, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00159/0.00159, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.556/1.556, allocations: 230.6 MB / 257.5 MB, free: 7.824 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.2766/0.2766, allocations: 44.94 MB / 358.8 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 179] 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") [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.00234/0.00234, allocations: 71.89 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3469, allocations: 65.46 MB / 0.5574 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01197/0.3589, allocations: 8.396 MB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006463/0.3654, allocations: 2.784 MB / 0.5684 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008684/0.3662, allocations: 59.81 kB / 0.5684 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003851/0.3701, allocations: 1.939 MB / 0.5703 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002426/0.3725, allocations: 1.136 MB / 0.5714 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006684/0.3732, allocations: 291.5 kB / 0.5717 GB, free: 8.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002966/0.3761, allocations: 2.322 MB / 0.574 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.3783, allocations: 1.73 MB / 0.5757 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.3794, allocations: 0.8917 MB / 0.5765 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/0.3812, allocations: 1.172 MB / 0.5777 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004345/0.3817, allocations: 196 kB / 0.5779 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.3831, allocations: 0.6045 MB / 0.5785 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00121/0.3843, allocations: 1.141 MB / 0.5796 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.3854, allocations: 0.9432 MB / 0.5805 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005201/0.3906, allocations: 4.348 MB / 0.5847 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3906, allocations: 4 kB / 0.5847 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3906, allocations: 0 / 0.5847 GB, free: 11.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.952e-05/0.3907, allocations: 0 / 0.5847 GB, free: 11.37 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.005121/0.3958, allocations: 2.859 MB / 0.5875 GB, free: 8.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3958, allocations: 12.03 kB / 0.5875 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005118/0.401, allocations: 1.578 MB / 0.5891 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/0.4037, allocations: 1.29 MB / 0.5903 GB, free: 5.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.4038, allocations: 144 kB / 0.5905 GB, free: 5.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003447/0.4041, allocations: 191.8 kB / 0.5907 GB, free: 5.223 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009596/0.4137, allocations: 6.25 MB / 0.5968 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.866e-05/0.4138, allocations: 11.88 kB / 0.5968 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/0.414, allocations: 87.91 kB / 0.5969 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002121/0.4161, allocations: 1.34 MB / 0.5982 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/0.4262, allocations: 5.326 MB / 0.6034 GB, free: 7.918 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02573/0.452, allocations: 18.25 MB / 0.6212 GB, free: 5.105 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004027/0.456, allocations: 1.561 MB / 0.6227 GB, free: 3.527 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000967/0.457, allocations: 0.6351 MB / 0.6233 GB, free: 2.883 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005684/0.4627, allocations: 2.881 MB / 0.6262 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.4627, allocations: 39 kB / 0.6262 GB, free: 15.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.665e-06/0.4627, allocations: 3.938 kB / 0.6262 GB, free: 15.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005449/0.4681, allocations: 1.971 MB / 0.6281 GB, free: 13.95 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.4682, allocations: 55.84 kB / 0.6282 GB, free: 13.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002781/0.471, allocations: 1.935 MB / 0.6301 GB, free: 11.93 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.73e-05/0.471, allocations: 37.69 kB / 0.6301 GB, free: 11.89 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001577/0.4726, allocations: 1.919 MB / 0.632 GB, free: 9.949 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003375/0.4729, allocations: 333.5 kB / 0.6323 GB, free: 9.621 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008488/0.4738, allocations: 0.6156 MB / 0.6329 GB, free: 8.996 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.474, allocations: 349.9 kB / 0.6332 GB, free: 8.648 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.4754, allocations: 0.8958 MB / 0.6341 GB, free: 7.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002999/0.4784, allocations: 2.744 MB / 0.6368 GB, free: 4.074 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004738/0.4831, allocations: 3.968 MB / 0.6407 GB, free: 15.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.789e-05/0.4832, allocations: 20 kB / 0.6407 GB, free: 15.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005772/0.4889, allocations: 3.527 MB / 0.6441 GB, free: 11.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.489, allocations: 35.98 kB / 0.6442 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-05/0.4891, allocations: 64 kB / 0.6442 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.993e-05/0.4892, allocations: 88.75 kB / 0.6443 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/0.4912, allocations: 0.655 MB / 0.6449 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001261/0.4913, allocations: 131.5 kB / 0.6451 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.4931, allocations: 417 kB / 0.6455 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/0.4934, allocations: 184 kB / 0.6456 GB, free: 10.07 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 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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.001968/0.4953, allocations: 1.346 MB / 0.647 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.4956, allocations: 158.9 kB / 0.6471 GB, free: 8.555 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.4959, allocations: 192 kB / 0.6473 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.496, allocations: 15.94 kB / 0.6473 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.496, allocations: 0 / 0.6473 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.496, allocations: 3.984 kB / 0.6473 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005965/0.5019, allocations: 3.11 MB / 0.6503 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.502, allocations: 4 kB / 0.6503 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004145/0.5024, allocations: 100.6 kB / 0.6504 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/0.5024, allocations: 8 kB / 0.6505 GB, free: 5.008 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/0.5024, allocations: 16 kB / 0.6505 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.349e-05/0.5024, allocations: 15.94 kB / 0.6505 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/0.5024, allocations: 15.88 kB / 0.6505 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.5041, allocations: 1.225 MB / 0.6517 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.5044, allocations: 158.7 kB / 0.6518 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.5045, allocations: 15.98 kB / 0.6519 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004864/0.505, allocations: 35.97 kB / 0.6519 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.5051, allocations: 55.69 kB / 0.6519 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/0.5052, allocations: 28 kB / 0.652 GB, free: 3.355 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001693/0.5069, allocations: 1.118 MB / 0.6531 GB, free: 2.242 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5069, allocations: 0 / 0.6531 GB, free: 2.242 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002396/0.5093, allocations: 0.7006 MB / 0.6538 GB, free: 1.539 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0003119/0.5096, allocations: 146.8 kB / 0.6539 GB, free: 1.383 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002979/0.5126, allocations: 1.945 MB / 0.6558 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5126, allocations: 8 kB / 0.6558 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.5132, allocations: 431.9 kB / 0.6562 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009932/0.5142, allocations: 185.1 kB / 0.6564 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009141/0.5233, allocations: 5.068 MB / 0.6613 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002753/0.5261, allocations: 1.704 MB / 0.663 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002275/0.5283, allocations: 0.935 MB / 0.6639 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.5286, allocations: 111.4 kB / 0.664 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of SimCode: time 8.51e-07/0.5286, allocations: 0 / 0.664 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of Templates: time 0.03007/0.5587, allocations: 14.18 MB / 0.6779 GB, free: 8.879 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.726375680416822]