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.001452/0.001452, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 246.9 MB, free: 10.54 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 / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 75.88 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3571, allocations: 62.44 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008022/0.3651, allocations: 6.785 MB / 0.5376 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005298/0.3704, allocations: 2.424 MB / 0.54 GB, free: 6.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009011/0.3714, allocations: 30.69 kB / 0.54 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002348/0.3737, allocations: 1.058 MB / 0.541 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002844/0.3767, allocations: 0.8279 MB / 0.5418 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009473/0.3776, allocations: 310.8 kB / 0.5421 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003351/0.381, allocations: 1.866 MB / 0.544 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002402/0.3834, allocations: 1.253 MB / 0.5452 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001616/0.385, allocations: 0.7129 MB / 0.5459 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.3865, allocations: 0.9692 MB / 0.5468 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003291/0.3868, allocations: 128 kB / 0.547 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.389, allocations: 0.7254 MB / 0.5477 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.39, allocations: 0.9153 MB / 0.5486 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.3911, allocations: 1.125 MB / 0.5497 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005305/0.3964, allocations: 3.727 MB / 0.5533 GB, free: 10.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.3965, allocations: 4 kB / 0.5533 GB, free: 10.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.3965, allocations: 0 / 0.5533 GB, free: 10.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.864e-05/0.3965, allocations: 0 / 0.5533 GB, free: 10.84 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.005479/0.402, allocations: 2.715 MB / 0.556 GB, free: 8.059 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.4021, allocations: 8.031 kB / 0.556 GB, free: 8.051 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005473/0.4076, allocations: 1.59 MB / 0.5575 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.4096, allocations: 1.085 MB / 0.5586 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.947e-05/0.4097, allocations: 115.3 kB / 0.5587 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002945/0.4101, allocations: 164 kB / 0.5588 GB, free: 5.059 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009244/0.4193, allocations: 6.178 MB / 0.5649 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-05/0.4194, allocations: 23.75 kB / 0.5649 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000212/0.4196, allocations: 83.89 kB / 0.565 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00261/0.4222, allocations: 1.441 MB / 0.5664 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/0.4332, allocations: 5.397 MB / 0.5717 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0339/0.4672, allocations: 24.81 MB / 0.5959 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004643/0.4719, allocations: 2.347 MB / 0.5982 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.4731, allocations: 0.9877 MB / 0.5991 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004073/0.4735, allocations: 335 kB / 0.5995 GB, free: 9.953 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.4736, allocations: 46.5 kB / 0.5995 GB, free: 9.898 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.166e-06/0.4736, allocations: 0 / 0.5995 GB, free: 9.898 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02321/0.4968, allocations: 8.557 MB / 0.6079 GB, free: 1.211 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.098e-05/0.497, allocations: 136.5 kB / 0.608 GB, free: 1.047 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004504/0.5015, allocations: 2.648 MB / 0.6106 GB, free: 14.38 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001399/0.5016, allocations: 41.7 kB / 0.6106 GB, free: 14.33 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001604/0.5032, allocations: 2.108 MB / 0.6127 GB, free: 12.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005193/0.5038, allocations: 448.7 kB / 0.6131 GB, free: 11.76 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/0.5051, allocations: 0.8734 MB / 0.6139 GB, free: 10.87 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.5053, allocations: 301.1 kB / 0.6142 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002077/0.5074, allocations: 1.332 MB / 0.6155 GB, free: 9.234 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004242/0.5116, allocations: 4.108 MB / 0.6195 GB, free: 3.723 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007725/0.5194, allocations: 5.949 MB / 0.6254 GB, free: 12.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001321/0.5195, allocations: 28.19 kB / 0.6254 GB, free: 12.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01063/0.5302, allocations: 5.497 MB / 0.6308 GB, free: 6.863 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.73e-05/0.5303, allocations: 48 kB / 0.6308 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001665/0.5305, allocations: 100 kB / 0.6309 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.5316, allocations: 460.5 kB / 0.6313 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002976/0.5346, allocations: 0.9749 MB / 0.6323 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004776/0.5394, allocations: 3.669 MB / 0.6359 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003349/0.5428, allocations: 235.7 kB / 0.6361 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007893/0.5436, allocations: 272 kB / 0.6363 GB, free: 0.9844 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.002924/0.5465, allocations: 1.375 MB / 0.6377 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006213/0.5472, allocations: 234.4 kB / 0.6379 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002777/0.55, allocations: 1.322 MB / 0.6392 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.64e-05/0.55, allocations: 12 kB / 0.6392 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.55, allocations: 4 kB / 0.6392 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.55, allocations: 3.984 kB / 0.6392 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008924/0.559, allocations: 4.19 MB / 0.6433 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.559, allocations: 4 kB / 0.6433 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006687/0.5597, allocations: 143.8 kB / 0.6435 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008721/0.5606, allocations: 312.6 kB / 0.6438 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.029e-05/0.5607, allocations: 15.98 kB / 0.6438 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003411/0.5641, allocations: 3.082 MB / 0.6468 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5641, allocations: 0 / 0.6468 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004218/0.5683, allocations: 3.083 MB / 0.6498 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006112/0.569, allocations: 287.4 kB / 0.6501 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003601/0.5693, allocations: 19.98 kB / 0.6501 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008438/0.5702, allocations: 47.94 kB / 0.6501 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.5704, allocations: 52.31 kB / 0.6502 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.242e-05/0.5704, allocations: 28.06 kB / 0.6502 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003104/0.5735, allocations: 1.628 MB / 0.6518 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5736, allocations: 0 / 0.6518 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003354/0.5769, allocations: 0.5859 MB / 0.6524 GB, free: 300 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.0003606/0.5773, allocations: 143 kB / 0.6525 GB, free: 144 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00537/0.5827, allocations: 3.228 MB / 0.6557 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.5827, allocations: 0 / 0.6557 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.5839, allocations: 0.8716 MB / 0.6565 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.5856, allocations: 208.7 kB / 0.6567 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.5973, allocations: 5.518 MB / 0.6621 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004127/0.6015, allocations: 2.167 MB / 0.6642 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003727/0.6053, allocations: 1.383 MB / 0.6656 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007151/0.606, allocations: 159.4 kB / 0.6657 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of SimCode: time 1.583e-06/0.606, allocations: 0 / 0.6657 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of Templates: time 0.04019/0.6462, allocations: 18.12 MB / 0.6834 GB, free: 444 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