Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003194/0.003194, allocations: 189.5 kB / 7.459 MB, free: 2.324 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.162/1.162, allocations: 194.2 MB / 202.1 MB, free: 8.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001646/0.001646, allocations: 118 kB / 247.1 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1548/0.1548, allocations: 39.94 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.053e-06/7.194e-06, allocations: 0 / 392.8 MB, free: 75.92 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09065/0.09067, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2843/0.375, allocations: 99.03 MB / 0.5339 GB, free: 1.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.3752, allocations: 76.52 kB / 0.5339 GB, free: 1.691 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.201/0.5762, allocations: 73.74 MB / 0.6059 GB, free: 15.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000219/0.5765, allocations: 67.94 kB / 0.606 GB, free: 15.75 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1315 * Number of variables: 1315 Notification: Performance of Generate backend data structure: time 0.01093/0.5874, allocations: 3.553 MB / 0.6095 GB, free: 12.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.5875, allocations: 8.031 kB / 0.6095 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01731/0.6048, allocations: 3.926 MB / 0.6133 GB, free: 8.191 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01334/0.6182, allocations: 4.518 MB / 0.6177 GB, free: 3.609 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002419/0.6185, allocations: 116 kB / 0.6178 GB, free: 3.496 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001939/0.6204, allocations: 219.8 kB / 0.6181 GB, free: 3.281 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01092/0.6314, allocations: 5.3 MB / 0.6232 GB, free: 13.97 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01862/0.65, allocations: 8.365 MB / 0.6314 GB, free: 4.602 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002892/0.6503, allocations: 59.47 kB / 0.6315 GB, free: 4.543 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00154/0.6519, allocations: 35.94 kB / 0.6315 GB, free: 4.508 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001486/0.6534, allocations: 0.9347 MB / 0.6324 GB, free: 3.574 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2194/0.8728, allocations: 44.21 MB / 0.6756 GB, free: 144.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/0.8756, allocations: 2.595 MB / 0.6781 GB, free: 144.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.8772, allocations: 1.659 MB / 0.6797 GB, free: 144.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006979/0.8842, allocations: 5.531 MB / 0.6851 GB, free: 142.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.8843, allocations: 54.31 kB / 0.6852 GB, free: 142.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=150): time 3.526e-06/0.8843, allocations: 0 / 0.6852 GB, free: 142.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=184): time 0.03839/0.9227, allocations: 17.37 MB / 0.7021 GB, free: 139.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.9227, allocations: 198.6 kB / 0.7023 GB, free: 139.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003444/0.9262, allocations: 2.92 MB / 0.7052 GB, free: 139.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.9263, allocations: 25.7 kB / 0.7052 GB, free: 139.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.9275, allocations: 2.688 MB / 0.7078 GB, free: 137.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004702/0.928, allocations: 0.678 MB / 0.7085 GB, free: 137.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.9282, allocations: 3.969 kB / 0.7085 GB, free: 137.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002377/0.9284, allocations: 0.5611 MB / 0.709 GB, free: 137.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/0.9307, allocations: 1.965 MB / 0.711 GB, free: 137 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003419/0.9341, allocations: 5.614 MB / 0.7164 GB, free: 132.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004775/0.9389, allocations: 3.665 MB / 0.72 GB, free: 131.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-05/0.9389, allocations: 35.81 kB / 0.7201 GB, free: 131.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01774/0.9567, allocations: 8.764 MB / 0.7286 GB, free: 129 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.9567, allocations: 7.234 kB / 0.7286 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001408/0.9569, allocations: 129.8 kB / 0.7288 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005232/0.9621, allocations: 1.506 MB / 0.7302 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0042/0.9663, allocations: 1.325 MB / 0.7315 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01426/0.9806, allocations: 9.306 MB / 0.7406 GB, free: 120.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004407/0.9851, allocations: 185.3 kB / 0.7408 GB, free: 120.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/0.9861, allocations: 382.8 kB / 0.7411 GB, free: 120.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (718): * Single equations (assignments): 714 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 43} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001284/0.9874, allocations: 432.1 kB / 0.7416 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006048/0.988, allocations: 315.5 kB / 0.7419 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009837/0.9978, allocations: 4.144 MB / 0.7459 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.853e-05/0.9979, allocations: 16 kB / 0.7459 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/0.9979, allocations: 8 kB / 0.7459 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/0.998, allocations: 11.59 kB / 0.7459 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01738/1.015, allocations: 7.797 MB / 0.7536 GB, free: 110.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.015, allocations: 3.438 kB / 0.7536 GB, free: 110.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/1.017, allocations: 223.7 kB / 0.7538 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004799/1.022, allocations: 1.236 MB / 0.755 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000216/1.022, allocations: 14.94 kB / 0.755 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/1.035, allocations: 7.987 MB / 0.7628 GB, free: 102.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/1.035, allocations: 10.56 kB / 0.7628 GB, free: 102.4 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01224/1.047, allocations: 6.635 MB / 0.7693 GB, free: 96.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/1.048, allocations: 0.5864 MB / 0.7699 GB, free: 96.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007682/1.049, allocations: 0 / 0.7699 GB, free: 96.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/1.051, allocations: 50.59 kB / 0.7699 GB, free: 96.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002483/1.051, allocations: 82.73 kB / 0.77 GB, free: 96.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/1.051, allocations: 66.61 kB / 0.77 GB, free: 96.08 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004134/1.056, allocations: 1.949 MB / 0.7719 GB, free: 94.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006092/1.062, allocations: 0.823 MB / 0.7728 GB, free: 93.57 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 121 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 39} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006525/1.062, allocations: 170.1 kB / 0.7729 GB, free: 93.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007477/1.07, allocations: 4.794 MB / 0.7776 GB, free: 89.05 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/1.07, allocations: 448 / 0.7776 GB, free: 89.05 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002096/1.072, allocations: 1.575 MB / 0.7791 GB, free: 87.62 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/1.074, allocations: 284.6 kB / 0.7794 GB, free: 87.37 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/1.09, allocations: 6.936 MB / 0.7862 GB, free: 81.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003538/1.093, allocations: 3.265 MB / 0.7894 GB, free: 77.96 MB / 474.7 MB Notification: Performance of SimCode: time 1.483e-06/1.093, allocations: 0 / 0.7894 GB, free: 77.96 MB / 474.7 MB Notification: Performance of Templates: time 0.06579/1.159, allocations: 38.28 MB / 0.8268 GB, free: 40.56 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1)