Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001977/0.001977, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002014/0.002014, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.561/1.561, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3541/0.3541, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.788e-05, allocations: 2.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009606/0.009634, allocations: 6.559 MB / 383.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00533/0.01496, allocations: 2.372 MB / 386.2 MB, free: 10.01 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006454/0.01561, allocations: 31.88 kB / 386.2 MB, free: 9.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002636/0.01824, allocations: 1.121 MB / 387.3 MB, free: 8.855 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.02039, allocations: 0.9017 MB / 388.3 MB, free: 7.949 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008448/0.02123, allocations: 323 kB / 388.6 MB, free: 7.633 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002567/0.0238, allocations: 1.902 MB / 390.5 MB, free: 5.727 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/0.02554, allocations: 1.135 MB / 391.6 MB, free: 4.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.02712, allocations: 1.04 MB / 392.6 MB, free: 3.527 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.02876, allocations: 0.9934 MB / 393.6 MB, free: 2.531 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002842/0.02904, allocations: 128 kB / 393.8 MB, free: 2.406 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.03045, allocations: 0.6784 MB / 394.4 MB, free: 1.727 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.03154, allocations: 0.9931 MB / 395.4 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00083/0.03237, allocations: 0.5759 MB / 396 MB, free: 156 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005182/0.03755, allocations: 3.671 MB / 399.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.03755, allocations: 0 / 399.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.03755, allocations: 3.938 kB / 399.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.176e-05/0.03764, allocations: 0 / 399.7 MB, free: 12.46 MB / 378.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.006271/0.04391, allocations: 3.137 MB / 402.8 MB, free: 9.277 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.04395, allocations: 16.03 kB / 402.8 MB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006341/0.05029, allocations: 1.875 MB / 404.7 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002991/0.05328, allocations: 0.9899 MB / 405.7 MB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.05341, allocations: 115.3 kB / 405.8 MB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004/0.05381, allocations: 156.2 kB / 406 MB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008167/0.06197, allocations: 3.975 MB / 409.9 MB, free: 1.465 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-05/0.06206, allocations: 39.66 kB / 410 MB, free: 1.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002371/0.06229, allocations: 79.89 kB / 410.1 MB, free: 1.348 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002746/0.06504, allocations: 1.441 MB / 411.5 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006722/0.07176, allocations: 2.23 MB / 413.7 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1919/0.2637, allocations: 30.49 MB / 444.2 MB, free: 74.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003086/0.2668, allocations: 1.004 MB / 445.2 MB, free: 74.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004909/0.2673, allocations: 325.2 kB / 445.5 MB, free: 74.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002251/0.2675, allocations: 94.78 kB / 445.6 MB, free: 74.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.2675, allocations: 47.02 kB / 445.7 MB, free: 74.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.196e-06/0.2675, allocations: 1.406 kB / 445.7 MB, free: 74.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.01818/0.2857, allocations: 6.336 MB / 452 MB, free: 73.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.2857, allocations: 144.2 kB / 452.2 MB, free: 72.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003117/0.2889, allocations: 2.88 MB / 455 MB, free: 72.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.289, allocations: 41.3 kB / 455.1 MB, free: 72.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.2901, allocations: 2.366 MB / 457.4 MB, free: 71.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/0.2905, allocations: 495.4 kB / 457.9 MB, free: 70.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001112/0.2916, allocations: 1.112 MB / 459 MB, free: 70.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2917, allocations: 0.5249 MB / 459.6 MB, free: 69.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008992/0.2926, allocations: 485.9 kB / 460 MB, free: 69.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002343/0.2949, allocations: 4.723 MB / 464.8 MB, free: 64.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004177/0.2991, allocations: 5.714 MB / 470.5 MB, free: 57.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.656e-05/0.2992, allocations: 27.84 kB / 470.5 MB, free: 57.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.006504/0.3057, allocations: 3.892 MB / 474.4 MB, free: 56.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.38e-05/0.3058, allocations: 51.42 kB / 474.4 MB, free: 56.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.742e-05/0.3058, allocations: 98.66 kB / 474.5 MB, free: 56.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.3068, allocations: 328.7 kB / 474.9 MB, free: 56.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/0.3093, allocations: 0.9765 MB / 475.8 MB, free: 56.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/0.3118, allocations: 2.774 MB / 478.6 MB, free: 53.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/0.3147, allocations: 228.2 kB / 478.8 MB, free: 53.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004871/0.3152, allocations: 268 kB / 479.1 MB, free: 53.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * 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 (527): * Single equations (assignments): 523 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001229/0.3165, allocations: 0.5796 MB / 479.7 MB, free: 53.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004215/0.3169, allocations: 223.8 kB / 479.9 MB, free: 53.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/0.3187, allocations: 0.7261 MB / 480.6 MB, free: 52.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.129e-05/0.3187, allocations: 12.66 kB / 480.6 MB, free: 52.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.3187, allocations: 9.391 kB / 480.6 MB, free: 52.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.3187, allocations: 4.844 kB / 480.6 MB, free: 52.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006926/0.3257, allocations: 3.592 MB / 484.2 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.3257, allocations: 1.594 kB / 484.2 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006223/0.3263, allocations: 138.6 kB / 484.4 MB, free: 51.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008249/0.3271, allocations: 200.3 kB / 484.6 MB, free: 51.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.501e-05/0.3272, allocations: 13.44 kB / 484.6 MB, free: 51.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/0.3292, allocations: 2.211 MB / 486.8 MB, free: 49.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3292, allocations: 5.531 kB / 486.8 MB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002753/0.3319, allocations: 1.693 MB / 488.5 MB, free: 48.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.3323, allocations: 177.9 kB / 488.7 MB, free: 48.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.3325, allocations: 16.69 kB / 488.7 MB, free: 48.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006715/0.3332, allocations: 48.77 kB / 488.7 MB, free: 48.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.3334, allocations: 59.02 kB / 488.8 MB, free: 48.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-05/0.3334, allocations: 25.91 kB / 488.8 MB, free: 48.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00171/0.3351, allocations: 1.129 MB / 489.9 MB, free: 47.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3351, allocations: 0 / 489.9 MB, free: 47.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003611/0.3387, allocations: 0.5838 MB / 490.5 MB, free: 47.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 73 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003275/0.3391, allocations: 145.9 kB / 490.7 MB, free: 47.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004146/0.3432, allocations: 2.317 MB / 493 MB, free: 46.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.3432, allocations: 0 / 493 MB, free: 46.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008499/0.3441, allocations: 0.5608 MB / 493.5 MB, free: 46.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.3454, allocations: 178.2 kB / 493.7 MB, free: 46.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007739/0.3531, allocations: 4.455 MB / 498.2 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/0.3548, allocations: 1.43 MB / 499.6 MB, free: 43.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002639/0.3574, allocations: 1.189 MB / 0.4891 GB, free: 43.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.3578, allocations: 145.5 kB / 0.4892 GB, free: 43.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.705e-06/0.3578, allocations: 0 / 0.4892 GB, free: 43.5 MB / 410.7 MB Notification: Performance of Templates: time 0.03157/0.3893, allocations: 16.4 MB / 0.5052 GB, free: 32.76 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.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: 6.052549103973433]