Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.005841/0.005841, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001141/0.001141, allocations: 189.1 kB / 16.67 MB, free: 5.969 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.531/1.531, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3232/0.3232, allocations: 37.99 MB / 307.9 MB, free: 10.09 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.1. 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.001522/0.001522, allocations: 67.89 kB / 433 MB, free: 5.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3383, allocations: 56.47 MB / 489.4 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.006914/0.3452, allocations: 6.8 MB / 496.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004054/0.3493, allocations: 2.393 MB / 498.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005068/0.3499, allocations: 30.69 kB / 498.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.3517, allocations: 1.036 MB / 499.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.3533, allocations: 0.8427 MB / 0.4888 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006822/0.354, allocations: 297.1 kB / 0.4891 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001913/0.3559, allocations: 1.899 MB / 0.4909 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.3572, allocations: 1.266 MB / 0.4922 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008187/0.358, allocations: 0.7144 MB / 0.4929 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009973/0.359, allocations: 0.9694 MB / 0.4938 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.3593, allocations: 132.6 kB / 0.494 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.3605, allocations: 0.7043 MB / 0.4946 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008299/0.3614, allocations: 0.9415 MB / 0.4956 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007973/0.3622, allocations: 1.143 MB / 0.4967 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003285/0.3655, allocations: 3.734 MB / 0.5003 GB, free: 6.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3655, allocations: 0 / 0.5003 GB, free: 6.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3655, allocations: 5.156 kB / 0.5003 GB, free: 6.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.702e-05/0.3656, allocations: 0 / 0.5003 GB, free: 6.836 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.003781/0.3693, allocations: 2.665 MB / 0.5029 GB, free: 4.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.3694, allocations: 13.8 kB / 0.5029 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004883/0.3743, allocations: 1.57 MB / 0.5045 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/0.3765, allocations: 1.084 MB / 0.5055 GB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.779e-05/0.3766, allocations: 115.6 kB / 0.5056 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/0.3769, allocations: 161.7 kB / 0.5058 GB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008235/0.3851, allocations: 6.186 MB / 0.5118 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.421e-05/0.3852, allocations: 27.75 kB / 0.5119 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/0.3855, allocations: 77.86 kB / 0.5119 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00245/0.3879, allocations: 1.442 MB / 0.5134 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009292/0.3972, allocations: 5.391 MB / 0.5186 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02979/0.427, allocations: 24.78 MB / 0.5428 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004205/0.4313, allocations: 2.34 MB / 0.5451 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.4324, allocations: 0.9911 MB / 0.5461 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003458/0.4328, allocations: 323.7 kB / 0.5464 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.4328, allocations: 42.56 kB / 0.5464 GB, free: 11.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.216e-06/0.4328, allocations: 0 / 0.5464 GB, free: 11.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=106): time 0.02211/0.4549, allocations: 8.45 MB / 0.5547 GB, free: 3.199 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.4551, allocations: 144.5 kB / 0.5548 GB, free: 3.027 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00355/0.4587, allocations: 2.64 MB / 0.5574 GB, free: 372 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.4588, allocations: 45.7 kB / 0.5574 GB, free: 320 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001222/0.46, allocations: 2.024 MB / 0.5594 GB, free: 14.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/0.4604, allocations: 442.6 kB / 0.5598 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009929/0.4614, allocations: 0.861 MB / 0.5607 GB, free: 12.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4616, allocations: 301.1 kB / 0.561 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/0.4633, allocations: 1.336 MB / 0.5623 GB, free: 11.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003469/0.4668, allocations: 4.104 MB / 0.5663 GB, free: 5.797 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005933/0.4727, allocations: 5.935 MB / 0.5721 GB, free: 14.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.478e-05/0.4728, allocations: 28 kB / 0.5721 GB, free: 14.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008525/0.4813, allocations: 5.488 MB / 0.5774 GB, free: 8.941 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.932e-05/0.4814, allocations: 48.06 kB / 0.5775 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.461e-05/0.4815, allocations: 100 kB / 0.5776 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.4826, allocations: 460.5 kB / 0.578 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002612/0.4852, allocations: 0.9786 MB / 0.579 GB, free: 7.363 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004054/0.4893, allocations: 3.676 MB / 0.5826 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/0.4922, allocations: 227.5 kB / 0.5828 GB, free: 3.324 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003536/0.4926, allocations: 272 kB / 0.5831 GB, free: 3.059 MB / 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.002247/0.4948, allocations: 1.364 MB / 0.5844 GB, free: 1.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004025/0.4952, allocations: 225.1 kB / 0.5846 GB, free: 1.457 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.4974, allocations: 1.322 MB / 0.5859 GB, free: 128 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/0.4974, allocations: 16 kB / 0.5859 GB, free: 112 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.4975, allocations: 4 kB / 0.5859 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.4975, allocations: 3.984 kB / 0.5859 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007314/0.5048, allocations: 4.186 MB / 0.59 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.5049, allocations: 4 kB / 0.59 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006444/0.5055, allocations: 135.8 kB / 0.5901 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008456/0.5064, allocations: 316.5 kB / 0.5904 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-05/0.5064, allocations: 20 kB / 0.5905 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003453/0.5099, allocations: 3.066 MB / 0.5934 GB, free: 8.176 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.5099, allocations: 0 / 0.5934 GB, free: 8.176 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004138/0.5141, allocations: 3.086 MB / 0.5965 GB, free: 5.059 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.5152, allocations: 410.1 kB / 0.5969 GB, free: 4.637 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.5154, allocations: 16 kB / 0.5969 GB, free: 4.621 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007192/0.5162, allocations: 52 kB / 0.5969 GB, free: 4.57 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.5163, allocations: 56.3 kB / 0.597 GB, free: 4.516 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.938e-05/0.5164, allocations: 28 kB / 0.597 GB, free: 4.488 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002394/0.5188, allocations: 1.637 MB / 0.5986 GB, free: 2.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5188, allocations: 0 / 0.5986 GB, free: 2.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003339/0.5222, allocations: 0.5977 MB / 0.5992 GB, free: 2.242 MB / 478.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.0003659/0.5226, allocations: 150.9 kB / 0.5993 GB, free: 2.082 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004778/0.5273, allocations: 3.227 MB / 0.6025 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5274, allocations: 0 / 0.6025 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.5284, allocations: 0.864 MB / 0.6033 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.5298, allocations: 205.1 kB / 0.6035 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.5402, allocations: 5.438 MB / 0.6088 GB, free: 8.309 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002355/0.5426, allocations: 2.171 MB / 0.6109 GB, free: 6.105 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003238/0.5459, allocations: 1.391 MB / 0.6123 GB, free: 4.707 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004604/0.5464, allocations: 159.4 kB / 0.6125 GB, free: 4.551 MB / 494.1 MB Notification: Performance of SimCode: time 3.236e-06/0.5464, allocations: 0 / 0.6125 GB, free: 4.551 MB / 494.1 MB Notification: Performance of Templates: time 0.03876/0.5852, allocations: 17.82 MB / 0.6299 GB, free: 2.734 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1)