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.007188/0.007187, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001876/0.001876, allocations: 189.5 kB / 16.67 MB, free: 5.938 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.599/1.599, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.3781/0.3781, allocations: 39.95 MB / 309.8 MB, free: 9.449 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.001522/0.001522, allocations: 67.91 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3739, allocations: 56.88 MB / 492.6 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007104/0.381, allocations: 6.812 MB / 499.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004727/0.3858, allocations: 2.38 MB / 0.4901 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008417/0.3867, allocations: 31.28 kB / 0.4901 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.3887, allocations: 1.039 MB / 0.4911 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001974/0.3907, allocations: 0.8422 MB / 0.4919 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007912/0.3915, allocations: 302 kB / 0.4922 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002283/0.3938, allocations: 1.903 MB / 0.4941 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.3951, allocations: 1.26 MB / 0.4953 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008188/0.396, allocations: 0.7182 MB / 0.496 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.3971, allocations: 0.9705 MB / 0.497 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002745/0.3974, allocations: 129 kB / 0.4971 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.3986, allocations: 0.7011 MB / 0.4978 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007097/0.3994, allocations: 0.9396 MB / 0.4987 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008897/0.4003, allocations: 1.14 MB / 0.4998 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004428/0.4047, allocations: 3.751 MB / 0.5035 GB, free: 5.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.4047, allocations: 1.344 kB / 0.5035 GB, free: 5.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4047, allocations: 0 / 0.5035 GB, free: 5.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001258/0.4049, allocations: 0 / 0.5035 GB, free: 5.414 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.005932/0.4108, allocations: 2.727 MB / 0.5061 GB, free: 3.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.4109, allocations: 13.61 kB / 0.5061 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005005/0.4159, allocations: 1.58 MB / 0.5077 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.4178, allocations: 1.089 MB / 0.5087 GB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.933e-05/0.4179, allocations: 128.5 kB / 0.5089 GB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/0.4182, allocations: 157 kB / 0.509 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009132/0.4273, allocations: 6.189 MB / 0.5151 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.947e-05/0.4274, allocations: 23.81 kB / 0.5151 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002288/0.4276, allocations: 83.89 kB / 0.5152 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002411/0.43, allocations: 1.445 MB / 0.5166 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009318/0.4394, allocations: 5.397 MB / 0.5218 GB, free: 5.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03013/0.4695, allocations: 24.81 MB / 0.5461 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004667/0.4742, allocations: 2.336 MB / 0.5484 GB, free: 9.879 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.4755, allocations: 0.9836 MB / 0.5493 GB, free: 8.883 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003586/0.4759, allocations: 323.8 kB / 0.5496 GB, free: 8.512 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.476, allocations: 50.55 kB / 0.5497 GB, free: 8.453 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.476e-06/0.476, allocations: 3.938 kB / 0.5497 GB, free: 8.449 MB / 430.1 MB Notification: Performance of matching and sorting (n=106): time 0.0242/0.5002, allocations: 8.578 MB / 0.5581 GB, free: 15.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.5004, allocations: 136.5 kB / 0.5582 GB, free: 15.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003921/0.5043, allocations: 2.652 MB / 0.5608 GB, free: 12.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.5044, allocations: 37.7 kB / 0.5608 GB, free: 12.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001522/0.506, allocations: 2.116 MB / 0.5629 GB, free: 10.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005125/0.5065, allocations: 448.7 kB / 0.5633 GB, free: 10.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/0.5077, allocations: 0.8656 MB / 0.5642 GB, free: 9.402 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5078, allocations: 305.1 kB / 0.5644 GB, free: 9.102 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/0.5097, allocations: 1.336 MB / 0.5658 GB, free: 7.758 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003778/0.5135, allocations: 4.108 MB / 0.5698 GB, free: 2.246 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006874/0.5203, allocations: 5.94 MB / 0.5756 GB, free: 10.92 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.829e-05/0.5205, allocations: 32 kB / 0.5756 GB, free: 10.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009792/0.5303, allocations: 5.508 MB / 0.581 GB, free: 5.379 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.566e-05/0.5304, allocations: 51.88 kB / 0.581 GB, free: 5.332 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/0.5305, allocations: 100 kB / 0.5811 GB, free: 5.234 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.5315, allocations: 465 kB / 0.5816 GB, free: 4.777 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/0.5343, allocations: 0.9708 MB / 0.5825 GB, free: 3.805 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004111/0.5384, allocations: 3.669 MB / 0.5861 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/0.5416, allocations: 235.7 kB / 0.5863 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005084/0.5421, allocations: 268 kB / 0.5866 GB, free: 15.5 MB / 478.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.002345/0.5445, allocations: 1.368 MB / 0.5879 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004542/0.545, allocations: 230.4 kB / 0.5881 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.5473, allocations: 1.33 MB / 0.5894 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.5474, allocations: 12 kB / 0.5894 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.5474, allocations: 4 kB / 0.5894 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.5474, allocations: 3.984 kB / 0.5894 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007076/0.5545, allocations: 4.195 MB / 0.5935 GB, free: 8.273 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.5545, allocations: 0 / 0.5935 GB, free: 8.273 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/0.5551, allocations: 139.8 kB / 0.5937 GB, free: 8.137 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008324/0.556, allocations: 316.5 kB / 0.594 GB, free: 7.824 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.107e-05/0.5561, allocations: 20 kB / 0.594 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003277/0.5593, allocations: 3.074 MB / 0.597 GB, free: 4.59 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5594, allocations: 4.219 kB / 0.597 GB, free: 4.586 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004163/0.5635, allocations: 3.087 MB / 0.6 GB, free: 1.473 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009809/0.5645, allocations: 427.2 kB / 0.6004 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002319/0.5648, allocations: 15.98 kB / 0.6004 GB, free: 1.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007338/0.5655, allocations: 56 kB / 0.6005 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.5657, allocations: 48.38 kB / 0.6005 GB, free: 0.918 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/0.5657, allocations: 31.98 kB / 0.6006 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002544/0.5683, allocations: 1.629 MB / 0.6022 GB, free: 15.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5683, allocations: 0 / 0.6022 GB, free: 15.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003631/0.5719, allocations: 0.5976 MB / 0.6027 GB, free: 14.65 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.0003657/0.5723, allocations: 143 kB / 0.6029 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0049/0.5772, allocations: 3.235 MB / 0.606 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.5772, allocations: 1.438 kB / 0.606 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.5785, allocations: 0.86 MB / 0.6069 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.5799, allocations: 212.7 kB / 0.6071 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009416/0.5894, allocations: 5.515 MB / 0.6125 GB, free: 4.621 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002029/0.5914, allocations: 2.175 MB / 0.6146 GB, free: 2.414 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002897/0.5944, allocations: 1.383 MB / 0.6159 GB, free: 1.023 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004038/0.5948, allocations: 159.4 kB / 0.6161 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5948, allocations: 0 / 0.6161 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of Templates: time 0.3071/0.9019, allocations: 18.18 MB / 0.6339 GB, free: 128.4 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)