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.0009572/0.0009572, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001522/0.001522, allocations: 169 kB / 24.14 MB, free: 360 kB / 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.9323/0.9323, allocations: 158.6 MB / 186 MB, free: 2.77 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.1322/0.1322, allocations: 32.37 MB / 270.7 MB, free: 14.6 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.693e-06/1.693e-06, allocations: 0 / 299 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.841e-05, allocations: 2.312 kB / 299.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.1591/0.1591, allocations: 6.489 MB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005872/0.165, allocations: 2.41 MB / 308 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.1663, allocations: 34.44 kB / 308 MB, free: 15.96 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002261/0.1685, allocations: 1.1 MB / 309.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002451/0.171, allocations: 0.9024 MB / 310 MB, free: 15.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008344/0.1718, allocations: 325 kB / 310.3 MB, free: 14.94 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002834/0.1747, allocations: 1.952 MB / 312.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.1763, allocations: 1.187 MB / 313.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.1783, allocations: 1.09 MB / 314.5 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.1798, allocations: 0.9204 MB / 315.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003864/0.1802, allocations: 125.9 kB / 315.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.1813, allocations: 0.6638 MB / 316.2 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008282/0.1822, allocations: 1.006 MB / 317.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009648/0.1831, allocations: 0.5922 MB / 317.8 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002987/0.1861, allocations: 2.501 MB / 320.3 MB, free: 8.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1861, allocations: 0 / 320.3 MB, free: 8.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1861, allocations: 0 / 320.3 MB, free: 8.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.001e-05/0.1862, allocations: 0 / 320.3 MB, free: 8.93 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.002994/0.1892, allocations: 2.486 MB / 322.8 MB, free: 6.406 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1892, allocations: 8.031 kB / 322.8 MB, free: 6.398 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002397/0.1916, allocations: 0.7459 MB / 323.6 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.1928, allocations: 0.8284 MB / 324.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.04e-05/0.1928, allocations: 119.3 kB / 324.5 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.1931, allocations: 156.2 kB / 324.7 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003104/0.1962, allocations: 3.014 MB / 327.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.107e-05/0.1962, allocations: 27.7 kB / 327.7 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000181/0.1964, allocations: 79.89 kB / 327.8 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001319/0.1977, allocations: 1.238 MB / 329 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00336/0.2011, allocations: 1.555 MB / 330.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01757/0.2187, allocations: 20.31 MB / 350.9 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.2203, allocations: 0.7586 MB / 351.7 MB, free: 8.191 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003495/0.2207, allocations: 203.3 kB / 351.9 MB, free: 7.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002295/0.2229, allocations: 1.695 MB / 353.5 MB, free: 6.262 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.223, allocations: 46.5 kB / 353.6 MB, free: 6.207 MB / 314.7 MB Notification: Performance of pre-optimization done (n=77): time 2.926e-06/0.223, allocations: 0 / 353.6 MB, free: 6.207 MB / 314.7 MB Notification: Performance of matching and sorting (n=84): time 0.006458/0.2294, allocations: 2.418 MB / 356 MB, free: 3.727 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.2295, allocations: 136.5 kB / 356.1 MB, free: 3.562 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.2311, allocations: 1.895 MB / 358 MB, free: 1.629 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.2311, allocations: 37.7 kB / 358.1 MB, free: 1.586 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008958/0.232, allocations: 2.123 MB / 360.2 MB, free: 15.44 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000255/0.2323, allocations: 377.2 kB / 360.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006243/0.2329, allocations: 0.8223 MB / 361.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.233, allocations: 345.9 kB / 361.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005177/0.2335, allocations: 438.6 kB / 362.2 MB, free: 13.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/0.2356, allocations: 3.241 MB / 365.4 MB, free: 8.723 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00372/0.2394, allocations: 4.197 MB / 369.6 MB, free: 3.059 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.173e-05/0.2394, allocations: 28 kB / 369.6 MB, free: 3.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003865/0.2433, allocations: 2.915 MB / 372.5 MB, free: 112 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.342e-05/0.2434, allocations: 51.94 kB / 372.6 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.622e-05/0.2434, allocations: 104 kB / 372.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003423/0.2438, allocations: 187.6 kB / 372.9 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/0.2455, allocations: 0.9624 MB / 373.8 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.247, allocations: 1.44 MB / 375.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.2488, allocations: 199.7 kB / 375.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002312/0.249, allocations: 236 kB / 375.7 MB, free: 12.84 MB / 346.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.000821/0.2498, allocations: 488.7 kB / 376.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.2501, allocations: 123.9 kB / 376.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004455/0.2505, allocations: 344.2 kB / 376.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.2505, allocations: 11.98 kB / 376.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.2505, allocations: 7.938 kB / 376.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.2505, allocations: 4.031 kB / 376.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/0.253, allocations: 2.005 MB / 378.7 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.954e-06/0.253, allocations: 4 kB / 378.7 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.2533, allocations: 108.4 kB / 378.8 MB, free: 9.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002661/0.2535, allocations: 182 kB / 378.9 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.2536, allocations: 16 kB / 379 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006921/0.2543, allocations: 1.229 MB / 380.2 MB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.2543, allocations: 11.94 kB / 380.2 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.2555, allocations: 1.128 MB / 381.3 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004492/0.256, allocations: 222.6 kB / 381.6 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.2561, allocations: 19.31 kB / 381.6 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003068/0.2564, allocations: 23.97 kB / 381.6 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.645e-05/0.2565, allocations: 59.78 kB / 381.7 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/0.2565, allocations: 28 kB / 381.7 MB, free: 6.555 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000681/0.2572, allocations: 0.7082 MB / 382.4 MB, free: 5.824 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2572, allocations: 0 / 382.4 MB, free: 5.824 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002128/0.2593, allocations: 0.5508 MB / 382.9 MB, free: 5.273 MB / 346.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.0002708/0.2596, allocations: 128.1 kB / 383.1 MB, free: 5.137 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002054/0.2616, allocations: 1.697 MB / 384.8 MB, free: 3.438 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001119/0.2618, allocations: 55.94 kB / 384.8 MB, free: 3.379 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.2621, allocations: 311.1 kB / 385.1 MB, free: 3.059 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009137/0.263, allocations: 185.7 kB / 385.3 MB, free: 2.875 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005618/0.2686, allocations: 4.31 MB / 389.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000643/0.2693, allocations: 0.7072 MB / 390.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008137/0.2701, allocations: 320.5 kB / 390.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/0.2704, allocations: 327.3 kB / 390.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of SimCode: time 2.244e-06/0.2704, allocations: 0 / 390.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of Templates: time 0.02464/0.2951, allocations: 13.07 MB / 404 MB, free: 72 kB / 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4751009829342365]