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.001132/0.001133, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001277/0.001277, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 79.88 kB / 482 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3177, allocations: 62.45 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007828/0.3255, allocations: 6.77 MB / 0.5383 GB, free: 8.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005055/0.3306, allocations: 2.423 MB / 0.5406 GB, free: 6.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.332, allocations: 35.03 kB / 0.5407 GB, free: 6.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002569/0.3346, allocations: 1.061 MB / 0.5417 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.3373, allocations: 0.8288 MB / 0.5425 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.3384, allocations: 309.7 kB / 0.5428 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003142/0.3416, allocations: 1.871 MB / 0.5446 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/0.3438, allocations: 1.252 MB / 0.5459 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001653/0.3454, allocations: 0.7072 MB / 0.5465 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/0.3472, allocations: 0.9653 MB / 0.5475 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005394/0.3478, allocations: 128 kB / 0.5476 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.3496, allocations: 0.7332 MB / 0.5483 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001225/0.3508, allocations: 0.927 MB / 0.5492 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001841/0.3527, allocations: 1.125 MB / 0.5503 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004826/0.3575, allocations: 3.715 MB / 0.554 GB, free: 10.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3576, allocations: 0 / 0.554 GB, free: 10.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3576, allocations: 0 / 0.554 GB, free: 10.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.088e-05/0.3577, allocations: 0 / 0.554 GB, free: 10.86 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.004529/0.3622, allocations: 2.646 MB / 0.5565 GB, free: 8.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3622, allocations: 12.03 kB / 0.5566 GB, free: 8.145 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005231/0.3675, allocations: 1.565 MB / 0.5581 GB, free: 6.574 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.3694, allocations: 1.08 MB / 0.5591 GB, free: 5.453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.52e-05/0.3695, allocations: 119.3 kB / 0.5592 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004038/0.3699, allocations: 163.9 kB / 0.5594 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009324/0.3793, allocations: 6.178 MB / 0.5654 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.529e-05/0.3794, allocations: 31.75 kB / 0.5655 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004291/0.3799, allocations: 83.83 kB / 0.5655 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002524/0.3824, allocations: 1.445 MB / 0.567 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/0.3926, allocations: 5.385 MB / 0.5722 GB, free: 7.559 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03007/0.4227, allocations: 24.77 MB / 0.5964 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004784/0.4275, allocations: 2.339 MB / 0.5987 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.4288, allocations: 0.9948 MB / 0.5997 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003774/0.4292, allocations: 335 kB / 0.6 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.4293, allocations: 42.5 kB / 0.6 GB, free: 10.06 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.857e-06/0.4293, allocations: 0 / 0.6 GB, free: 10.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02414/0.4534, allocations: 8.429 MB / 0.6082 GB, free: 1.484 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.485e-05/0.4536, allocations: 136.5 kB / 0.6084 GB, free: 1.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004667/0.4583, allocations: 2.635 MB / 0.611 GB, free: 14.66 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001923/0.4585, allocations: 41.7 kB / 0.611 GB, free: 14.61 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001685/0.4602, allocations: 2.016 MB / 0.613 GB, free: 12.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006274/0.4608, allocations: 434.7 kB / 0.6134 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00163/0.4625, allocations: 0.8687 MB / 0.6142 GB, free: 11.25 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4626, allocations: 301.1 kB / 0.6145 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/0.4647, allocations: 1.336 MB / 0.6158 GB, free: 9.613 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004184/0.4689, allocations: 4.104 MB / 0.6198 GB, free: 4.105 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007187/0.4761, allocations: 5.94 MB / 0.6256 GB, free: 12.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001166/0.4763, allocations: 32 kB / 0.6257 GB, free: 12.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01077/0.487, allocations: 5.488 MB / 0.631 GB, free: 7.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.4872, allocations: 46.66 kB / 0.6311 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002195/0.4874, allocations: 100.9 kB / 0.6312 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.4887, allocations: 468.7 kB / 0.6316 GB, free: 6.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003254/0.492, allocations: 0.9786 MB / 0.6326 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004556/0.4966, allocations: 3.661 MB / 0.6361 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003057/0.4997, allocations: 231.5 kB / 0.6364 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007789/0.5005, allocations: 272 kB / 0.6366 GB, free: 1.383 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.002835/0.5033, allocations: 1.372 MB / 0.638 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005754/0.5039, allocations: 221.2 kB / 0.6382 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/0.5067, allocations: 1.318 MB / 0.6395 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.846e-05/0.5068, allocations: 12 kB / 0.6395 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.5068, allocations: 4 kB / 0.6395 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.5068, allocations: 3.984 kB / 0.6395 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00894/0.5158, allocations: 4.198 MB / 0.6436 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.5159, allocations: 0 / 0.6436 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007112/0.5166, allocations: 143.8 kB / 0.6437 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008962/0.5175, allocations: 316.5 kB / 0.644 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.5176, allocations: 16 kB / 0.644 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003619/0.5213, allocations: 3.078 MB / 0.647 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.5213, allocations: 4.031 kB / 0.647 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004712/0.526, allocations: 3.066 MB / 0.65 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006726/0.5267, allocations: 282.2 kB / 0.6503 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004713/0.5272, allocations: 16.19 kB / 0.6503 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.5283, allocations: 47.94 kB / 0.6504 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.5285, allocations: 52.25 kB / 0.6504 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.215e-05/0.5286, allocations: 35.98 kB / 0.6504 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003193/0.5318, allocations: 1.621 MB / 0.652 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5318, allocations: 0 / 0.652 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004087/0.5359, allocations: 0.5859 MB / 0.6526 GB, free: 0.7227 MB / 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.0004954/0.5365, allocations: 143 kB / 0.6527 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005411/0.5419, allocations: 3.235 MB / 0.6559 GB, free: 13.34 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.5419, allocations: 0.5625 kB / 0.6559 GB, free: 13.34 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.5432, allocations: 0.8716 MB / 0.6567 GB, free: 12.46 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.5451, allocations: 208.7 kB / 0.6569 GB, free: 12.25 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.5561, allocations: 5.724 MB / 0.6625 GB, free: 6.477 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002693/0.5588, allocations: 2.167 MB / 0.6646 GB, free: 4.277 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006312/0.5595, allocations: 191.4 kB / 0.6648 GB, free: 4.09 MB / 0.5138 GB Notification: Performance of SimCode: time 8.11e-07/0.5595, allocations: 0 / 0.6648 GB, free: 4.09 MB / 0.5138 GB Notification: Performance of Templates: time 0.06601/0.6255, allocations: 46.04 MB / 0.7098 GB, free: 6.086 MB / 0.5606 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/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