Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001372/0.001372, allocations: 108.4 kB / 17.86 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 209.7 kB / 18.79 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 79.89 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1251, allocations: 62.46 MB / 479.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01741/0.1426, allocations: 17.18 MB / 497.1 MB, free: 4.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008423/0.151, allocations: 4.102 MB / 0.4895 GB, free: 352 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.1536, allocations: 63.88 kB / 0.4895 GB, free: 288 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002446/0.1561, allocations: 1.04 MB / 0.4906 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002166/0.1583, allocations: 0.7822 MB / 0.4913 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008578/0.1592, allocations: 275.5 kB / 0.4916 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003032/0.1623, allocations: 2.743 MB / 0.4943 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.1642, allocations: 1.272 MB / 0.4955 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.1655, allocations: 0.6302 MB / 0.4961 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.1671, allocations: 1.047 MB / 0.4971 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004444/0.1676, allocations: 96 kB / 0.4972 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.1692, allocations: 0.7448 MB / 0.498 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001126/0.1703, allocations: 0.9113 MB / 0.4988 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00167/0.172, allocations: 1.11 MB / 0.4999 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003391/0.1754, allocations: 2.83 MB / 0.5027 GB, free: 2.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.1755, allocations: 0 / 0.5027 GB, free: 2.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1755, allocations: 4 kB / 0.5027 GB, free: 2.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001313/0.1756, allocations: 0 / 0.5027 GB, free: 2.75 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.006302/0.1819, allocations: 2.646 MB / 0.5053 GB, free: 48 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.182, allocations: 12.88 kB / 0.5053 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2155/0.3975, allocations: 1.558 MB / 0.5068 GB, free: 41.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.3999, allocations: 1.068 MB / 0.5079 GB, free: 41.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.4, allocations: 120.8 kB / 0.508 GB, free: 41.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006067/0.4007, allocations: 153.1 kB / 0.5081 GB, free: 41.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.4108, allocations: 6.185 MB / 0.5142 GB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.562e-05/0.411, allocations: 31.28 kB / 0.5142 GB, free: 38.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003773/0.4113, allocations: 83.22 kB / 0.5143 GB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002674/0.414, allocations: 1.435 MB / 0.5157 GB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009993/0.424, allocations: 5.402 MB / 0.5209 GB, free: 36.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02305/0.4471, allocations: 24.86 MB / 0.5452 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003889/0.4511, allocations: 2.354 MB / 0.5475 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009537/0.4521, allocations: 0.9811 MB / 0.5485 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002633/0.4524, allocations: 323.8 kB / 0.5488 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.4524, allocations: 46.56 kB / 0.5488 GB, free: 9.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.486e-06/0.4524, allocations: 4 kB / 0.5488 GB, free: 9.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02015/0.4726, allocations: 8.44 MB / 0.5571 GB, free: 1.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.4727, allocations: 148.4 kB / 0.5572 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003747/0.4764, allocations: 2.631 MB / 0.5598 GB, free: 14.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.4766, allocations: 33.7 kB / 0.5598 GB, free: 14.3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001463/0.4781, allocations: 2.02 MB / 0.5618 GB, free: 12.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005488/0.4787, allocations: 438.7 kB / 0.5622 GB, free: 11.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001416/0.4801, allocations: 0.8688 MB / 0.5631 GB, free: 10.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.4802, allocations: 301.1 kB / 0.5633 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/0.4823, allocations: 1.332 MB / 0.5646 GB, free: 9.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003946/0.4862, allocations: 4.112 MB / 0.5687 GB, free: 3.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006647/0.4929, allocations: 5.933 MB / 0.5745 GB, free: 12.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/0.493, allocations: 28 kB / 0.5745 GB, free: 12.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01035/0.5034, allocations: 5.488 MB / 0.5798 GB, free: 6.941 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.5035, allocations: 51.92 kB / 0.5799 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001627/0.5037, allocations: 100 kB / 0.58 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.5049, allocations: 465 kB / 0.5804 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003074/0.508, allocations: 0.9708 MB / 0.5814 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00412/0.5121, allocations: 3.391 MB / 0.5847 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00284/0.515, allocations: 231.5 kB / 0.5849 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006951/0.5157, allocations: 276 kB / 0.5852 GB, free: 1.344 MB / 414.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.00264/0.5183, allocations: 1.364 MB / 0.5865 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004957/0.5188, allocations: 213.2 kB / 0.5867 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002584/0.5214, allocations: 1.329 MB / 0.588 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.791e-05/0.5215, allocations: 16 kB / 0.588 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.5215, allocations: 480 / 0.588 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.5215, allocations: 7.984 kB / 0.588 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007938/0.5295, allocations: 4.229 MB / 0.5922 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.5295, allocations: 4 kB / 0.5922 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006447/0.5302, allocations: 139.8 kB / 0.5923 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009537/0.5311, allocations: 316.5 kB / 0.5926 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.623e-05/0.5312, allocations: 20 kB / 0.5926 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003434/0.5347, allocations: 2.828 MB / 0.5954 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.5347, allocations: 3.938 kB / 0.5954 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004682/0.5394, allocations: 3.06 MB / 0.5984 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006766/0.5401, allocations: 282.1 kB / 0.5986 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003637/0.5405, allocations: 12 kB / 0.5987 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008196/0.5413, allocations: 47.94 kB / 0.5987 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.5415, allocations: 56.31 kB / 0.5988 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.618e-05/0.5416, allocations: 40.05 kB / 0.5988 GB, free: 3.137 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002782/0.5444, allocations: 1.625 MB / 0.6004 GB, free: 1.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5444, allocations: 0 / 0.6004 GB, free: 1.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0033/0.5477, allocations: 0.5813 MB / 0.6009 GB, free: 0.9219 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.0003562/0.548, allocations: 140.5 kB / 0.6011 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00488/0.5529, allocations: 3.224 MB / 0.6042 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.553, allocations: 3.938 kB / 0.6042 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.5541, allocations: 0.8523 MB / 0.6051 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.5556, allocations: 201.6 kB / 0.6053 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.566, allocations: 6.93 MB / 0.612 GB, free: 5.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002675/0.5688, allocations: 2.163 MB / 0.6141 GB, free: 3.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000731/0.5695, allocations: 191.4 kB / 0.6143 GB, free: 3.133 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5695, allocations: 0 / 0.6143 GB, free: 3.133 MB / 446.1 MB Notification: Performance of Templates: time 0.06193/0.6315, allocations: 45.6 MB / 0.6589 GB, free: 5.574 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches