Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.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.001139/0.001139, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003222/0.004361, allocations: 452 kB / 10.43 MB, free: 264 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.0009698/0.0009698, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008185/0.009155, allocations: 483.5 kB / 11.8 MB, free: 2.363 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 1.056/1.056, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2065/1.263, allocations: 49.49 MB / 220.7 MB, free: 1.371 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.1696/0.1696, allocations: 32.36 MB / 253.8 MB, free: 244 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02806/0.1976, allocations: 12.32 MB / 266.1 MB, free: 3.879 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.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.015e-05, allocations: 6.25 kB / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00671/0.00674, allocations: 6.578 MB / 274 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005665/0.0124, allocations: 2.434 MB / 276.4 MB, free: 9.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009852/0.01339, allocations: 35.88 kB / 276.4 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.01498, allocations: 1.062 MB / 277.5 MB, free: 8.406 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.01685, allocations: 0.9095 MB / 278.4 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007409/0.01759, allocations: 299.1 kB / 278.7 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002636/0.02022, allocations: 1.923 MB / 280.6 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/0.02187, allocations: 1.108 MB / 281.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/0.02426, allocations: 1.144 MB / 282.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.02573, allocations: 0.9115 MB / 283.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003674/0.02609, allocations: 128 kB / 283.9 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.02732, allocations: 0.6746 MB / 284.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006781/0.028, allocations: 0.9154 MB / 285.5 MB, free: 360 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2047/0.2327, allocations: 0.4948 MB / 286 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003062/0.2357, allocations: 2.335 MB / 288.3 MB, free: 4.473 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.32e-05/0.2357, allocations: 1.578 kB / 288.3 MB, free: 4.473 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2357, allocations: 0 / 288.3 MB, free: 4.473 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.856e-05/0.2358, allocations: 0 / 288.3 MB, free: 4.473 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.002844/0.2386, allocations: 3.02 MB / 291.4 MB, free: 3.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2386, allocations: 9.219 kB / 291.4 MB, free: 3.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.2406, allocations: 0.7424 MB / 292.1 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008832/0.2414, allocations: 0.832 MB / 292.9 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-05/0.2415, allocations: 115 kB / 293 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.2417, allocations: 153.8 kB / 293.2 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/0.2446, allocations: 3.013 MB / 296.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.382e-05/0.2446, allocations: 28.84 kB / 296.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.2448, allocations: 79.78 kB / 296.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001113/0.2459, allocations: 1.162 MB / 297.5 MB, free: 1.559 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.2481, allocations: 1.548 MB / 299 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/0.2594, allocations: 20.31 MB / 319.3 MB, free: 1.758 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.2607, allocations: 0.747 MB / 320.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.2609, allocations: 202.2 kB / 320.3 MB, free: 1.445 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001627/0.2626, allocations: 1.676 MB / 322 MB, free: 336 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.2626, allocations: 41.84 kB / 322 MB, free: 288 kB / 298.7 MB Notification: Performance of pre-optimization done (n=77): time 2.274e-06/0.2626, allocations: 0.5312 kB / 322 MB, free: 288 kB / 298.7 MB Notification: Performance of matching and sorting (n=84): time 0.004728/0.2673, allocations: 2.407 MB / 324.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.2674, allocations: 139 kB / 324.5 MB, free: 13.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.2686, allocations: 1.898 MB / 326.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.2687, allocations: 33.7 kB / 326.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009219/0.2696, allocations: 2.13 MB / 328.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.2698, allocations: 378.6 kB / 329 MB, free: 9.805 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006192/0.2704, allocations: 0.8127 MB / 329.8 MB, free: 9.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.2705, allocations: 345.6 kB / 330.1 MB, free: 8.746 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.2709, allocations: 442.6 kB / 330.6 MB, free: 8.305 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.2727, allocations: 3.247 MB / 333.8 MB, free: 3.742 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003101/0.2758, allocations: 4.53 MB / 338.3 MB, free: 13.94 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.612e-05/0.2759, allocations: 28 kB / 338.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.002817/0.2787, allocations: 2.926 MB / 341.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/0.2787, allocations: 52.25 kB / 341.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.468e-05/0.2788, allocations: 115.9 kB / 341.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002724/0.2791, allocations: 183.6 kB / 341.6 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/0.2806, allocations: 1.065 MB / 342.7 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009063/0.2815, allocations: 1.435 MB / 344.1 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.2826, allocations: 205.2 kB / 344.3 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/0.2828, allocations: 236 kB / 344.6 MB, free: 7.609 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (536): * Single equations (assignments): 532 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007434/0.2836, allocations: 490.3 kB / 345 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.2837, allocations: 124.6 kB / 345.2 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003951/0.2841, allocations: 340.2 kB / 345.5 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.2841, allocations: 8 kB / 345.5 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2842, allocations: 8 kB / 345.5 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2842, allocations: 3.984 kB / 345.5 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.2863, allocations: 2 MB / 347.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/0.2863, allocations: 16.03 kB / 347.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.2866, allocations: 119.8 kB / 347.6 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.2868, allocations: 222.5 kB / 347.9 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/0.287, allocations: 174.6 kB / 348 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.287, allocations: 27.11 kB / 348.1 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00065/0.2877, allocations: 1.223 MB / 349.3 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.2877, allocations: 7.938 kB / 349.3 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008/0.2885, allocations: 1.125 MB / 350.4 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.429e-05/0.2886, allocations: 23.98 kB / 350.4 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.2889, allocations: 12 kB / 350.4 MB, free: 1.742 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.289, allocations: 59.8 kB / 350.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.289, allocations: 24 kB / 350.5 MB, free: 1.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005726/0.2896, allocations: 0.7082 MB / 351.2 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2896, allocations: 0 / 351.2 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001815/0.2914, allocations: 0.5507 MB / 351.8 MB, free: 388 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 (rev.phi,rev.w) * 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 (65): * Single equations (assignments): 61 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002763/0.2917, allocations: 132.3 kB / 351.9 MB, free: 248 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.2932, allocations: 1.795 MB / 353.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000109/0.2933, allocations: 59.94 kB / 353.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.2936, allocations: 350.6 kB / 354.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.2948, allocations: 1.111 MB / 355.2 MB, free: 12.99 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005615/0.3004, allocations: 4.409 MB / 359.6 MB, free: 8.449 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.301, allocations: 0.704 MB / 360.3 MB, free: 7.715 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006198/0.3016, allocations: 316.5 kB / 360.6 MB, free: 7.402 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/0.3019, allocations: 311.3 kB / 361 MB, free: 7.098 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3019, allocations: 0 / 361 MB, free: 7.098 MB / 346.7 MB Notification: Performance of Templates: time 0.0235/0.3254, allocations: 11.3 MB / 372.2 MB, free: 11.79 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.519554357044399]