Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009473/0.009473, allocations: 102 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 194.9 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.1 MB / 222.5 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4116/0.4116, allocations: 39.95 MB / 309.8 MB, free: 9.664 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 67.91 kB / 435.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3459, allocations: 56.88 MB / 492.6 MB, free: 19.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008013/0.354, allocations: 6.808 MB / 499.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006111/0.3602, allocations: 2.383 MB / 0.4901 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.3619, allocations: 31.09 kB / 0.4901 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002471/0.3644, allocations: 1.04 MB / 0.4911 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003641/0.3681, allocations: 0.846 MB / 0.4919 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.3698, allocations: 301.8 kB / 0.4922 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005404/0.3752, allocations: 1.896 MB / 0.4941 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/0.377, allocations: 1.266 MB / 0.4953 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.3789, allocations: 0.7187 MB / 0.496 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.3809, allocations: 0.9686 MB / 0.497 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000405/0.3813, allocations: 127.4 kB / 0.4971 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/0.3831, allocations: 0.7163 MB / 0.4978 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.3842, allocations: 0.937 MB / 0.4987 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.3855, allocations: 1.141 MB / 0.4998 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00625/0.3917, allocations: 3.735 MB / 0.5035 GB, free: 5.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3918, allocations: 1.125 kB / 0.5035 GB, free: 5.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3918, allocations: 0 / 0.5035 GB, free: 5.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001288/0.3919, allocations: 4 kB / 0.5035 GB, free: 5.613 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.006239/0.3982, allocations: 2.658 MB / 0.5061 GB, free: 3.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.3982, allocations: 16.77 kB / 0.5061 GB, free: 3.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005121/0.4034, allocations: 1.571 MB / 0.5076 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.4062, allocations: 1.081 MB / 0.5087 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.36e-05/0.4063, allocations: 119.5 kB / 0.5088 GB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003291/0.4066, allocations: 157.6 kB / 0.5089 GB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/0.4171, allocations: 6.182 MB / 0.515 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-05/0.4172, allocations: 27.72 kB / 0.515 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002594/0.4175, allocations: 83.89 kB / 0.5151 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002466/0.42, allocations: 1.448 MB / 0.5165 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.4302, allocations: 5.389 MB / 0.5218 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03544/0.4657, allocations: 24.77 MB / 0.5459 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004517/0.4703, allocations: 2.346 MB / 0.5482 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.4715, allocations: 0.9872 MB / 0.5492 GB, free: 9.152 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003639/0.4719, allocations: 327.8 kB / 0.5495 GB, free: 8.777 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.4719, allocations: 42.5 kB / 0.5495 GB, free: 8.727 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.156e-06/0.4719, allocations: 0 / 0.5495 GB, free: 8.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=106): time 0.02164/0.4936, allocations: 8.447 MB / 0.5578 GB, free: 140 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.582e-05/0.4937, allocations: 136.5 kB / 0.5579 GB, free: 15.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003776/0.4975, allocations: 2.644 MB / 0.5605 GB, free: 13.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.4976, allocations: 37.7 kB / 0.5605 GB, free: 13.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00135/0.499, allocations: 2.028 MB / 0.5625 GB, free: 11.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004593/0.4994, allocations: 438.6 kB / 0.5629 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/0.5006, allocations: 0.8688 MB / 0.5638 GB, free: 9.887 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.5007, allocations: 301.1 kB / 0.5641 GB, free: 9.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.5025, allocations: 1.332 MB / 0.5654 GB, free: 8.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003928/0.5064, allocations: 4.108 MB / 0.5694 GB, free: 2.738 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006979/0.5134, allocations: 5.94 MB / 0.5752 GB, free: 11.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-05/0.5135, allocations: 31.98 kB / 0.5752 GB, free: 11.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01159/0.5251, allocations: 5.488 MB / 0.5806 GB, free: 5.887 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.5253, allocations: 54.44 kB / 0.5806 GB, free: 5.836 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001509/0.5255, allocations: 96 kB / 0.5807 GB, free: 5.742 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.5266, allocations: 460.5 kB / 0.5812 GB, free: 5.289 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00307/0.5297, allocations: 0.9747 MB / 0.5821 GB, free: 4.312 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004752/0.5344, allocations: 3.661 MB / 0.5857 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/0.538, allocations: 227.5 kB / 0.5859 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006212/0.5387, allocations: 268 kB / 0.5862 GB, free: 28 kB / 462.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.00247/0.5411, allocations: 1.372 MB / 0.5875 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000451/0.5416, allocations: 225 kB / 0.5877 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.5439, allocations: 1.322 MB / 0.589 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.831e-05/0.544, allocations: 15.98 kB / 0.589 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.544, allocations: 8 kB / 0.589 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.544, allocations: 3.984 kB / 0.589 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007694/0.5517, allocations: 4.194 MB / 0.5931 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.5517, allocations: 0 / 0.5931 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006469/0.5524, allocations: 143.8 kB / 0.5933 GB, free: 8.656 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008422/0.5532, allocations: 312.6 kB / 0.5936 GB, free: 8.348 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.216e-05/0.5533, allocations: 19.98 kB / 0.5936 GB, free: 8.328 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003247/0.5566, allocations: 3.074 MB / 0.5966 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5566, allocations: 0 / 0.5966 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004517/0.5611, allocations: 3.074 MB / 0.5996 GB, free: 2.012 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/0.5623, allocations: 414.1 kB / 0.6 GB, free: 1.586 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/0.5626, allocations: 20.06 kB / 0.6 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007227/0.5633, allocations: 43.94 kB / 0.6 GB, free: 1.523 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.5634, allocations: 56.36 kB / 0.6001 GB, free: 1.469 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.062e-05/0.5635, allocations: 24 kB / 0.6001 GB, free: 1.445 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002903/0.5664, allocations: 1.633 MB / 0.6017 GB, free: 15.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.02e-07/0.5665, allocations: 4.062 kB / 0.6017 GB, free: 15.79 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003883/0.5703, allocations: 0.5977 MB / 0.6023 GB, free: 15.2 MB / 494.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.0003978/0.5708, allocations: 146.9 kB / 0.6024 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006235/0.577, allocations: 3.225 MB / 0.6056 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.577, allocations: 0 / 0.6056 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.5783, allocations: 0.8639 MB / 0.6064 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.58, allocations: 208.7 kB / 0.6066 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.5909, allocations: 5.45 MB / 0.612 GB, free: 5.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002276/0.5932, allocations: 2.175 MB / 0.6141 GB, free: 3.043 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002774/0.596, allocations: 1.375 MB / 0.6154 GB, free: 1.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003803/0.5964, allocations: 163.4 kB / 0.6156 GB, free: 1.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5964, allocations: 0 / 0.6156 GB, free: 1.5 MB / 494.1 MB Notification: Performance of Templates: time 0.3105/0.9069, allocations: 17.82 MB / 0.633 GB, free: 128.9 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1)