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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 108.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 241.8 MB, free: 15.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2185/0.2185, allocations: 44.17 MB / 336.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 64.61 kB / 407.7 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1323, allocations: 60.83 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.0184/0.1507, allocations: 17.28 MB / 485.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009419/0.1602, allocations: 4.09 MB / 489.9 MB, free: 9.398 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002966/0.1632, allocations: 75.75 kB / 490 MB, free: 9.324 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002485/0.1657, allocations: 1.005 MB / 491 MB, free: 8.316 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00236/0.1681, allocations: 0.8134 MB / 491.8 MB, free: 7.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009147/0.1691, allocations: 263.6 kB / 492 MB, free: 7.242 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003443/0.1725, allocations: 2.768 MB / 494.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/0.1745, allocations: 1.268 MB / 496.1 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.1758, allocations: 0.638 MB / 496.7 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.1775, allocations: 1.063 MB / 497.8 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004361/0.1779, allocations: 96 kB / 497.9 MB, free: 1.379 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.1795, allocations: 0.7409 MB / 498.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001118/0.1806, allocations: 0.9192 MB / 499.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001921/0.1826, allocations: 1.133 MB / 0.4889 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004652/0.1872, allocations: 3.543 MB / 0.4924 GB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1873, allocations: 0 / 0.4924 GB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1873, allocations: 0 / 0.4924 GB, free: 11.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001236/0.1874, allocations: 0 / 0.4924 GB, free: 11.02 MB / 382.1 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.005744/0.1932, allocations: 2.661 MB / 0.495 GB, free: 8.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.1932, allocations: 15.97 kB / 0.495 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0051/0.1983, allocations: 1.565 MB / 0.4965 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.2002, allocations: 1.069 MB / 0.4976 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.941e-05/0.2003, allocations: 115.3 kB / 0.4977 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/0.2006, allocations: 159.9 kB / 0.4978 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2365/0.4371, allocations: 6.174 MB / 0.5039 GB, free: 47.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-05/0.4372, allocations: 28.02 kB / 0.5039 GB, free: 47.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002713/0.4375, allocations: 82.12 kB / 0.504 GB, free: 47.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002738/0.4402, allocations: 1.437 MB / 0.5054 GB, free: 47.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/0.4512, allocations: 5.392 MB / 0.5106 GB, free: 45.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02951/0.4808, allocations: 24.87 MB / 0.5349 GB, free: 26.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004201/0.485, allocations: 2.353 MB / 0.5372 GB, free: 25.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.4861, allocations: 0.9913 MB / 0.5382 GB, free: 24.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003092/0.4865, allocations: 321.2 kB / 0.5385 GB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.4865, allocations: 50.23 kB / 0.5385 GB, free: 24.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.047e-06/0.4865, allocations: 4 kB / 0.5385 GB, free: 24.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.01945/0.506, allocations: 8.435 MB / 0.5468 GB, free: 15.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.506, allocations: 140.5 kB / 0.5469 GB, free: 15.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/0.5089, allocations: 2.636 MB / 0.5495 GB, free: 13.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.742e-05/0.509, allocations: 41.7 kB / 0.5495 GB, free: 13.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008322/0.5099, allocations: 2.025 MB / 0.5515 GB, free: 11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003072/0.5102, allocations: 438.6 kB / 0.5519 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008569/0.5111, allocations: 0.8649 MB / 0.5528 GB, free: 9.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.172e-05/0.5111, allocations: 305.1 kB / 0.5531 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.5126, allocations: 1.332 MB / 0.5544 GB, free: 8.051 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002602/0.5152, allocations: 4.104 MB / 0.5584 GB, free: 2.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005927/0.5212, allocations: 5.94 MB / 0.5642 GB, free: 11.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.465e-05/0.5213, allocations: 28 kB / 0.5642 GB, free: 11.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.00967/0.531, allocations: 5.491 MB / 0.5696 GB, free: 5.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.035e-05/0.5311, allocations: 48 kB / 0.5696 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001546/0.5312, allocations: 96 kB / 0.5697 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.5324, allocations: 469.1 kB / 0.5701 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/0.5352, allocations: 0.9747 MB / 0.5711 GB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004071/0.5393, allocations: 3.399 MB / 0.5744 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/0.542, allocations: 223.6 kB / 0.5746 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004211/0.5424, allocations: 276 kB / 0.5749 GB, free: 104 kB / 398.1 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.002166/0.5446, allocations: 1.368 MB / 0.5762 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004631/0.5451, allocations: 221.1 kB / 0.5764 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.5475, allocations: 1.33 MB / 0.5777 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/0.5475, allocations: 15.91 kB / 0.5778 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.5475, allocations: 4 kB / 0.5778 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.5476, allocations: 3.984 kB / 0.5778 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007848/0.5554, allocations: 4.228 MB / 0.5819 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.5554, allocations: 4 kB / 0.5819 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/0.5561, allocations: 139.8 kB / 0.582 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008979/0.557, allocations: 316.5 kB / 0.5823 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.269e-05/0.5571, allocations: 16 kB / 0.5823 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003237/0.5604, allocations: 2.839 MB / 0.5851 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5604, allocations: 4.031 kB / 0.5851 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004211/0.5646, allocations: 3.064 MB / 0.5881 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005889/0.5652, allocations: 270.1 kB / 0.5884 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003692/0.5656, allocations: 20.5 kB / 0.5884 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008608/0.5664, allocations: 48 kB / 0.5884 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.5666, allocations: 56.31 kB / 0.5885 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.526e-05/0.5667, allocations: 30.42 kB / 0.5885 GB, free: 1.883 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002958/0.5697, allocations: 1.633 MB / 0.5901 GB, free: 244 kB / 414.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5697, allocations: 3.938 kB / 0.5901 GB, free: 240 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.003372/0.5731, allocations: 0.6002 MB / 0.5907 GB, free: 15.63 MB / 430.1 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.0003808/0.5734, allocations: 144.9 kB / 0.5908 GB, free: 15.49 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00545/0.5789, allocations: 3.213 MB / 0.594 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.5789, allocations: 0 / 0.594 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.5802, allocations: 0.856 MB / 0.5948 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.5819, allocations: 205.2 kB / 0.595 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.5932, allocations: 6.641 MB / 0.6015 GB, free: 4.535 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002863/0.5961, allocations: 2.171 MB / 0.6036 GB, free: 2.328 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003516/0.5997, allocations: 1.391 MB / 0.605 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005496/0.6002, allocations: 159.4 kB / 0.6051 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6002, allocations: 0 / 0.6051 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of Templates: time 0.04617/0.6464, allocations: 19.62 MB / 0.6243 GB, free: 13.21 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches