Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.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.001485/0.001485, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.00158/0.00158, allocations: 223.2 kB / 23 MB, free: 4.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2446/0.2446, allocations: 44.25 MB / 330.3 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002313/0.002313, allocations: 71.89 kB / 468 MB, free: 3.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1192, allocations: 61.05 MB / 0.5166 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01879/0.138, allocations: 14.75 MB / 0.5311 GB, free: 7.859 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.014/0.152, allocations: 5.109 MB / 0.536 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0042/0.1562, allocations: 155.2 kB / 0.5362 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2874/0.4436, allocations: 5.9 MB / 0.542 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009926/0.4536, allocations: 3.192 MB / 0.5451 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00473/0.4583, allocations: 1.58 MB / 0.5466 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01691/0.4752, allocations: 8.187 MB / 0.5546 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01176/0.487, allocations: 5.674 MB / 0.5601 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008765/0.4957, allocations: 3.244 MB / 0.5633 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009434/0.5052, allocations: 4.281 MB / 0.5675 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004123/0.5093, allocations: 0.6402 MB / 0.5681 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00716/0.5164, allocations: 1.363 MB / 0.5695 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007592/0.524, allocations: 4.018 MB / 0.5734 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01034/0.5344, allocations: 3.205 MB / 0.5765 GB, free: 15.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02728/0.5617, allocations: 13.22 MB / 0.5894 GB, free: 6.535 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.5617, allocations: 0 / 0.5894 GB, free: 6.535 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.5617, allocations: 0 / 0.5894 GB, free: 6.535 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006962/0.5624, allocations: 4 kB / 0.5894 GB, free: 6.531 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: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.03009/0.5924, allocations: 9.41 MB / 0.5986 GB, free: 13.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.5925, allocations: 8.031 kB / 0.5986 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/0.6049, allocations: 2.723 MB / 0.6013 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.6183, allocations: 5.006 MB / 0.6062 GB, free: 5.465 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006357/0.6189, allocations: 470.3 kB / 0.6066 GB, free: 5.074 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003519/0.6224, allocations: 0.5957 MB / 0.6072 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.045/0.6674, allocations: 18.81 MB / 0.6256 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003123/0.6677, allocations: 83.33 kB / 0.6256 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001837/0.6696, allocations: 285 kB / 0.6259 GB, free: 484 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00633/0.6759, allocations: 3.45 MB / 0.6293 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03791/0.7138, allocations: 14.58 MB / 0.6435 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1119/0.8257, allocations: 65.55 MB / 0.7075 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01762/0.8433, allocations: 5.475 MB / 0.7129 GB, free: 5.941 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004404/0.8477, allocations: 2.306 MB / 0.7151 GB, free: 3.625 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02191/0.8696, allocations: 8.431 MB / 0.7234 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.878e-05/0.8697, allocations: 72.42 kB / 0.7234 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=238): time 5.861e-06/0.8697, allocations: 0 / 0.7234 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262): time 0.04676/0.9164, allocations: 16.22 MB / 0.7393 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.9166, allocations: 158.5 kB / 0.7394 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01035/0.9269, allocations: 6.299 MB / 0.7456 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005582/0.9275, allocations: 76 kB / 0.7456 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005839/0.9333, allocations: 5.758 MB / 0.7513 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001781/0.9351, allocations: 1.061 MB / 0.7523 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00325/0.9383, allocations: 1.841 MB / 0.7541 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.9385, allocations: 313 kB / 0.7544 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005189/0.9437, allocations: 2.649 MB / 0.757 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.503/1.447, allocations: 8.368 MB / 0.7652 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01457/1.461, allocations: 11.99 MB / 0.7769 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002699/1.462, allocations: 58.56 kB / 0.7769 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02259/1.484, allocations: 10.7 MB / 0.7874 GB, free: 165.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001802/1.484, allocations: 90.22 kB / 0.7875 GB, free: 165.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004227/1.485, allocations: 202.4 kB / 0.7877 GB, free: 165.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004028/1.485, allocations: 271 kB / 0.7879 GB, free: 165.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007655/1.493, allocations: 2.14 MB / 0.79 GB, free: 165 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004348/1.493, allocations: 400.8 kB / 0.7904 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006866/1.5, allocations: 455.7 kB / 0.7908 GB, free: 164.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00146/1.502, allocations: 0.5564 MB / 0.7914 GB, free: 164.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1155): * Single equations (assignments): 1144 * Array equations: 11 * 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.007643/1.509, allocations: 3.617 MB / 0.7949 GB, free: 163.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/1.51, allocations: 0.5478 MB / 0.7954 GB, free: 163.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005123/1.516, allocations: 2.744 MB / 0.7981 GB, free: 162.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.885e-05/1.516, allocations: 29.39 kB / 0.7981 GB, free: 162.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/1.516, allocations: 0.625 kB / 0.7981 GB, free: 162.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.993e-05/1.516, allocations: 16.25 kB / 0.7982 GB, free: 162.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0329/1.549, allocations: 24.2 MB / 0.8218 GB, free: 153 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-05/1.549, allocations: 57.66 kB / 0.8218 GB, free: 153 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/1.55, allocations: 0.5247 MB / 0.8224 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-05/1.55, allocations: 72 kB / 0.8224 GB, free: 152.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/1.551, allocations: 119.6 kB / 0.8225 GB, free: 152.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.083e-05/1.551, allocations: 103.2 kB / 0.8226 GB, free: 152.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.41e-05/1.551, allocations: 81.75 kB / 0.8227 GB, free: 152.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005051/1.556, allocations: 5.214 MB / 0.8278 GB, free: 147 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001572/1.557, allocations: 0.5644 MB / 0.8284 GB, free: 146.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006635/1.558, allocations: 131.2 kB / 0.8285 GB, free: 146.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002333/1.56, allocations: 138.7 kB / 0.8286 GB, free: 146.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000452/1.561, allocations: 362.6 kB / 0.829 GB, free: 146.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/1.561, allocations: 147.8 kB / 0.8291 GB, free: 146.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007292/1.568, allocations: 3.668 MB / 0.8327 GB, free: 143.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.568, allocations: 0 / 0.8327 GB, free: 143.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01306/1.581, allocations: 1.494 MB / 0.8341 GB, free: 141.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.0008861/1.582, allocations: 300.1 kB / 0.8344 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01016/1.592, allocations: 6.033 MB / 0.8403 GB, free: 135.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.967e-05/1.592, allocations: 8 kB / 0.8403 GB, free: 135.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00221/1.595, allocations: 1.438 MB / 0.8417 GB, free: 134.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00687/1.601, allocations: 0.808 MB / 0.8425 GB, free: 133.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02969/1.631, allocations: 17.16 MB / 0.8593 GB, free: 115.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008318/1.639, allocations: 5.102 MB / 0.8643 GB, free: 110.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006305/1.646, allocations: 2.71 MB / 0.8669 GB, free: 107.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.647, allocations: 375.4 kB / 0.8673 GB, free: 107.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.844e-06/1.647, allocations: 0 / 0.8673 GB, free: 107.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.08616/1.733, allocations: 43.71 MB / 0.91 GB, free: 63.67 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.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: 8.84288677200675]