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.001223/0.001223, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.233/0.233, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 75.31 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1178, allocations: 62.46 MB / 480 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008914/0.1267, allocations: 6.76 MB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005297/0.1321, allocations: 2.442 MB / 489.2 MB, free: 12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.1331, allocations: 35.88 kB / 489.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00253/0.1357, allocations: 1.043 MB / 490.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.1382, allocations: 0.8401 MB / 491.1 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009761/0.1392, allocations: 299.3 kB / 491.4 MB, free: 9.785 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002381/0.1416, allocations: 1.865 MB / 493.3 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.1435, allocations: 1.26 MB / 494.6 MB, free: 6.637 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.1447, allocations: 0.7121 MB / 495.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.1462, allocations: 0.9613 MB / 496.2 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003932/0.1466, allocations: 128 kB / 496.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.1481, allocations: 0.7371 MB / 497.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.1491, allocations: 0.9076 MB / 498 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001669/0.1508, allocations: 1.129 MB / 499.1 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003998/0.1548, allocations: 3.528 MB / 0.4909 GB, free: 14.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1548, allocations: 4 kB / 0.4909 GB, free: 14.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1548, allocations: 0 / 0.4909 GB, free: 14.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001221/0.1549, allocations: 0 / 0.4909 GB, free: 14.5 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.005447/0.1604, allocations: 2.65 MB / 0.4935 GB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1604, allocations: 12.03 kB / 0.4935 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005498/0.1659, allocations: 1.561 MB / 0.495 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002421/0.1684, allocations: 1.065 MB / 0.496 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.1685, allocations: 119.2 kB / 0.4962 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005286/0.1691, allocations: 167.9 kB / 0.4963 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.1803, allocations: 6.182 MB / 0.5024 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-05/0.1805, allocations: 27.75 kB / 0.5024 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004588/0.1809, allocations: 79.88 kB / 0.5025 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002581/0.1835, allocations: 1.441 MB / 0.5039 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2067/0.3902, allocations: 5.391 MB / 0.5091 GB, free: 36.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02532/0.4156, allocations: 24.87 MB / 0.5334 GB, free: 18.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004188/0.4198, allocations: 2.347 MB / 0.5357 GB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.4209, allocations: 0.986 MB / 0.5367 GB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002723/0.4212, allocations: 316.5 kB / 0.537 GB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.4212, allocations: 46.62 kB / 0.537 GB, free: 16.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.667e-06/0.4213, allocations: 0 / 0.537 GB, free: 16.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02134/0.4426, allocations: 8.435 MB / 0.5453 GB, free: 10.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.4427, allocations: 144.5 kB / 0.5454 GB, free: 10.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003775/0.4465, allocations: 2.627 MB / 0.548 GB, free: 7.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001471/0.4467, allocations: 37.7 kB / 0.548 GB, free: 7.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.4478, allocations: 2.022 MB / 0.55 GB, free: 5.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004697/0.4482, allocations: 434.1 kB / 0.5504 GB, free: 5.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/0.4494, allocations: 0.8719 MB / 0.5512 GB, free: 4.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.618e-05/0.4494, allocations: 309.1 kB / 0.5515 GB, free: 4.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.451, allocations: 1.336 MB / 0.5528 GB, free: 2.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003325/0.4543, allocations: 4.102 MB / 0.5568 GB, free: 13.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007484/0.4618, allocations: 5.94 MB / 0.5626 GB, free: 6.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.323e-05/0.462, allocations: 28 kB / 0.5627 GB, free: 6.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01031/0.4723, allocations: 5.483 MB / 0.568 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.4724, allocations: 48 kB / 0.5681 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001731/0.4726, allocations: 100 kB / 0.5682 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.474, allocations: 471.6 kB / 0.5686 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003052/0.477, allocations: 0.9707 MB / 0.5696 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004481/0.4815, allocations: 3.668 MB / 0.5731 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/0.4845, allocations: 235.5 kB / 0.5734 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006648/0.4852, allocations: 268 kB / 0.5736 GB, free: 10.71 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.002646/0.4879, allocations: 1.368 MB / 0.575 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005441/0.4884, allocations: 221.2 kB / 0.5752 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/0.4912, allocations: 1.318 MB / 0.5765 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.11e-05/0.4912, allocations: 12 kB / 0.5765 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.4913, allocations: 12.41 kB / 0.5765 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.4913, allocations: 3.984 kB / 0.5765 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00912/0.5004, allocations: 4.235 MB / 0.5806 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.5005, allocations: 0 / 0.5806 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006666/0.5011, allocations: 139.8 kB / 0.5808 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008546/0.502, allocations: 320.5 kB / 0.5811 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-05/0.5021, allocations: 17.94 kB / 0.5811 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003552/0.5057, allocations: 3.04 MB / 0.584 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.5057, allocations: 0 / 0.584 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004689/0.5104, allocations: 3.058 MB / 0.587 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007444/0.5112, allocations: 274.2 kB / 0.5873 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004949/0.5117, allocations: 19.94 kB / 0.5873 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.5128, allocations: 43.94 kB / 0.5874 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.513, allocations: 60.36 kB / 0.5874 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.202e-05/0.5131, allocations: 37.91 kB / 0.5874 GB, free: 12.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003457/0.5165, allocations: 1.628 MB / 0.589 GB, free: 10.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5165, allocations: 0 / 0.589 GB, free: 10.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003702/0.5202, allocations: 0.5872 MB / 0.5896 GB, free: 10.09 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.0003934/0.5207, allocations: 140.4 kB / 0.5897 GB, free: 9.953 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005821/0.5265, allocations: 3.468 MB / 0.5931 GB, free: 6.508 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.5265, allocations: 0 / 0.5931 GB, free: 6.508 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.5277, allocations: 0.8612 MB / 0.594 GB, free: 5.641 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/0.5294, allocations: 211.6 kB / 0.5942 GB, free: 5.434 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.5395, allocations: 5.495 MB / 0.5995 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002711/0.5423, allocations: 2.167 MB / 0.6017 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003272/0.5456, allocations: 1.383 MB / 0.603 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004779/0.546, allocations: 159.4 kB / 0.6032 GB, free: 12.14 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5461, allocations: 0 / 0.6032 GB, free: 12.14 MB / 446.1 MB Notification: Performance of Templates: time 0.04029/0.5864, allocations: 20.24 MB / 0.6229 GB, free: 7.953 MB / 462.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