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.002038/0.002038, allocations: 87.67 kB / 20.21 MB, free: 4.207 MB / 18.57 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.002716/0.002716, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 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.331/1.331, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 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.3487/0.3487, allocations: 32.38 MB / 270 MB, free: 14.76 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.649e-05, allocations: 6.312 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01623/0.01626, allocations: 16.27 MB / 363.2 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.02917, allocations: 5.233 MB / 368.4 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002646/0.03182, allocations: 151.3 kB / 368.6 MB, free: 4.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0138/0.04561, allocations: 6.519 MB / 375.1 MB, free: 13.53 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009239/0.05485, allocations: 3.281 MB / 378.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004337/0.05919, allocations: 1.801 MB / 380.2 MB, free: 8.426 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01534/0.07453, allocations: 9.423 MB / 389.6 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01188/0.08641, allocations: 6.901 MB / 396.5 MB, free: 7.988 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01189/0.0983, allocations: 4.892 MB / 401.4 MB, free: 3.086 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00921/0.1075, allocations: 4.875 MB / 406.3 MB, free: 14.2 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002289/0.1098, allocations: 0.664 MB / 406.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003974/0.1138, allocations: 1.455 MB / 408.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005923/0.1197, allocations: 4.239 MB / 412.6 MB, free: 7.828 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005899/0.1256, allocations: 2.555 MB / 415.2 MB, free: 5.266 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02035/0.1459, allocations: 13.27 MB / 428.5 MB, free: 7.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.146, allocations: 4 kB / 428.5 MB, free: 7.953 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.155e-06/0.146, allocations: 0 / 428.5 MB, free: 7.953 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005788/0.1465, allocations: 0 / 428.5 MB, free: 7.953 MB / 362.7 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.2805/0.4271, allocations: 10.96 MB / 439.4 MB, free: 85.88 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.4271, allocations: 9.781 kB / 439.4 MB, free: 85.88 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01417/0.4413, allocations: 3.661 MB / 443.1 MB, free: 84.99 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/0.452, allocations: 4.415 MB / 447.5 MB, free: 81.61 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/0.4523, allocations: 449.4 kB / 447.9 MB, free: 81.23 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001812/0.4542, allocations: 0.592 MB / 448.5 MB, free: 80.71 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02356/0.4777, allocations: 12.08 MB / 460.6 MB, free: 67.21 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001844/0.4779, allocations: 78.95 kB / 460.7 MB, free: 67.14 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006719/0.4786, allocations: 291.7 kB / 461 MB, free: 66.86 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004176/0.4828, allocations: 3.437 MB / 464.4 MB, free: 63.41 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02016/0.5029, allocations: 6.259 MB / 470.7 MB, free: 57.17 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09991/0.6028, allocations: 85.66 MB / 0.5433 GB, free: 1.398 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01661/0.6194, allocations: 4.078 MB / 0.5473 GB, free: 13.27 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003077/0.6225, allocations: 0.9833 MB / 0.5482 GB, free: 12.28 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02063/0.6431, allocations: 6.928 MB / 0.555 GB, free: 5.375 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000316/0.6435, allocations: 67.33 kB / 0.5551 GB, free: 5.301 MB / 410.8 MB Notification: Performance of pre-optimization done (n=238): time 5.37e-06/0.6435, allocations: 0 / 0.5551 GB, free: 5.301 MB / 410.8 MB Notification: Performance of matching and sorting (n=262): time 0.04756/0.691, allocations: 14.72 MB / 0.5694 GB, free: 6.652 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.6912, allocations: 158.5 kB / 0.5696 GB, free: 6.469 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01299/0.7042, allocations: 7.193 MB / 0.5766 GB, free: 15.24 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005172/0.7047, allocations: 61.7 kB / 0.5767 GB, free: 15.17 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00686/0.7115, allocations: 6.29 MB / 0.5828 GB, free: 8.824 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002139/0.7137, allocations: 1.144 MB / 0.5839 GB, free: 7.672 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004131/0.7178, allocations: 2.323 MB / 0.5862 GB, free: 5.332 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0003106/0.7181, allocations: 480.7 kB / 0.5867 GB, free: 4.859 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003014/0.7211, allocations: 1.033 MB / 0.5877 GB, free: 3.82 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2023/0.9235, allocations: 9.758 MB / 0.5972 GB, free: 129 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/0.9343, allocations: 11.84 MB / 0.6088 GB, free: 117.2 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000323/0.9346, allocations: 57.19 kB / 0.6088 GB, free: 117.2 MB / 442.8 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.01789/0.9525, allocations: 7.999 MB / 0.6166 GB, free: 115.7 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001962/0.9527, allocations: 91.16 kB / 0.6167 GB, free: 115.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002385/0.9529, allocations: 205.3 kB / 0.6169 GB, free: 115.7 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002436/0.9532, allocations: 267.4 kB / 0.6172 GB, free: 115.7 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01031/0.9635, allocations: 2.149 MB / 0.6193 GB, free: 115.5 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00052/0.964, allocations: 399.2 kB / 0.6197 GB, free: 115.4 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01233/0.9763, allocations: 0.6875 MB / 0.6203 GB, free: 115.4 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001951/0.9783, allocations: 0.5566 MB / 0.6209 GB, free: 115.4 MB / 442.8 MB 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.00537/0.9837, allocations: 1.065 MB / 0.6219 GB, free: 115 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001697/0.9854, allocations: 0.6139 MB / 0.6225 GB, free: 115 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005068/0.9904, allocations: 1.727 MB / 0.6242 GB, free: 114.9 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.296e-05/0.9905, allocations: 27 kB / 0.6242 GB, free: 114.9 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.9905, allocations: 0 / 0.6242 GB, free: 114.9 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.231e-05/0.9905, allocations: 17.95 kB / 0.6242 GB, free: 114.9 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03748/1.028, allocations: 15.24 MB / 0.6391 GB, free: 104.1 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-05/1.028, allocations: 56.19 kB / 0.6392 GB, free: 104.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00267/1.031, allocations: 0.523 MB / 0.6397 GB, free: 103.6 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.651e-05/1.031, allocations: 68 kB / 0.6397 GB, free: 103.5 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002442/1.031, allocations: 115.8 kB / 0.6399 GB, free: 103.4 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.387e-05/1.031, allocations: 103.2 kB / 0.64 GB, free: 103.3 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-05/1.031, allocations: 91.56 kB / 0.64 GB, free: 103.3 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006908/1.038, allocations: 5.035 MB / 0.645 GB, free: 97.57 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002386/1.04, allocations: 0.6458 MB / 0.6456 GB, free: 97.14 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001375/1.042, allocations: 124 kB / 0.6457 GB, free: 97.03 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004615/1.046, allocations: 283.8 kB / 0.646 GB, free: 96.84 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000491/1.047, allocations: 369.2 kB / 0.6463 GB, free: 96.57 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002463/1.047, allocations: 144 kB / 0.6465 GB, free: 96.43 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.007048/1.054, allocations: 3.029 MB / 0.6494 GB, free: 93.88 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.01e-07/1.054, allocations: 0 / 0.6494 GB, free: 93.88 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01245/1.067, allocations: 1.7 MB / 0.6511 GB, free: 92.2 MB / 442.8 MB 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.0009463/1.068, allocations: 320.3 kB / 0.6514 GB, free: 91.93 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01333/1.081, allocations: 4.592 MB / 0.6559 GB, free: 87.44 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001099/1.081, allocations: 8 kB / 0.6559 GB, free: 87.43 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00256/1.084, allocations: 0.992 MB / 0.6569 GB, free: 86.45 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01092/1.095, allocations: 0.8437 MB / 0.6577 GB, free: 85.64 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03864/1.133, allocations: 15.65 MB / 0.673 GB, free: 68.88 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009826/1.143, allocations: 4.655 MB / 0.6775 GB, free: 64.2 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.006535/1.15, allocations: 2.397 MB / 0.6798 GB, free: 61.8 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/1.151, allocations: 384.4 kB / 0.6802 GB, free: 61.43 MB / 442.8 MB Notification: Performance of SimCode: time 2.334e-06/1.151, allocations: 0 / 0.6802 GB, free: 61.43 MB / 442.8 MB Notification: Performance of Templates: time 0.08059/1.231, allocations: 37.79 MB / 0.7171 GB, free: 23.82 MB / 442.8 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] 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.0691253549885]