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.001685/0.001685, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001941/0.00194, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.265/0.265, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 75.88 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3869, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008416/0.3954, allocations: 6.778 MB / 0.5376 GB, free: 8.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005796/0.4012, allocations: 2.423 MB / 0.54 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.4027, allocations: 30.81 kB / 0.54 GB, free: 6.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.405, allocations: 1.059 MB / 0.541 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.4079, allocations: 0.8328 MB / 0.5418 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009869/0.4089, allocations: 305.4 kB / 0.5421 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003205/0.4122, allocations: 1.866 MB / 0.544 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.4139, allocations: 1.257 MB / 0.5452 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.4149, allocations: 0.7097 MB / 0.5459 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.4161, allocations: 0.9613 MB / 0.5468 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002854/0.4164, allocations: 128 kB / 0.5469 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.4179, allocations: 0.7332 MB / 0.5477 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008538/0.4188, allocations: 0.9154 MB / 0.5486 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.4198, allocations: 1.125 MB / 0.5497 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004126/0.4239, allocations: 3.731 MB / 0.5533 GB, free: 10.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4239, allocations: 0 / 0.5533 GB, free: 10.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.4239, allocations: 4 kB / 0.5533 GB, free: 10.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.104e-05/0.424, allocations: 0 / 0.5533 GB, free: 10.81 MB / 414.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.004812/0.4288, allocations: 2.711 MB / 0.5559 GB, free: 8.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.4289, allocations: 12.03 kB / 0.556 GB, free: 8.023 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005238/0.4341, allocations: 1.586 MB / 0.5575 GB, free: 6.434 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/0.4361, allocations: 1.081 MB / 0.5586 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.898e-05/0.4362, allocations: 119.3 kB / 0.5587 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002984/0.4365, allocations: 160 kB / 0.5588 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009044/0.4455, allocations: 6.174 MB / 0.5649 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.689e-05/0.4457, allocations: 27.75 kB / 0.5649 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.4459, allocations: 83.89 kB / 0.565 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00236/0.4483, allocations: 1.441 MB / 0.5664 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/0.4583, allocations: 5.404 MB / 0.5716 GB, free: 7.414 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0269/0.4853, allocations: 24.8 MB / 0.5959 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004612/0.4899, allocations: 2.348 MB / 0.5982 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.4912, allocations: 0.9946 MB / 0.5991 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004066/0.4916, allocations: 327 kB / 0.5994 GB, free: 9.938 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/0.4917, allocations: 42.56 kB / 0.5995 GB, free: 9.887 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 4.148e-06/0.4917, allocations: 4 kB / 0.5995 GB, free: 9.883 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02232/0.514, allocations: 8.568 MB / 0.6079 GB, free: 1.188 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.5141, allocations: 144.5 kB / 0.608 GB, free: 1.016 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003982/0.5181, allocations: 2.644 MB / 0.6106 GB, free: 14.35 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.5183, allocations: 33.7 kB / 0.6106 GB, free: 14.31 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001652/0.5199, allocations: 2.112 MB / 0.6127 GB, free: 12.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000457/0.5204, allocations: 448.7 kB / 0.6131 GB, free: 11.73 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001062/0.5215, allocations: 0.8773 MB / 0.614 GB, free: 10.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.5217, allocations: 301.1 kB / 0.6142 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001887/0.5236, allocations: 1.332 MB / 0.6155 GB, free: 9.207 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004126/0.5277, allocations: 4.112 MB / 0.6196 GB, free: 3.691 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00698/0.5347, allocations: 5.938 MB / 0.6254 GB, free: 12.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.531e-05/0.5348, allocations: 28 kB / 0.6254 GB, free: 12.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01124/0.546, allocations: 5.499 MB / 0.6308 GB, free: 6.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.861e-05/0.5461, allocations: 48 kB / 0.6308 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001575/0.5463, allocations: 96 kB / 0.6309 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.5474, allocations: 464.9 kB / 0.6313 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002715/0.5502, allocations: 0.9746 MB / 0.6323 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004268/0.5544, allocations: 3.673 MB / 0.6359 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/0.5573, allocations: 231.7 kB / 0.6361 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005282/0.5579, allocations: 272 kB / 0.6364 GB, free: 0.9609 MB / 494.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.002398/0.5603, allocations: 1.364 MB / 0.6377 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004745/0.5608, allocations: 238.4 kB / 0.6379 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/0.5636, allocations: 1.322 MB / 0.6392 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-05/0.5637, allocations: 15.91 kB / 0.6392 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.5637, allocations: 0 / 0.6392 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.5637, allocations: 7.984 kB / 0.6392 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00806/0.5718, allocations: 4.194 MB / 0.6433 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.5718, allocations: 4 kB / 0.6433 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006021/0.5724, allocations: 139.8 kB / 0.6435 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/0.5735, allocations: 312.6 kB / 0.6438 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.535e-05/0.5736, allocations: 19.98 kB / 0.6438 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005747/0.5793, allocations: 3.078 MB / 0.6468 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5794, allocations: 0 / 0.6468 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006491/0.5859, allocations: 3.075 MB / 0.6498 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007607/0.5866, allocations: 291.4 kB / 0.6501 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.5869, allocations: 24.05 kB / 0.6501 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007562/0.5876, allocations: 43.94 kB / 0.6501 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.5878, allocations: 52.44 kB / 0.6502 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.538e-05/0.5879, allocations: 28 kB / 0.6502 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003426/0.5913, allocations: 1.628 MB / 0.6518 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5913, allocations: 0 / 0.6518 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003423/0.5947, allocations: 0.5859 MB / 0.6524 GB, free: 280 kB / 0.4981 GB 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.0003449/0.5951, allocations: 146.9 kB / 0.6525 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005201/0.6003, allocations: 3.235 MB / 0.6557 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.6003, allocations: 0 / 0.6557 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.6015, allocations: 0.8639 MB / 0.6565 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.6029, allocations: 209.2 kB / 0.6567 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008808/0.6117, allocations: 5.515 MB / 0.6621 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002177/0.6139, allocations: 2.171 MB / 0.6642 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002835/0.6167, allocations: 1.387 MB / 0.6656 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/0.6172, allocations: 159.4 kB / 0.6657 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of SimCode: time 6.51e-07/0.6172, allocations: 0 / 0.6657 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of Templates: time 0.03693/0.6541, allocations: 18.11 MB / 0.6834 GB, free: 432 kB / 0.5294 GB 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