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.001892/0.001892, allocations: 92.97 kB / 20.21 MB, free: 4.215 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.002101/0.002101, allocations: 169.6 kB / 23.53 MB, free: 0.8984 MB / 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 1.339/1.339, allocations: 158.6 MB / 185.3 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.1959/0.1959, allocations: 32.37 MB / 270 MB, free: 14.77 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.593e-06/1.593e-06, allocations: 0 / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.021e-05/3.18e-05, allocations: 2.312 kB / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00574/0.005772, allocations: 6.583 MB / 353.5 MB, free: 3.195 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003638/0.00941, allocations: 2.33 MB / 355.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006033/0.01001, allocations: 35.88 kB / 355.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.01199, allocations: 1.098 MB / 357 MB, free: 15.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002179/0.01417, allocations: 0.9017 MB / 357.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008483/0.01502, allocations: 319 kB / 358.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002822/0.01784, allocations: 1.938 MB / 360.1 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.01944, allocations: 1.15 MB / 361.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.02108, allocations: 1.056 MB / 362.3 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.02278, allocations: 1.001 MB / 363.3 MB, free: 9.324 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002856/0.02306, allocations: 128 kB / 363.5 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.02438, allocations: 0.6629 MB / 364.1 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001217/0.0256, allocations: 1.005 MB / 365.1 MB, free: 7.527 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008537/0.02645, allocations: 0.5915 MB / 365.7 MB, free: 6.934 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005171/0.03162, allocations: 3.698 MB / 369.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.03163, allocations: 0 / 369.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.03163, allocations: 0 / 369.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001025/0.03173, allocations: 0 / 369.4 MB, free: 3.223 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.005997/0.03773, allocations: 3.16 MB / 372.6 MB, free: 8 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.03777, allocations: 8.031 kB / 372.6 MB, free: 0 / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00634/0.04411, allocations: 1.883 MB / 374.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002921/0.04703, allocations: 0.9938 MB / 375.5 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.04715, allocations: 115.3 kB / 375.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006886/0.04784, allocations: 164.2 kB / 375.7 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008133/0.05598, allocations: 3.971 MB / 379.7 MB, free: 8.188 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.318e-05/0.05605, allocations: 31.7 kB / 379.7 MB, free: 8.156 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002372/0.05629, allocations: 79.89 kB / 379.8 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002779/0.05906, allocations: 1.445 MB / 381.3 MB, free: 6.629 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008939/0.068, allocations: 2.238 MB / 383.5 MB, free: 4.395 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04885/0.1169, allocations: 30.53 MB / 414 MB, free: 4.867 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005254/0.1221, allocations: 1.003 MB / 415 MB, free: 3.812 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009684/0.1231, allocations: 334.6 kB / 415.4 MB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003519/0.1234, allocations: 96.33 kB / 415.4 MB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.601e-05/0.1235, allocations: 45.39 kB / 415.5 MB, free: 3.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=96): time 4.689e-06/0.1235, allocations: 0 / 415.5 MB, free: 3.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=106): time 0.02569/0.1492, allocations: 6.353 MB / 421.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.1493, allocations: 136.5 kB / 422 MB, free: 12.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004628/0.1539, allocations: 2.904 MB / 424.9 MB, free: 9.773 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00018/0.1541, allocations: 41.7 kB / 424.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002559/0.1567, allocations: 2.368 MB / 427.3 MB, free: 7.332 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006821/0.1573, allocations: 0.4889 MB / 427.8 MB, free: 6.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001699/0.159, allocations: 1.101 MB / 428.9 MB, free: 5.723 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003483/0.1594, allocations: 0.5316 MB / 429.4 MB, free: 5.184 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.1606, allocations: 480.2 kB / 429.9 MB, free: 4.707 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005936/0.1665, allocations: 4.722 MB / 434.6 MB, free: 14.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008278/0.1748, allocations: 5.722 MB / 440.3 MB, free: 6.441 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001332/0.1749, allocations: 28 kB / 440.4 MB, free: 6.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009842/0.1848, allocations: 3.896 MB / 444.3 MB, free: 2.512 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.339e-05/0.1848, allocations: 51.94 kB / 444.3 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/0.185, allocations: 96 kB / 444.4 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.1862, allocations: 340.1 kB / 444.7 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003105/0.1893, allocations: 0.9708 MB / 445.7 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1435/0.3328, allocations: 2.77 MB / 448.5 MB, free: 94.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/0.3355, allocations: 230.1 kB / 448.7 MB, free: 94.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004532/0.336, allocations: 270.9 kB / 449 MB, free: 94.53 MB / 378.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.001057/0.337, allocations: 0.5726 MB / 449.5 MB, free: 94.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/0.3374, allocations: 225.9 kB / 449.8 MB, free: 94.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.3392, allocations: 0.7293 MB / 450.5 MB, free: 94.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/0.3392, allocations: 15.47 kB / 450.5 MB, free: 94.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.3392, allocations: 7 kB / 450.5 MB, free: 94.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.3392, allocations: 5.953 kB / 450.5 MB, free: 94.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0073/0.3465, allocations: 3.569 MB / 454.1 MB, free: 93.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.3465, allocations: 3.406 kB / 454.1 MB, free: 93.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006623/0.3472, allocations: 135.2 kB / 454.2 MB, free: 93.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008489/0.348, allocations: 195.3 kB / 454.4 MB, free: 93.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.815e-05/0.3481, allocations: 22.28 kB / 454.4 MB, free: 93.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/0.35, allocations: 2.21 MB / 456.6 MB, free: 92.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.35, allocations: 3.969 kB / 456.6 MB, free: 92.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.3524, allocations: 1.694 MB / 458.3 MB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008083/0.3532, allocations: 302.2 kB / 458.6 MB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.3534, allocations: 15.28 kB / 458.6 MB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000748/0.3541, allocations: 44.5 kB / 458.7 MB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.3543, allocations: 52.77 kB / 458.7 MB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.517e-05/0.3544, allocations: 37.3 kB / 458.8 MB, free: 91.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001564/0.3559, allocations: 1.138 MB / 459.9 MB, free: 91.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3559, allocations: 2.906 kB / 459.9 MB, free: 91.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002937/0.3589, allocations: 0.5917 MB / 460.5 MB, free: 91.29 MB / 378.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.0004377/0.3593, allocations: 134.4 kB / 460.6 MB, free: 91.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005596/0.3649, allocations: 2.328 MB / 463 MB, free: 90.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3649, allocations: 0 / 463 MB, free: 90.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.3659, allocations: 0.5562 MB / 463.5 MB, free: 90.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.3678, allocations: 171.3 kB / 463.7 MB, free: 90.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009876/0.3777, allocations: 4.465 MB / 468.2 MB, free: 87.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002055/0.3797, allocations: 1.441 MB / 469.6 MB, free: 86.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004014/0.3837, allocations: 1.189 MB / 470.8 MB, free: 85.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005168/0.3843, allocations: 144.3 kB / 470.9 MB, free: 84.99 MB / 378.7 MB Notification: Performance of SimCode: time 2.424e-06/0.3843, allocations: 4 kB / 470.9 MB, free: 84.98 MB / 378.7 MB Notification: Performance of Templates: time 0.04913/0.4334, allocations: 16.4 MB / 487.3 MB, free: 68.78 MB / 378.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 5.917356987018138]