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.001594/0.001594, allocations: 109.7 kB / 18.33 MB, free: 4.078 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.001752/0.001752, allocations: 185.9 kB / 21.5 MB, free: 0.9219 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.603/1.603, allocations: 207.6 MB / 232.1 MB, free: 11.12 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.241/0.241, allocations: 44.24 MB / 328.4 MB, free: 10.07 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.003118/0.003118, allocations: 82.36 kB / 465.5 MB, free: 4.922 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.181, allocations: 61 MB / 0.5142 GB, free: 7.777 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.02178/0.2028, allocations: 17.13 MB / 0.5309 GB, free: 6.578 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01672/0.2195, allocations: 5.374 MB / 0.5362 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005229/0.2247, allocations: 123.7 kB / 0.5363 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3438/0.5685, allocations: 6.16 MB / 0.5423 GB, free: 9.707 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01016/0.5787, allocations: 3.164 MB / 0.5454 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004555/0.5832, allocations: 1.587 MB / 0.547 GB, free: 9.527 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01671/0.5999, allocations: 8.194 MB / 0.555 GB, free: 8.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01036/0.6103, allocations: 5.342 MB / 0.5602 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008264/0.6186, allocations: 3.207 MB / 0.5633 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00896/0.6275, allocations: 4.548 MB / 0.5677 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003398/0.6309, allocations: 0.6415 MB / 0.5684 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005689/0.6366, allocations: 1.496 MB / 0.5698 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006203/0.6428, allocations: 4.008 MB / 0.5737 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01241/0.6552, allocations: 4.287 MB / 0.5779 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02775/0.683, allocations: 13.14 MB / 0.5908 GB, free: 2.359 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.683, allocations: 0 / 0.5908 GB, free: 2.359 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.683, allocations: 0 / 0.5908 GB, free: 2.359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006101/0.6836, allocations: 0 / 0.5908 GB, free: 2.359 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.03084/0.7144, allocations: 9.493 MB / 0.6 GB, free: 8.949 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.7145, allocations: 19.84 kB / 0.6 GB, free: 8.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01259/0.7271, allocations: 2.721 MB / 0.6027 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01249/0.7396, allocations: 5.088 MB / 0.6077 GB, free: 1.113 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005695/0.7401, allocations: 467.5 kB / 0.6081 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00273/0.7429, allocations: 0.5926 MB / 0.6087 GB, free: 204 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04194/0.7848, allocations: 18.73 MB / 0.627 GB, free: 12.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002601/0.7851, allocations: 79.34 kB / 0.6271 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001255/0.7863, allocations: 287.6 kB / 0.6273 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005519/0.7918, allocations: 3.446 MB / 0.6307 GB, free: 8.797 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03533/0.8272, allocations: 14.6 MB / 0.645 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.124/0.9512, allocations: 70.33 MB / 0.7136 GB, free: 2.391 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0181/0.9693, allocations: 5.944 MB / 0.7195 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004491/0.9737, allocations: 2.309 MB / 0.7217 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02391/0.9977, allocations: 10.84 MB / 0.7323 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.604e-05/0.9977, allocations: 56.56 kB / 0.7323 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=238): time 5.801e-06/0.9977, allocations: 4 kB / 0.7324 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=262): time 0.05619/1.054, allocations: 16.28 MB / 0.7483 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/1.054, allocations: 154.5 kB / 0.7484 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0135/1.068, allocations: 6.657 MB / 0.7549 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005358/1.068, allocations: 73.06 kB / 0.755 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005497/1.074, allocations: 5.748 MB / 0.7606 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00151/1.075, allocations: 1.051 MB / 0.7616 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.5991/1.674, allocations: 1.842 MB / 0.7634 GB, free: 187.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.872e-05/1.674, allocations: 302.6 kB / 0.7637 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005221/1.679, allocations: 2.656 MB / 0.7663 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008032/1.688, allocations: 8.374 MB / 0.7745 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01503/1.703, allocations: 12 MB / 0.7862 GB, free: 168.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004687/1.703, allocations: 62.06 kB / 0.7862 GB, free: 168.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02736/1.73, allocations: 10.75 MB / 0.7967 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003513/1.731, allocations: 95.75 kB / 0.7968 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004792/1.731, allocations: 203 kB / 0.797 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005021/1.732, allocations: 267.8 kB / 0.7973 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008936/1.741, allocations: 2.143 MB / 0.7994 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007724/1.741, allocations: 397 kB / 0.7998 GB, free: 164.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009233/1.751, allocations: 461.3 kB / 0.8002 GB, free: 164.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00207/1.753, allocations: 0.5549 MB / 0.8007 GB, free: 164 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.009026/1.762, allocations: 3.622 MB / 0.8043 GB, free: 162.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001515/1.763, allocations: 0.5962 MB / 0.8049 GB, free: 162.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005536/1.769, allocations: 2.799 MB / 0.8076 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.149e-05/1.769, allocations: 35.22 kB / 0.8076 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/1.769, allocations: 0 / 0.8076 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.572e-05/1.769, allocations: 11.48 kB / 0.8076 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03881/1.808, allocations: 26.57 MB / 0.8336 GB, free: 146.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001635/1.808, allocations: 52 kB / 0.8336 GB, free: 146.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/1.81, allocations: 0.5311 MB / 0.8341 GB, free: 146 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.517e-05/1.81, allocations: 71.94 kB / 0.8342 GB, free: 145.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003932/1.81, allocations: 119.9 kB / 0.8343 GB, free: 145.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.274e-05/1.81, allocations: 99.59 kB / 0.8344 GB, free: 145.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.343e-05/1.81, allocations: 87.62 kB / 0.8345 GB, free: 145.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005541/1.816, allocations: 5.272 MB / 0.8397 GB, free: 139.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002093/1.818, allocations: 0.7048 MB / 0.8403 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0013/1.819, allocations: 127.9 kB / 0.8405 GB, free: 139 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00322/1.822, allocations: 135.9 kB / 0.8406 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004254/1.823, allocations: 362.3 kB / 0.8409 GB, free: 138.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000256/1.823, allocations: 144 kB / 0.8411 GB, free: 138.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007915/1.831, allocations: 4.158 MB / 0.8451 GB, free: 134.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4e-07/1.831, allocations: 0 / 0.8451 GB, free: 134.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01356/1.845, allocations: 1.512 MB / 0.8466 GB, free: 132.7 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.001242/1.846, allocations: 301.8 kB / 0.8469 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01095/1.857, allocations: 6.028 MB / 0.8528 GB, free: 126.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.74e-05/1.857, allocations: 8.312 kB / 0.8528 GB, free: 126.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002295/1.859, allocations: 1.441 MB / 0.8542 GB, free: 125 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008809/1.868, allocations: 0.9342 MB / 0.8551 GB, free: 124.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03256/1.901, allocations: 17.23 MB / 0.8719 GB, free: 106.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008227/1.909, allocations: 5.571 MB / 0.8774 GB, free: 100.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006505/1.915, allocations: 2.786 MB / 0.8801 GB, free: 97.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/1.916, allocations: 403.4 kB / 0.8805 GB, free: 97.36 MB / 0.5919 GB Notification: Performance of SimCode: time 2.094e-06/1.916, allocations: 0 / 0.8805 GB, free: 97.36 MB / 0.5919 GB Notification: Performance of Templates: time 0.08924/2.006, allocations: 42.77 MB / 0.9223 GB, free: 54.74 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.108495812863111]