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.0009765/0.0009765, allocations: 101.8 kB / 17.01 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001155/0.001155, allocations: 194.1 kB / 17.91 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2168/0.2168, allocations: 46.19 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003003, allocations: 8.219 kB / 418.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1239, allocations: 63.57 MB / 482.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01557/0.1395, allocations: 15.43 MB / 497.8 MB, free: 5.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008015/0.1476, allocations: 3.858 MB / 0.4899 GB, free: 1.219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002466/0.1501, allocations: 71.81 kB / 0.49 GB, free: 1.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002298/0.1524, allocations: 0.7621 MB / 0.4907 GB, free: 392 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005391/0.1578, allocations: 2.194 MB / 0.4929 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.1589, allocations: 247.6 kB / 0.4931 GB, free: 13.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002763/0.1617, allocations: 2.142 MB / 0.4952 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002867/0.1646, allocations: 1.516 MB / 0.4967 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.1661, allocations: 0.642 MB / 0.4973 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.1679, allocations: 0.9772 MB / 0.4983 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004278/0.1684, allocations: 76 kB / 0.4984 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.1698, allocations: 0.6045 MB / 0.4989 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0012/0.171, allocations: 0.853 MB / 0.4998 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007512/0.1718, allocations: 476.1 kB / 0.5002 GB, free: 6.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003667/0.1755, allocations: 2.775 MB / 0.5029 GB, free: 3.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.1755, allocations: 0 / 0.5029 GB, free: 3.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1755, allocations: 0 / 0.5029 GB, free: 3.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000162/0.1757, allocations: 0 / 0.5029 GB, free: 3.832 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.005564/0.1813, allocations: 2.209 MB / 0.5051 GB, free: 1.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1813, allocations: 8.031 kB / 0.5051 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2813/0.4627, allocations: 1.613 MB / 0.5067 GB, free: 18.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/0.4658, allocations: 1.05 MB / 0.5077 GB, free: 18.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.4659, allocations: 119.9 kB / 0.5078 GB, free: 18.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004412/0.4664, allocations: 153.7 kB / 0.508 GB, free: 18.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.4771, allocations: 6.164 MB / 0.514 GB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-05/0.4772, allocations: 31.64 kB / 0.514 GB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002362/0.4774, allocations: 78.72 kB / 0.5141 GB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002689/0.4801, allocations: 1.442 MB / 0.5155 GB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/0.4916, allocations: 5.365 MB / 0.5207 GB, free: 17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03193/0.5236, allocations: 24.87 MB / 0.545 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004675/0.5283, allocations: 2.33 MB / 0.5473 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/0.5299, allocations: 0.9975 MB / 0.5483 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003769/0.5303, allocations: 322.5 kB / 0.5486 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.5304, allocations: 42.5 kB / 0.5486 GB, free: 15.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 5.841e-06/0.5304, allocations: 3.984 kB / 0.5486 GB, free: 15.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02491/0.5553, allocations: 8.467 MB / 0.5569 GB, free: 6.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.5555, allocations: 148.2 kB / 0.557 GB, free: 6.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005307/0.5608, allocations: 2.625 MB / 0.5596 GB, free: 4.062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002072/0.561, allocations: 42.25 kB / 0.5596 GB, free: 4.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001942/0.563, allocations: 2.017 MB / 0.5616 GB, free: 2.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006035/0.5636, allocations: 433.8 kB / 0.562 GB, free: 1.594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/0.5639, allocations: 84 kB / 0.5621 GB, free: 1.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000374/0.5643, allocations: 495.4 kB / 0.5626 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/0.5666, allocations: 1.32 MB / 0.5639 GB, free: 15.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00442/0.571, allocations: 4.09 MB / 0.5679 GB, free: 10.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003706/0.5748, allocations: 2.297 MB / 0.5701 GB, free: 8.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-05/0.5749, allocations: 28 kB / 0.5701 GB, free: 8.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01016/0.585, allocations: 5.449 MB / 0.5755 GB, free: 2.973 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.834e-05/0.5852, allocations: 52.22 kB / 0.5755 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001599/0.5853, allocations: 100 kB / 0.5756 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.5865, allocations: 476.4 kB / 0.5761 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002914/0.5894, allocations: 0.9747 MB / 0.577 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004145/0.5936, allocations: 3.392 MB / 0.5803 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/0.5966, allocations: 230.6 kB / 0.5805 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006113/0.5973, allocations: 272 kB / 0.5808 GB, free: 13.38 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00272/0.6, allocations: 1.365 MB / 0.5821 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006148/0.6006, allocations: 225 kB / 0.5823 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.6033, allocations: 1.314 MB / 0.5836 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-05/0.6034, allocations: 12 kB / 0.5836 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.6034, allocations: 8 kB / 0.5836 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.6034, allocations: 9.219 kB / 0.5837 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008322/0.6117, allocations: 4.233 MB / 0.5878 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.6118, allocations: 9.422 kB / 0.5878 GB, free: 6.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000655/0.6124, allocations: 139.8 kB / 0.5879 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008509/0.6133, allocations: 319.4 kB / 0.5882 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.175e-05/0.6134, allocations: 12 kB / 0.5883 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003456/0.6169, allocations: 2.825 MB / 0.591 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6169, allocations: 0 / 0.591 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004532/0.6215, allocations: 3.061 MB / 0.594 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008099/0.6223, allocations: 286.1 kB / 0.5943 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000471/0.6228, allocations: 12 kB / 0.5943 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000879/0.6237, allocations: 50.59 kB / 0.5943 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.6238, allocations: 56.31 kB / 0.5944 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.375e-05/0.6239, allocations: 28 kB / 0.5944 GB, free: 15.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003425/0.6273, allocations: 1.617 MB / 0.596 GB, free: 13.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6274, allocations: 1.312 kB / 0.596 GB, free: 13.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004497/0.6319, allocations: 0.584 MB / 0.5966 GB, free: 13 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005955/0.6325, allocations: 140.2 kB / 0.5967 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006528/0.639, allocations: 3.197 MB / 0.5998 GB, free: 9.668 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6391, allocations: 5.125 kB / 0.5998 GB, free: 9.664 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.6405, allocations: 0.8614 MB / 0.6007 GB, free: 8.797 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.6424, allocations: 204 kB / 0.6009 GB, free: 8.598 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.6542, allocations: 6.437 MB / 0.6071 GB, free: 2.125 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003045/0.6573, allocations: 2.167 MB / 0.6093 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003667/0.661, allocations: 1.395 MB / 0.6106 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005616/0.6616, allocations: 151.4 kB / 0.6108 GB, free: 14.38 MB / 462.1 MB Notification: Performance of SimCode: time 1.362e-06/0.6616, allocations: 0 / 0.6108 GB, free: 14.38 MB / 462.1 MB Notification: Performance of Templates: time 0.04084/0.7024, allocations: 18.93 MB / 0.6293 GB, free: 11.56 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