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.00116/0.00116, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.001125/0.001125, allocations: 173 kB / 24.06 MB, free: 452 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.9624/0.9624, allocations: 158.6 MB / 185.9 MB, free: 2.785 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.1319/0.1319, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.463e-06/1.463e-06, allocations: 0 / 348.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128e-05/1.274e-05, allocations: 9.344 kB / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.004096/0.004109, allocations: 6.492 MB / 354.6 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.006793, allocations: 2.326 MB / 356.9 MB, free: 340 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003698/0.007162, allocations: 31.88 kB / 357 MB, free: 308 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.00835, allocations: 1.094 MB / 358.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.009443, allocations: 0.8978 MB / 359 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.009889, allocations: 327 kB / 359.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.01112, allocations: 1.949 MB / 361.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007653/0.01189, allocations: 1.143 MB / 362.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008249/0.01271, allocations: 1.103 MB / 363.5 MB, free: 9.758 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007459/0.01346, allocations: 0.9739 MB / 364.4 MB, free: 8.781 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.01359, allocations: 132 kB / 364.6 MB, free: 8.652 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006542/0.01425, allocations: 0.6629 MB / 365.2 MB, free: 7.988 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00056/0.01481, allocations: 1.005 MB / 366.2 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000428/0.01524, allocations: 0.5798 MB / 366.8 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.01696, allocations: 2.505 MB / 369.3 MB, free: 3.883 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.01696, allocations: 0 / 369.3 MB, free: 3.883 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.01696, allocations: 0 / 369.3 MB, free: 3.883 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.165e-05/0.01698, allocations: 0 / 369.3 MB, free: 3.883 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.002637/0.01962, allocations: 2.899 MB / 372.2 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.01967, allocations: 8.031 kB / 372.2 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/0.02181, allocations: 0.9784 MB / 373.2 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009189/0.02272, allocations: 0.9196 MB / 374.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.814e-05/0.02279, allocations: 119.3 kB / 374.2 MB, free: 14.87 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.02298, allocations: 156.3 kB / 374.4 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003098/0.02608, allocations: 3.423 MB / 377.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.299e-05/0.02612, allocations: 31.7 kB / 377.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.02625, allocations: 79.89 kB / 377.9 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001006/0.02726, allocations: 1.246 MB / 379.2 MB, free: 9.281 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.02926, allocations: 1.52 MB / 380.7 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01538/0.04464, allocations: 28.51 MB / 409.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.04609, allocations: 0.7852 MB / 410 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.04629, allocations: 193 kB / 410.2 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001917/0.0482, allocations: 1.833 MB / 412 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.04823, allocations: 53.25 kB / 412.1 MB, free: 7.254 MB / 346.7 MB Notification: Performance of pre-optimization done (n=77): time 2.064e-06/0.04824, allocations: 4 kB / 412.1 MB, free: 7.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=84): time 0.005126/0.05336, allocations: 2.636 MB / 414.7 MB, free: 4.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/0.05343, allocations: 148.4 kB / 414.8 MB, free: 4.371 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.05527, allocations: 2.404 MB / 417.2 MB, free: 1.922 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.05531, allocations: 49.62 kB / 417.3 MB, free: 1.867 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001461/0.05677, allocations: 2.34 MB / 419.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.05701, allocations: 389.3 kB / 420 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007617/0.05777, allocations: 0.9639 MB / 421 MB, free: 14.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.05792, allocations: 0.5159 MB / 421.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.05826, allocations: 312.3 kB / 421.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002666/0.06092, allocations: 4.675 MB / 426.5 MB, free: 6.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003615/0.06454, allocations: 5.578 MB / 432.1 MB, free: 15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.128e-05/0.06457, allocations: 32 kB / 432.1 MB, free: 14.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003194/0.06776, allocations: 3.443 MB / 435.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.06781, allocations: 52 kB / 435.6 MB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003737/0.06818, allocations: 104 kB / 435.7 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002411/0.06842, allocations: 180.2 kB / 435.9 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.06977, allocations: 0.9669 MB / 436.8 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009614/0.07073, allocations: 1.955 MB / 438.8 MB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.07189, allocations: 203.7 kB / 439 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.07207, allocations: 248 kB / 439.2 MB, free: 7.703 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.0005809/0.07265, allocations: 0.5279 MB / 439.7 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.07284, allocations: 222.6 kB / 440 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.07323, allocations: 360.9 kB / 440.3 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.07324, allocations: 12 kB / 440.3 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.07325, allocations: 3.984 kB / 440.3 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.07325, allocations: 7.938 kB / 440.3 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.0763, allocations: 2.472 MB / 442.8 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.07631, allocations: 11.98 kB / 442.8 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.07651, allocations: 99.84 kB / 442.9 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.07662, allocations: 47.64 kB / 443 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.07665, allocations: 23.94 kB / 443 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006544/0.0773, allocations: 1.757 MB / 444.7 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.07731, allocations: 7.938 kB / 444.8 MB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008888/0.0782, allocations: 1.382 MB / 446.1 MB, free: 420 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.07843, allocations: 238.4 kB / 446.4 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.07851, allocations: 16 kB / 446.4 MB, free: 164 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.07879, allocations: 16 kB / 446.4 MB, free: 148 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.07885, allocations: 59.84 kB / 446.5 MB, free: 88 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.07888, allocations: 32 kB / 446.5 MB, free: 56 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.191/0.2699, allocations: 0.9229 MB / 447.4 MB, free: 95.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2699, allocations: 0 / 447.4 MB, free: 95.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00248/0.2724, allocations: 0.553 MB / 448 MB, free: 95.58 MB / 378.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.0002761/0.2727, allocations: 148.9 kB / 448.1 MB, free: 95.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002229/0.2749, allocations: 1.874 MB / 450 MB, free: 95.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.2749, allocations: 1.156 kB / 450 MB, free: 95.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.2752, allocations: 396.4 kB / 450.4 MB, free: 95.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008156/0.276, allocations: 175.4 kB / 450.5 MB, free: 95.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/0.2812, allocations: 4.26 MB / 454.8 MB, free: 93.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000704/0.2819, allocations: 0.7153 MB / 455.5 MB, free: 93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006908/0.2826, allocations: 324.7 kB / 455.8 MB, free: 92.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.2829, allocations: 353.2 kB / 456.2 MB, free: 92.84 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2829, allocations: 4 kB / 456.2 MB, free: 92.84 MB / 378.7 MB Notification: Performance of Templates: time 0.01929/0.3022, allocations: 13.09 MB / 469.3 MB, free: 84.6 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","",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.7725507598370314]