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.001278/0.001278, allocations: 105.8 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001596/0.001596, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246.3 MB, free: 9.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2372/0.2372, allocations: 46.1 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 80.86 kB / 416.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1175, allocations: 62.45 MB / 479.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01829/0.1358, allocations: 17.18 MB / 496.5 MB, free: 4.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.1462, allocations: 4.106 MB / 0.4888 GB, free: 348 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004308/0.1505, allocations: 71.81 kB / 0.4889 GB, free: 276 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003036/0.1536, allocations: 1.024 MB / 0.4899 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002894/0.1566, allocations: 0.7939 MB / 0.4907 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.1577, allocations: 275.5 kB / 0.491 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003614/0.1613, allocations: 2.746 MB / 0.4936 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002248/0.1636, allocations: 1.264 MB / 0.4949 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.165, allocations: 0.6224 MB / 0.4955 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.1669, allocations: 1.055 MB / 0.4965 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000509/0.1674, allocations: 92 kB / 0.4966 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.1691, allocations: 0.7409 MB / 0.4973 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001277/0.1704, allocations: 0.923 MB / 0.4982 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001836/0.1722, allocations: 1.106 MB / 0.4993 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004228/0.1765, allocations: 3.512 MB / 0.5027 GB, free: 2.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1765, allocations: 4 kB / 0.5027 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1765, allocations: 0 / 0.5027 GB, free: 2.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001241/0.1766, allocations: 0 / 0.5027 GB, free: 2.059 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.2673/0.444, allocations: 2.645 MB / 0.5053 GB, free: 41.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.444, allocations: 11.72 kB / 0.5053 GB, free: 41.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006646/0.4507, allocations: 1.564 MB / 0.5069 GB, free: 41.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/0.4533, allocations: 1.065 MB / 0.5079 GB, free: 41.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.4535, allocations: 120.3 kB / 0.508 GB, free: 41.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008026/0.4543, allocations: 155 kB / 0.5082 GB, free: 41.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/0.4658, allocations: 6.191 MB / 0.5142 GB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001259/0.4659, allocations: 28.06 kB / 0.5142 GB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004302/0.4663, allocations: 78.14 kB / 0.5143 GB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00306/0.4694, allocations: 1.44 MB / 0.5157 GB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/0.4827, allocations: 5.405 MB / 0.521 GB, free: 36.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02399/0.5067, allocations: 24.86 MB / 0.5453 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00403/0.5108, allocations: 2.35 MB / 0.5476 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009562/0.5118, allocations: 0.993 MB / 0.5485 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/0.5121, allocations: 315.8 kB / 0.5488 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.5121, allocations: 38.56 kB / 0.5489 GB, free: 8.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.238e-06/0.5122, allocations: 4 kB / 0.5489 GB, free: 8.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.0207/0.5329, allocations: 8.442 MB / 0.5571 GB, free: 236 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.5329, allocations: 148.4 kB / 0.5573 GB, free: 56 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004013/0.537, allocations: 2.635 MB / 0.5598 GB, free: 13.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.5371, allocations: 37.7 kB / 0.5599 GB, free: 13.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001497/0.5386, allocations: 2.02 MB / 0.5618 GB, free: 11.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005333/0.5392, allocations: 430.7 kB / 0.5622 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001323/0.5405, allocations: 0.8649 MB / 0.5631 GB, free: 9.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.5406, allocations: 305.1 kB / 0.5634 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/0.5427, allocations: 1.332 MB / 0.5647 GB, free: 8.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003972/0.5467, allocations: 4.104 MB / 0.5687 GB, free: 2.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006602/0.5533, allocations: 5.935 MB / 0.5745 GB, free: 11.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001116/0.5534, allocations: 32 kB / 0.5745 GB, free: 11.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009976/0.5634, allocations: 5.487 MB / 0.5799 GB, free: 6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.181e-05/0.5635, allocations: 51.94 kB / 0.5799 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/0.5636, allocations: 103.8 kB / 0.58 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.5648, allocations: 456.9 kB / 0.5805 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002823/0.5677, allocations: 0.9824 MB / 0.5814 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004028/0.5717, allocations: 3.39 MB / 0.5847 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/0.5743, allocations: 239.4 kB / 0.585 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004555/0.5748, allocations: 268.1 kB / 0.5852 GB, free: 412 kB / 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.00217/0.577, allocations: 1.368 MB / 0.5865 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004821/0.5775, allocations: 217.1 kB / 0.5868 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/0.5799, allocations: 1.325 MB / 0.5881 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/0.58, allocations: 12 kB / 0.5881 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.58, allocations: 4 kB / 0.5881 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.58, allocations: 3.984 kB / 0.5881 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007866/0.5879, allocations: 4.24 MB / 0.5922 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.5879, allocations: 0 / 0.5922 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006519/0.5886, allocations: 136.3 kB / 0.5923 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008946/0.5895, allocations: 316.5 kB / 0.5926 GB, free: 8.707 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.15e-05/0.5896, allocations: 12 kB / 0.5927 GB, free: 8.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003507/0.5931, allocations: 2.829 MB / 0.5954 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5931, allocations: 4.031 kB / 0.5954 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007076/0.6002, allocations: 3.062 MB / 0.5984 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009244/0.6012, allocations: 278.1 kB / 0.5987 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000575/0.6018, allocations: 12 kB / 0.5987 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/0.6034, allocations: 47.94 kB / 0.5987 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/0.6037, allocations: 56.3 kB / 0.5988 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.6039, allocations: 28 kB / 0.5988 GB, free: 2.211 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004768/0.6086, allocations: 1.632 MB / 0.6004 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6087, allocations: 3.938 kB / 0.6004 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005717/0.6144, allocations: 0.5846 MB / 0.601 GB, free: 15.98 MB / 446.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.0005976/0.615, allocations: 133.8 kB / 0.6011 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009355/0.6244, allocations: 3.223 MB / 0.6043 GB, free: 12.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.6245, allocations: 0 / 0.6043 GB, free: 12.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002366/0.6268, allocations: 0.8601 MB / 0.6051 GB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/0.63, allocations: 208 kB / 0.6053 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/0.6496, allocations: 6.632 MB / 0.6118 GB, free: 4.887 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004939/0.6546, allocations: 2.167 MB / 0.6139 GB, free: 2.684 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007214/0.6619, allocations: 1.395 MB / 0.6153 GB, free: 1.281 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008815/0.6628, allocations: 155.4 kB / 0.6154 GB, free: 1.129 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6628, allocations: 0 / 0.6154 GB, free: 1.129 MB / 446.1 MB Notification: Performance of Templates: time 0.04253/0.7053, allocations: 19.54 MB / 0.6345 GB, free: 13.64 MB / 478.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/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_trunk_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches