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.0009673/0.0009673, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008715/0.0008715, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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 0.8312/0.8312, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.1252/0.1252, allocations: 32.38 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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.372e-06/1.372e-06, allocations: 0 / 408.1 MB, free: 1.723 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.998e-05, allocations: 2.281 kB / 408.1 MB, free: 1.719 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01065/0.01067, allocations: 14.78 MB / 422.9 MB, free: 2.883 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008118/0.01878, allocations: 5.116 MB / 428 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.02057, allocations: 151.3 kB / 428.1 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00516/0.02573, allocations: 6.226 MB / 434.4 MB, free: 7.355 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00454/0.03027, allocations: 3.269 MB / 437.6 MB, free: 4.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.03221, allocations: 1.75 MB / 439.4 MB, free: 2.316 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006769/0.03898, allocations: 9.427 MB / 448.8 MB, free: 8.867 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005982/0.04496, allocations: 6.668 MB / 455.5 MB, free: 2.105 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007005/0.05197, allocations: 4.865 MB / 460.3 MB, free: 13.23 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004406/0.05637, allocations: 4.774 MB / 465.1 MB, free: 8.445 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008194/0.05719, allocations: 0.6562 MB / 465.8 MB, free: 7.789 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.05888, allocations: 1.455 MB / 467.2 MB, free: 6.332 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002251/0.06113, allocations: 4.212 MB / 471.4 MB, free: 2.105 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1756/0.2367, allocations: 2.534 MB / 474 MB, free: 62.87 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009554/0.2462, allocations: 13.23 MB / 487.2 MB, free: 62.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2462, allocations: 0 / 487.2 MB, free: 62.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2462, allocations: 1.75 kB / 487.2 MB, free: 62.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002479/0.2465, allocations: 0 / 487.2 MB, free: 62.18 MB / 442.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.01064/0.2571, allocations: 9.54 MB / 496.7 MB, free: 58.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2572, allocations: 9.531 kB / 496.8 MB, free: 58.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005757/0.2629, allocations: 2.803 MB / 499.6 MB, free: 58.03 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00622/0.2691, allocations: 4.882 MB / 0.4926 GB, free: 57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002756/0.2694, allocations: 465.8 kB / 0.4931 GB, free: 56.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009342/0.2704, allocations: 0.5877 MB / 0.4936 GB, free: 56.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02048/0.2908, allocations: 18.86 MB / 0.5121 GB, free: 48.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001312/0.291, allocations: 69.41 kB / 0.5121 GB, free: 48.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005127/0.2915, allocations: 290.5 kB / 0.5124 GB, free: 48.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002622/0.2941, allocations: 3.447 MB / 0.5158 GB, free: 47.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01602/0.3101, allocations: 14.63 MB / 0.53 GB, free: 43.03 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0485/0.3586, allocations: 66.05 MB / 0.5945 GB, free: 8.211 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009545/0.3682, allocations: 5.789 MB / 0.6002 GB, free: 2.395 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002246/0.3704, allocations: 2.305 MB / 0.6024 GB, free: 92 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/0.3815, allocations: 8.813 MB / 0.6111 GB, free: 7.352 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.3815, allocations: 64.88 kB / 0.6111 GB, free: 7.285 MB / 490.7 MB Notification: Performance of pre-optimization done (n=238): time 3.848e-06/0.3815, allocations: 0 / 0.6111 GB, free: 7.285 MB / 490.7 MB Notification: Performance of matching and sorting (n=262): time 0.02577/0.4073, allocations: 17.35 MB / 0.6281 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.4074, allocations: 157.8 kB / 0.6282 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0069/0.4143, allocations: 6.722 MB / 0.6348 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.4144, allocations: 72.75 kB / 0.6348 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002788/0.4172, allocations: 5.722 MB / 0.6404 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006349/0.4178, allocations: 1.05 MB / 0.6415 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001609/0.4194, allocations: 1.815 MB / 0.6432 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.015e-05/0.4195, allocations: 301.1 kB / 0.6435 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003087/0.4226, allocations: 2.661 MB / 0.6461 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005499/0.4281, allocations: 8.369 MB / 0.6543 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1919/0.6199, allocations: 12 MB / 0.666 GB, free: 159 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001918/0.6201, allocations: 58.84 kB / 0.6661 GB, free: 159 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.01126/0.6314, allocations: 10.69 MB / 0.6765 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.89e-05/0.6315, allocations: 98.66 kB / 0.6766 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/0.6316, allocations: 202.5 kB / 0.6768 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/0.6317, allocations: 268.2 kB / 0.677 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/0.6349, allocations: 2.137 MB / 0.6791 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003158/0.6352, allocations: 401.9 kB / 0.6795 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003961/0.6392, allocations: 0.6663 MB / 0.6802 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005124/0.6397, allocations: 0.5603 MB / 0.6807 GB, free: 157.1 MB / 0.5261 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.004559/0.6442, allocations: 3.621 MB / 0.6842 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006359/0.6449, allocations: 0.5407 MB / 0.6848 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003027/0.6479, allocations: 2.749 MB / 0.6875 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/0.6479, allocations: 33.66 kB / 0.6875 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.6479, allocations: 2.25 kB / 0.6875 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/0.648, allocations: 13.33 kB / 0.6875 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0226/0.6706, allocations: 24.37 MB / 0.7113 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.083e-05/0.6706, allocations: 51.88 kB / 0.7114 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009031/0.6715, allocations: 0.5249 MB / 0.7119 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.072e-05/0.6715, allocations: 69.94 kB / 0.7119 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.6717, allocations: 118.4 kB / 0.7121 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.731e-05/0.6717, allocations: 101.4 kB / 0.7121 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-05/0.6717, allocations: 85 kB / 0.7122 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003563/0.6753, allocations: 5.114 MB / 0.7172 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009605/0.6762, allocations: 0.6624 MB / 0.7179 GB, free: 141 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003717/0.6766, allocations: 120 kB / 0.718 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.6782, allocations: 283.6 kB / 0.7183 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/0.6783, allocations: 370.8 kB / 0.7186 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.6785, allocations: 159.4 kB / 0.7188 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003289/0.6817, allocations: 3.992 MB / 0.7227 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6817, allocations: 4 kB / 0.7227 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005463/0.6872, allocations: 1.693 MB / 0.7243 GB, free: 134.4 MB / 0.5261 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.0003968/0.6876, allocations: 321.3 kB / 0.7246 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005225/0.6928, allocations: 6.029 MB / 0.7305 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.85e-05/0.6928, allocations: 8 kB / 0.7305 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.6941, allocations: 1.446 MB / 0.7319 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002981/0.6971, allocations: 0.8005 MB / 0.7327 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/0.7121, allocations: 17.87 MB / 0.7502 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00342/0.7155, allocations: 5.091 MB / 0.7551 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008341/0.7163, allocations: 464.4 kB / 0.7556 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.533e-06/0.7163, allocations: 0 / 0.7556 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.07687/0.7932, allocations: 97.2 MB / 0.8505 GB, free: 4.48 MB / 0.5261 GB " [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=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: 12.337432038970292]