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.0009344/0.0009344, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.000885/0.000885, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 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 0.9099/0.9099, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.2459/0.2459, allocations: 34.26 MB / 296.1 MB, free: 0.7344 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.192e-06/1.192e-06, allocations: 0 / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.798e-05, allocations: 7.078 kB / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.005483/0.005501, allocations: 6.463 MB / 331.7 MB, free: 1.215 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003819/0.00932, allocations: 2.455 MB / 334.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005029/0.009823, allocations: 35.88 kB / 334.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.01116, allocations: 1.117 MB / 335.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.01245, allocations: 0.8978 MB / 336.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005362/0.01298, allocations: 335 kB / 336.5 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001575/0.01456, allocations: 1.91 MB / 338.4 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009108/0.01547, allocations: 1.181 MB / 339.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008747/0.01634, allocations: 1.075 MB / 340.7 MB, free: 8.156 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007618/0.0171, allocations: 0.9193 MB / 341.6 MB, free: 7.234 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.01722, allocations: 124 kB / 341.7 MB, free: 7.113 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007308/0.01795, allocations: 0.6746 MB / 342.4 MB, free: 6.438 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005389/0.01849, allocations: 0.9853 MB / 343.4 MB, free: 5.449 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003872/0.01888, allocations: 0.5681 MB / 344 MB, free: 4.879 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.02052, allocations: 2.482 MB / 346.4 MB, free: 2.387 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.02052, allocations: 0 / 346.4 MB, free: 2.387 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.02052, allocations: 0 / 346.4 MB, free: 2.387 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.02054, allocations: 0 / 346.4 MB, free: 2.387 MB / 314.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.002112/0.02265, allocations: 2.467 MB / 348.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.02269, allocations: 16.02 kB / 348.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/0.02439, allocations: 0.7343 MB / 349.7 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007981/0.02519, allocations: 0.8284 MB / 350.5 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/0.02524, allocations: 119.3 kB / 350.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.02542, allocations: 148.3 kB / 350.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/0.02791, allocations: 3.018 MB / 353.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/0.02795, allocations: 27.8 kB / 353.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.02808, allocations: 79.89 kB / 353.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001007/0.02908, allocations: 1.242 MB / 355.1 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.03106, allocations: 1.552 MB / 356.7 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01184/0.04289, allocations: 20.32 MB / 377 MB, free: 2.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.04431, allocations: 0.7585 MB / 377.7 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.04448, allocations: 195.3 kB / 377.9 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001859/0.04634, allocations: 1.697 MB / 379.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.04638, allocations: 46.44 kB / 379.7 MB, free: 15.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=77): time 3.316e-06/0.04638, allocations: 0 / 379.7 MB, free: 15.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=84): time 0.004751/0.05113, allocations: 2.415 MB / 382.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.05118, allocations: 140.5 kB / 382.2 MB, free: 13.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.05237, allocations: 1.882 MB / 384.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.0524, allocations: 37.7 kB / 384.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009423/0.05334, allocations: 2.123 MB / 386.3 MB, free: 8.914 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.05352, allocations: 381.2 kB / 386.6 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005521/0.05407, allocations: 0.8145 MB / 387.5 MB, free: 7.711 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.05416, allocations: 345.9 kB / 387.8 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/0.05459, allocations: 442.6 kB / 388.2 MB, free: 6.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.05622, allocations: 3.245 MB / 391.5 MB, free: 2.195 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002699/0.05892, allocations: 4.189 MB / 395.7 MB, free: 12.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.562e-05/0.05895, allocations: 28 kB / 395.7 MB, free: 12.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.002875/0.06182, allocations: 2.925 MB / 398.6 MB, free: 9.582 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/0.06187, allocations: 55.92 kB / 398.7 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.325e-05/0.06193, allocations: 108 kB / 398.8 MB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002449/0.06218, allocations: 179.7 kB / 398.9 MB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.06356, allocations: 0.9669 MB / 399.9 MB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008731/0.06443, allocations: 1.44 MB / 401.4 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.06559, allocations: 195.7 kB / 401.5 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.06579, allocations: 244 kB / 401.8 MB, free: 6.297 MB / 378.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.0006453/0.06643, allocations: 488.7 kB / 402.3 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.06659, allocations: 119.9 kB / 402.4 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/0.06696, allocations: 351.5 kB / 402.7 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.06698, allocations: 8 kB / 402.7 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.06698, allocations: 8 kB / 402.7 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.06699, allocations: 3.984 kB / 402.7 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.06936, allocations: 2.003 MB / 404.7 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.06937, allocations: 4 kB / 404.7 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.0696, allocations: 107.8 kB / 404.8 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002446/0.06984, allocations: 170.6 kB / 405 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.06988, allocations: 23.98 kB / 405 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006434/0.07052, allocations: 1.226 MB / 406.3 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.07052, allocations: 11.92 kB / 406.3 MB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/0.07129, allocations: 1.109 MB / 407.4 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.07144, allocations: 178.5 kB / 407.6 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.534e-05/0.07153, allocations: 19.98 kB / 407.6 MB, free: 184 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.07179, allocations: 20 kB / 407.6 MB, free: 164 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.07185, allocations: 51.94 kB / 407.7 MB, free: 112 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.07188, allocations: 27.98 kB / 407.7 MB, free: 84 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005432/0.07242, allocations: 0.7078 MB / 408.4 MB, free: 15.35 MB / 394.7 MB Notification: Performance of sort global known variables: time 3e-08/0.07242, allocations: 0 / 408.4 MB, free: 15.35 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001616/0.07404, allocations: 0.5429 MB / 408.9 MB, free: 14.81 MB / 394.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.0002495/0.07429, allocations: 128.1 kB / 409.1 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.07587, allocations: 1.717 MB / 410.8 MB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.307e-05/0.07596, allocations: 59.88 kB / 410.8 MB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.0762, allocations: 292.2 kB / 411.1 MB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006563/0.07685, allocations: 190.5 kB / 411.3 MB, free: 12.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/0.0813, allocations: 4.305 MB / 415.6 MB, free: 7.969 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.08187, allocations: 0.707 MB / 416.3 MB, free: 7.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006232/0.08249, allocations: 320.5 kB / 416.6 MB, free: 6.914 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.08279, allocations: 335.3 kB / 417 MB, free: 6.586 MB / 394.7 MB Notification: Performance of SimCode: time 1.633e-06/0.08279, allocations: 0 / 417 MB, free: 6.586 MB / 394.7 MB Notification: Performance of Templates: time 0.02273/0.1055, allocations: 13.09 MB / 430 MB, free: 9.641 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","",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.3607145668938756]