Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001712/0.002824, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009749/0.0009749, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001413/0.002388, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8851/0.8851, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1643/1.049, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1496/0.1496, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02743/0.177, allocations: 12.53 MB / 284.5 MB, free: 9.711 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 285.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.346e-05, allocations: 5.406 kB / 285.8 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008264/0.008288, allocations: 6.577 MB / 292.4 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004832/0.01312, allocations: 2.433 MB / 294.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006203/0.01374, allocations: 35.88 kB / 294.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.01497, allocations: 1.066 MB / 295.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.0165, allocations: 0.9095 MB / 296.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007034/0.0172, allocations: 303.1 kB / 297.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002209/0.01941, allocations: 1.919 MB / 299.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.02067, allocations: 1.1 MB / 300.2 MB, free: 10 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.02208, allocations: 1.128 MB / 301.3 MB, free: 8.871 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.02351, allocations: 0.9115 MB / 302.2 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003375/0.02384, allocations: 132 kB / 302.3 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009513/0.0248, allocations: 0.6862 MB / 303 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005628/0.02536, allocations: 0.9115 MB / 303.9 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004625/0.02582, allocations: 0.4904 MB / 304.4 MB, free: 5.734 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002004/0.02783, allocations: 2.35 MB / 306.8 MB, free: 3.375 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.02783, allocations: 0 / 306.8 MB, free: 3.375 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.02784, allocations: 0 / 306.8 MB, free: 3.375 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.301e-05/0.02792, allocations: 0 / 306.8 MB, free: 3.375 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.002943/0.03086, allocations: 3.021 MB / 309.8 MB, free: 304 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.03089, allocations: 8.031 kB / 309.8 MB, free: 296 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.03271, allocations: 0.7381 MB / 310.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009522/0.03366, allocations: 0.8245 MB / 311.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.758e-05/0.03372, allocations: 119.3 kB / 311.5 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.0339, allocations: 156.2 kB / 311.6 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.03652, allocations: 3.018 MB / 314.7 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.164e-05/0.03657, allocations: 23.8 kB / 314.7 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.03669, allocations: 83.83 kB / 314.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009439/0.03764, allocations: 1.168 MB / 315.9 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.03971, allocations: 1.552 MB / 317.5 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1422/0.1819, allocations: 20.31 MB / 337.8 MB, free: 7.316 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.1835, allocations: 0.7394 MB / 338.5 MB, free: 7.156 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.1837, allocations: 199.3 kB / 338.7 MB, free: 7.082 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00199/0.1857, allocations: 1.686 MB / 340.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1857, allocations: 42.27 kB / 340.4 MB, free: 6.332 MB / 314.7 MB Notification: Performance of pre-optimization done (n=77): time 2.835e-06/0.1857, allocations: 0 / 340.4 MB, free: 6.332 MB / 314.7 MB Notification: Performance of matching and sorting (n=84): time 0.004783/0.1905, allocations: 2.409 MB / 342.9 MB, free: 5.711 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.1905, allocations: 140.9 kB / 343 MB, free: 5.555 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.1917, allocations: 1.893 MB / 344.9 MB, free: 5.047 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1917, allocations: 35.98 kB / 344.9 MB, free: 5.016 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006072/0.1923, allocations: 2.131 MB / 347.1 MB, free: 3.551 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.1925, allocations: 375 kB / 347.4 MB, free: 3.359 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006021/0.1931, allocations: 0.8143 MB / 348.2 MB, free: 3.246 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.812e-05/0.1931, allocations: 342.1 kB / 348.6 MB, free: 2.941 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004949/0.1936, allocations: 445.1 kB / 349 MB, free: 2.918 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.1949, allocations: 3.246 MB / 352.2 MB, free: 15.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003124/0.198, allocations: 4.527 MB / 356.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.907e-05/0.1981, allocations: 29.66 kB / 356.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.002735/0.2008, allocations: 2.919 MB / 359.7 MB, free: 10.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.2009, allocations: 49.34 kB / 359.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.629e-05/0.2009, allocations: 118.7 kB / 359.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000203/0.2011, allocations: 184.9 kB / 360.1 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.2026, allocations: 1.068 MB / 361.1 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007869/0.2033, allocations: 1.428 MB / 362.6 MB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.2045, allocations: 206.4 kB / 362.8 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.2047, allocations: 245.6 kB / 363 MB, free: 8.547 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.0005798/0.2053, allocations: 486.6 kB / 363.5 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.2055, allocations: 124.7 kB / 363.6 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003581/0.2058, allocations: 339.4 kB / 363.9 MB, free: 7.898 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.2058, allocations: 4 kB / 363.9 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2058, allocations: 8 kB / 363.9 MB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2058, allocations: 3.703 kB / 364 MB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.2082, allocations: 2.003 MB / 366 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.2082, allocations: 8 kB / 366 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.2084, allocations: 119.8 kB / 366.1 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.2086, allocations: 183.2 kB / 366.3 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002297/0.2088, allocations: 177.2 kB / 366.4 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/0.2089, allocations: 21.38 kB / 366.5 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000589/0.2095, allocations: 1.225 MB / 367.7 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2095, allocations: 7.938 kB / 367.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00075/0.2102, allocations: 1.116 MB / 368.8 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.452e-05/0.2103, allocations: 23.12 kB / 368.8 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.2106, allocations: 16 kB / 368.8 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.2106, allocations: 55.8 kB / 368.9 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.2107, allocations: 27.98 kB / 368.9 MB, free: 3.086 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005149/0.2112, allocations: 0.7082 MB / 369.6 MB, free: 2.445 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2112, allocations: 4 kB / 369.6 MB, free: 2.441 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001704/0.2129, allocations: 0.5468 MB / 370.2 MB, free: 1.895 MB / 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.0002408/0.2131, allocations: 131.5 kB / 370.3 MB, free: 1.758 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.2148, allocations: 1.801 MB / 372.1 MB, free: 156 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.786e-05/0.2149, allocations: 63.88 kB / 372.2 MB, free: 88 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.2152, allocations: 347.9 kB / 372.5 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.2163, allocations: 1.105 MB / 373.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005931/0.2223, allocations: 4.405 MB / 378 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005888/0.2228, allocations: 0.7157 MB / 378.7 MB, free: 9.32 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006432/0.2235, allocations: 312.5 kB / 379 MB, free: 9.016 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.2238, allocations: 315.3 kB / 379.3 MB, free: 8.707 MB / 346.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2238, allocations: 0 / 379.3 MB, free: 8.707 MB / 346.7 MB Notification: Performance of Templates: time 0.02171/0.2455, allocations: 11.33 MB / 390.7 MB, free: 13.44 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.0595901124179363]