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.0008561/0.0008562, allocations: 94.84 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008797/0.0008799, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.7 MB / 247.5 MB, free: 9.324 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1994/0.1994, allocations: 46.18 MB / 345.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000251/0.000251, allocations: 11.98 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1125, allocations: 63.56 MB / 483.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01536/0.1279, allocations: 16.53 MB / 0.4885 GB, free: 3.516 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008489/0.1364, allocations: 4.067 MB / 0.4925 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.1389, allocations: 67.81 kB / 0.4926 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008834/0.1398, allocations: 270.8 kB / 0.4928 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.142, allocations: 0.8013 MB / 0.4936 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009661/0.1429, allocations: 271.5 kB / 0.4939 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003261/0.1462, allocations: 2.739 MB / 0.4965 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002779/0.149, allocations: 1.686 MB / 0.4982 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.1502, allocations: 0.5794 MB / 0.4988 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.1519, allocations: 0.9846 MB / 0.4997 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003884/0.1523, allocations: 72 kB / 0.4998 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.1537, allocations: 0.7253 MB / 0.5005 GB, free: 7.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.1549, allocations: 0.8802 MB / 0.5014 GB, free: 6.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001563/0.1564, allocations: 1.1 MB / 0.5024 GB, free: 5.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003193/0.1597, allocations: 2.775 MB / 0.5051 GB, free: 2.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1597, allocations: 0 / 0.5051 GB, free: 2.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1597, allocations: 3.984 kB / 0.5051 GB, free: 2.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000138/0.1598, allocations: 0 / 0.5051 GB, free: 2.414 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.0044/0.1642, allocations: 2.182 MB / 0.5073 GB, free: 180 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.1643, allocations: 12.88 kB / 0.5073 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.215/0.3793, allocations: 1.599 MB / 0.5089 GB, free: 40.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/0.3816, allocations: 1.072 MB / 0.5099 GB, free: 40.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.3818, allocations: 120 kB / 0.51 GB, free: 40.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006988/0.3825, allocations: 153.3 kB / 0.5102 GB, free: 40.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.3931, allocations: 6.191 MB / 0.5162 GB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001278/0.3933, allocations: 25 kB / 0.5162 GB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005122/0.3938, allocations: 79.08 kB / 0.5163 GB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002943/0.3967, allocations: 1.444 MB / 0.5177 GB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01101/0.4078, allocations: 5.398 MB / 0.523 GB, free: 35.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02368/0.4315, allocations: 24.88 MB / 0.5473 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003778/0.4353, allocations: 2.353 MB / 0.5496 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009155/0.4363, allocations: 0.9902 MB / 0.5505 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002548/0.4365, allocations: 320.2 kB / 0.5508 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.4366, allocations: 46.55 kB / 0.5509 GB, free: 8.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.398e-06/0.4366, allocations: 0 / 0.5509 GB, free: 8.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02026/0.4568, allocations: 8.494 MB / 0.5592 GB, free: 248 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.4569, allocations: 144.4 kB / 0.5593 GB, free: 72 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004591/0.4615, allocations: 2.624 MB / 0.5619 GB, free: 13.42 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001883/0.4617, allocations: 38.41 kB / 0.5619 GB, free: 13.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.4633, allocations: 2.023 MB / 0.5639 GB, free: 11.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005258/0.4638, allocations: 436 kB / 0.5643 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005528/0.4644, allocations: 368 kB / 0.5647 GB, free: 10.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.4645, allocations: 309.1 kB / 0.565 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/0.4665, allocations: 1.332 MB / 0.5663 GB, free: 8.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003827/0.4704, allocations: 4.104 MB / 0.5703 GB, free: 3.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006409/0.4768, allocations: 5.927 MB / 0.5761 GB, free: 12.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.891e-05/0.4769, allocations: 35.88 kB / 0.5761 GB, free: 12.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009956/0.4869, allocations: 5.488 MB / 0.5815 GB, free: 6.578 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.487, allocations: 52.03 kB / 0.5815 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001645/0.4872, allocations: 103.9 kB / 0.5816 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.4883, allocations: 457.3 kB / 0.582 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002799/0.4911, allocations: 0.9746 MB / 0.583 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003797/0.4949, allocations: 3.402 MB / 0.5863 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/0.4976, allocations: 231.5 kB / 0.5865 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006111/0.4982, allocations: 268 kB / 0.5868 GB, free: 0.9805 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.002421/0.5007, allocations: 1.369 MB / 0.5881 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004913/0.5012, allocations: 217.1 kB / 0.5883 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/0.5037, allocations: 1.329 MB / 0.5896 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.938e-05/0.5037, allocations: 13.41 kB / 0.5896 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.5038, allocations: 4 kB / 0.5896 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.5038, allocations: 3.984 kB / 0.5896 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007885/0.5117, allocations: 4.243 MB / 0.5938 GB, free: 9.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.5117, allocations: 4 kB / 0.5938 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006553/0.5124, allocations: 139.8 kB / 0.5939 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008503/0.5132, allocations: 317 kB / 0.5942 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.197e-05/0.5133, allocations: 16 kB / 0.5942 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003054/0.5164, allocations: 2.822 MB / 0.597 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5164, allocations: 0 / 0.597 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004093/0.5205, allocations: 3.064 MB / 0.6 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006239/0.5211, allocations: 286.3 kB / 0.6003 GB, free: 2.941 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003873/0.5215, allocations: 19.98 kB / 0.6003 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009005/0.5224, allocations: 51.88 kB / 0.6003 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.5226, allocations: 50.34 kB / 0.6004 GB, free: 2.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.572e-05/0.5227, allocations: 35.98 kB / 0.6004 GB, free: 2.789 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002888/0.5256, allocations: 1.625 MB / 0.602 GB, free: 1.152 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5256, allocations: 0 / 0.602 GB, free: 1.152 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003224/0.5288, allocations: 0.5768 MB / 0.6026 GB, free: 0.5781 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.0003478/0.5292, allocations: 145 kB / 0.6027 GB, free: 440 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005047/0.5342, allocations: 3.213 MB / 0.6058 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5343, allocations: 0 / 0.6058 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.5354, allocations: 0.8666 MB / 0.6067 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.5372, allocations: 197.1 kB / 0.6069 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.5483, allocations: 6.983 MB / 0.6137 GB, free: 5.133 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002634/0.5509, allocations: 2.188 MB / 0.6158 GB, free: 2.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006487/0.5516, allocations: 195.4 kB / 0.616 GB, free: 2.719 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5516, allocations: 0 / 0.616 GB, free: 2.719 MB / 446.1 MB Notification: Performance of Templates: time 0.06533/0.6169, allocations: 45.12 MB / 0.6601 GB, free: 5.613 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