Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.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.0007983/0.0007983, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.00194, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007551/0.0007551, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009604/0.001715, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9055/0.9055, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1697/1.075, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.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.1339/0.1339, allocations: 32.35 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02075/0.1547, allocations: 12.29 MB / 265.9 MB, free: 7.84 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 267.2 MB, free: 6.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3.019e-05, allocations: 6.25 kB / 267.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.008036/0.008066, allocations: 10.07 MB / 277.3 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005148/0.01321, allocations: 3.068 MB / 280.3 MB, free: 9.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006687/0.01388, allocations: 59.81 kB / 280.4 MB, free: 9.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.01593, allocations: 2.052 MB / 282.4 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.01756, allocations: 1.248 MB / 283.7 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.01802, allocations: 299.3 kB / 284 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002091/0.02011, allocations: 2.34 MB / 286.3 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.02131, allocations: 1.848 MB / 288.2 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009719/0.02228, allocations: 1.434 MB / 289.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009155/0.0232, allocations: 1.227 MB / 290.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.02338, allocations: 212 kB / 291 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007152/0.02409, allocations: 0.667 MB / 291.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006289/0.02472, allocations: 1.169 MB / 292.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005236/0.02525, allocations: 0.6542 MB / 293.5 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.02709, allocations: 2.782 MB / 296.3 MB, free: 9.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.497e-05/0.0271, allocations: 0 / 296.3 MB, free: 9.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.02711, allocations: 0 / 296.3 MB, free: 9.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.377e-05/0.02714, allocations: 0 / 296.3 MB, free: 9.27 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.002848/0.02999, allocations: 3.506 MB / 299.8 MB, free: 5.699 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.03002, allocations: 8.031 kB / 299.8 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.03205, allocations: 0.8162 MB / 300.6 MB, free: 4.875 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.03317, allocations: 1.104 MB / 301.8 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.408e-05/0.03326, allocations: 156.3 kB / 301.9 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.03346, allocations: 200.2 kB / 302.1 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/0.03632, allocations: 3.055 MB / 305.2 MB, free: 0 / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.03635, allocations: 15.92 kB / 305.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.0365, allocations: 91.91 kB / 305.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001078/0.03758, allocations: 1.337 MB / 306.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.03987, allocations: 1.62 MB / 308.2 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01129/0.05116, allocations: 16.31 MB / 324.5 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.05282, allocations: 0.975 MB / 325.5 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.05304, allocations: 184.6 kB / 325.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002523/0.05557, allocations: 2.222 MB / 327.9 MB, free: 8.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.05559, allocations: 43.16 kB / 327.9 MB, free: 8.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=93): time 3.276e-06/0.0556, allocations: 3.984 kB / 328 MB, free: 8.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=93): time 0.002307/0.0579, allocations: 1.136 MB / 329.1 MB, free: 7.375 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.05794, allocations: 60.06 kB / 329.1 MB, free: 7.305 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008752/0.05881, allocations: 1.481 MB / 330.6 MB, free: 5.816 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.05885, allocations: 37.7 kB / 330.7 MB, free: 5.773 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007267/0.05957, allocations: 1.958 MB / 332.6 MB, free: 3.793 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.05975, allocations: 377 kB / 333 MB, free: 3.422 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004376/0.06018, allocations: 0.6199 MB / 333.6 MB, free: 2.793 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.06027, allocations: 349.8 kB / 334 MB, free: 2.445 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.06061, allocations: 334.9 kB / 334.3 MB, free: 2.113 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1537/0.2144, allocations: 2.201 MB / 336.5 MB, free: 52.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002742/0.2171, allocations: 2.905 MB / 339.4 MB, free: 50.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.001e-05/0.2171, allocations: 18.78 kB / 339.4 MB, free: 50.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.002752/0.2199, allocations: 2.087 MB / 341.5 MB, free: 49.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.28e-05/0.2199, allocations: 37.25 kB / 341.5 MB, free: 49.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.35e-05/0.22, allocations: 69.56 kB / 341.6 MB, free: 49.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.041e-05/0.2201, allocations: 93.66 kB / 341.7 MB, free: 49.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.2217, allocations: 0.7719 MB / 342.5 MB, free: 49.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.38e-05/0.2217, allocations: 136.6 kB / 342.6 MB, free: 49.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.2228, allocations: 419.2 kB / 343 MB, free: 49.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/0.223, allocations: 181.9 kB / 343.2 MB, free: 49.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (391): * Single equations (assignments): 386 * Array equations: 5 * 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.0009344/0.2239, allocations: 379.8 kB / 343.5 MB, free: 49.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.2241, allocations: 104.7 kB / 343.7 MB, free: 49.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005529/0.2246, allocations: 468 kB / 344.1 MB, free: 49.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.2246, allocations: 10.81 kB / 344.1 MB, free: 49.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2246, allocations: 0.75 kB / 344.1 MB, free: 49.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.2247, allocations: 4.484 kB / 344.1 MB, free: 49.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00263/0.2273, allocations: 2.273 MB / 346.4 MB, free: 48.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.2273, allocations: 7 kB / 346.4 MB, free: 48.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.2276, allocations: 134.6 kB / 346.5 MB, free: 48.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.2277, allocations: 162.6 kB / 346.7 MB, free: 48.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.2277, allocations: 15.44 kB / 346.7 MB, free: 48.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.2277, allocations: 23.59 kB / 346.7 MB, free: 48.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.2278, allocations: 24.59 kB / 346.8 MB, free: 48.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.2278, allocations: 15.38 kB / 346.8 MB, free: 48.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000628/0.2284, allocations: 0.837 MB / 347.6 MB, free: 48.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.617e-05/0.2285, allocations: 27.66 kB / 347.6 MB, free: 48.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.2287, allocations: 21.38 kB / 347.7 MB, free: 48.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.2288, allocations: 76.94 kB / 347.7 MB, free: 48.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.2288, allocations: 33.78 kB / 347.8 MB, free: 48.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004025/0.2292, allocations: 0.5665 MB / 348.3 MB, free: 48.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2292, allocations: 4 kB / 348.3 MB, free: 48.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001483/0.2307, allocations: 0.7853 MB / 349.1 MB, free: 47.96 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0002204/0.2309, allocations: 141.1 kB / 349.3 MB, free: 47.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.232, allocations: 1.204 MB / 350.5 MB, free: 47.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-05/0.2321, allocations: 58.7 kB / 350.5 MB, free: 47.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.2323, allocations: 204.8 kB / 350.7 MB, free: 47.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006674/0.2329, allocations: 334.3 kB / 351 MB, free: 47.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004789/0.2377, allocations: 5.104 MB / 356.1 MB, free: 43.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.2382, allocations: 0.8168 MB / 357 MB, free: 42.88 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005112/0.2387, allocations: 268.7 kB / 357.2 MB, free: 42.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.239, allocations: 280.9 kB / 357.5 MB, free: 42.42 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.239, allocations: 0 / 357.5 MB, free: 42.42 MB / 330.7 MB Notification: Performance of Templates: time 0.0195/0.2585, allocations: 13.65 MB / 371.1 MB, free: 29.72 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1652368465438485]