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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 107.2 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 191 kB / 22.98 MB, free: 5.062 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.628/1.628, allocations: 207.6 MB / 233.7 MB, free: 10 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.2443/0.2443, allocations: 44.23 MB / 330.2 MB, free: 9.555 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 74.55 kB / 468 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1575, allocations: 61.03 MB / 0.5166 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.02367/0.1812, allocations: 17.14 MB / 0.5333 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01531/0.1965, allocations: 5.366 MB / 0.5386 GB, free: 280 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004321/0.2008, allocations: 155.3 kB / 0.5387 GB, free: 124 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2904/0.4912, allocations: 6.156 MB / 0.5447 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.5013, allocations: 3.18 MB / 0.5478 GB, free: 9.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004705/0.506, allocations: 1.59 MB / 0.5494 GB, free: 9.816 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01671/0.5227, allocations: 8.195 MB / 0.5574 GB, free: 8.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009161/0.5318, allocations: 5.347 MB / 0.5626 GB, free: 6.309 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006838/0.5387, allocations: 3.244 MB / 0.5658 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007651/0.5463, allocations: 4.546 MB / 0.5702 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003002/0.5493, allocations: 0.6408 MB / 0.5708 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00514/0.5545, allocations: 1.505 MB / 0.5723 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006791/0.5613, allocations: 4.016 MB / 0.5762 GB, free: 15.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01325/0.5745, allocations: 4.283 MB / 0.5804 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02658/0.6011, allocations: 13.14 MB / 0.5932 GB, free: 1.387 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.6011, allocations: 0 / 0.5932 GB, free: 1.387 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6011, allocations: 0 / 0.5932 GB, free: 1.387 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007078/0.6018, allocations: 0 / 0.5932 GB, free: 1.387 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.02629/0.6281, allocations: 9.408 MB / 0.6024 GB, free: 8.078 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.6281, allocations: 12.03 kB / 0.6024 GB, free: 8.066 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01298/0.6411, allocations: 2.722 MB / 0.6051 GB, free: 5.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01283/0.654, allocations: 5.001 MB / 0.61 GB, free: 332 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006332/0.6546, allocations: 472.1 kB / 0.6104 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003157/0.6578, allocations: 0.5811 MB / 0.611 GB, free: 15.42 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04149/0.6992, allocations: 18.73 MB / 0.6293 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002769/0.6995, allocations: 79.34 kB / 0.6294 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001274/0.7008, allocations: 290.9 kB / 0.6297 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00601/0.7068, allocations: 3.451 MB / 0.633 GB, free: 8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.042/0.7488, allocations: 14.6 MB / 0.6473 GB, free: 9.387 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1231/0.8719, allocations: 70.27 MB / 0.7159 GB, free: 1.613 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01986/0.8917, allocations: 5.494 MB / 0.7213 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005229/0.897, allocations: 2.294 MB / 0.7235 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02611/0.9231, allocations: 9.047 MB / 0.7324 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.821e-05/0.9232, allocations: 60.5 kB / 0.7324 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=238): time 5.39e-06/0.9232, allocations: 0 / 0.7324 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262): time 0.05511/0.9783, allocations: 16.28 MB / 0.7483 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.9784, allocations: 158.5 kB / 0.7485 GB, free: 360 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01604/0.9945, allocations: 6.657 MB / 0.755 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005475/0.995, allocations: 61.7 kB / 0.755 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005768/1.001, allocations: 5.759 MB / 0.7606 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001617/1.002, allocations: 1.049 MB / 0.7617 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003104/1.005, allocations: 1.847 MB / 0.7635 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.006, allocations: 305.1 kB / 0.7638 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5745/1.58, allocations: 2.652 MB / 0.7664 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009103/1.589, allocations: 8.376 MB / 0.7745 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01317/1.602, allocations: 12 MB / 0.7863 GB, free: 168.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003011/1.603, allocations: 57.38 kB / 0.7863 GB, free: 168.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02286/1.626, allocations: 10.74 MB / 0.7968 GB, free: 164.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002512/1.626, allocations: 95.67 kB / 0.7969 GB, free: 164.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004059/1.626, allocations: 202.5 kB / 0.7971 GB, free: 164.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004632/1.627, allocations: 267.2 kB / 0.7973 GB, free: 164.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007928/1.635, allocations: 2.139 MB / 0.7994 GB, free: 164.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004887/1.635, allocations: 401.4 kB / 0.7998 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007984/1.643, allocations: 457 kB / 0.8002 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001776/1.645, allocations: 0.5553 MB / 0.8008 GB, free: 164.3 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.009942/1.655, allocations: 3.627 MB / 0.8043 GB, free: 162.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001505/1.656, allocations: 0.6008 MB / 0.8049 GB, free: 162.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005438/1.662, allocations: 2.794 MB / 0.8076 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/1.662, allocations: 27.62 kB / 0.8077 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.662, allocations: 0.6094 kB / 0.8077 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.057e-05/1.662, allocations: 13.8 kB / 0.8077 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0485/1.71, allocations: 26.55 MB / 0.8336 GB, free: 148.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-05/1.71, allocations: 55.94 kB / 0.8337 GB, free: 148.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002759/1.713, allocations: 0.5224 MB / 0.8342 GB, free: 147.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.847e-05/1.713, allocations: 68.75 kB / 0.8342 GB, free: 147.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002626/1.713, allocations: 120 kB / 0.8344 GB, free: 147.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-05/1.714, allocations: 104.1 kB / 0.8345 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.757e-05/1.714, allocations: 95.56 kB / 0.8346 GB, free: 147.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007812/1.721, allocations: 5.269 MB / 0.8397 GB, free: 141.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002946/1.724, allocations: 0.6295 MB / 0.8403 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001409/1.726, allocations: 131.6 kB / 0.8404 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004436/1.73, allocations: 135.9 kB / 0.8406 GB, free: 140.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006126/1.731, allocations: 376.4 kB / 0.8409 GB, free: 140.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002929/1.731, allocations: 148 kB / 0.8411 GB, free: 140.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.009227/1.74, allocations: 4.154 MB / 0.8451 GB, free: 136 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/1.74, allocations: 0 / 0.8451 GB, free: 136 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01407/1.754, allocations: 1.508 MB / 0.8466 GB, free: 134.5 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.001012/1.755, allocations: 290.4 kB / 0.8469 GB, free: 134.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01332/1.769, allocations: 6.028 MB / 0.8528 GB, free: 128.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.413e-05/1.769, allocations: 10 kB / 0.8528 GB, free: 128.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002938/1.772, allocations: 1.445 MB / 0.8542 GB, free: 126.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009957/1.782, allocations: 0.9346 MB / 0.8551 GB, free: 125.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04101/1.823, allocations: 17.22 MB / 0.8719 GB, free: 107.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01393/1.837, allocations: 5.582 MB / 0.8774 GB, free: 102.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01077/1.847, allocations: 2.784 MB / 0.8801 GB, free: 99.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00201/1.849, allocations: 399.3 kB / 0.8805 GB, free: 99.13 MB / 0.5919 GB Notification: Performance of SimCode: time 1.142e-06/1.849, allocations: 0 / 0.8805 GB, free: 99.13 MB / 0.5919 GB Notification: Performance of Templates: time 0.1191/1.968, allocations: 46.47 MB / 0.9259 GB, free: 52.9 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: 9.250312082469463]