Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.001143/0.001143, allocations: 174.2 kB / 7.454 MB, free: 484 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 0.9998/0.9998, allocations: 170.6 MB / 178.4 MB, free: 4.133 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00172/0.00172, allocations: 119.8 kB / 217.7 MB, free: 13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1492/0.1492, allocations: 37.97 MB / 294.8 MB, free: 13.55 MB / 222.1 MB Notification: Performance of FrontEnd - loaded program: time 1.082e-05/1.088e-05, allocations: 4 kB / 349.5 MB, free: 6.746 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2295, allocations: 48.7 MB / 398.2 MB, free: 16.88 MB / 270.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.3465, allocations: 92.21 MB / 490.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.3468, allocations: 75.95 kB / 490.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.4143/0.7611, allocations: 73.69 MB / 0.551 GB, free: 30.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003584/0.7616, allocations: 68 kB / 0.551 GB, free: 30.07 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1314 * Number of variables: 1314 Notification: Performance of Generate backend data structure: time 0.0186/0.7802, allocations: 3.55 MB / 0.5545 GB, free: 26.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.301e-05/0.7803, allocations: 11.97 kB / 0.5545 GB, free: 26.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02822/0.8085, allocations: 3.926 MB / 0.5583 GB, free: 22.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01857/0.8272, allocations: 4.518 MB / 0.5628 GB, free: 17.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003483/0.8276, allocations: 116 kB / 0.5629 GB, free: 17.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002468/0.8301, allocations: 219.9 kB / 0.5631 GB, free: 17.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01555/0.8456, allocations: 5.293 MB / 0.5682 GB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02031/0.866, allocations: 8.36 MB / 0.5764 GB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000224/0.8663, allocations: 59.47 kB / 0.5765 GB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007387/0.8671, allocations: 28 kB / 0.5765 GB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00162/0.8687, allocations: 0.9386 MB / 0.5774 GB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06746/0.9362, allocations: 44.21 MB / 0.6206 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003649/0.9399, allocations: 2.597 MB / 0.6231 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002183/0.9421, allocations: 1.65 MB / 0.6247 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01001/0.9522, allocations: 5.526 MB / 0.6301 GB, free: 9.906 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.9523, allocations: 55.28 kB / 0.6302 GB, free: 9.844 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 5.059e-06/0.9523, allocations: 0 / 0.6302 GB, free: 9.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=184): time 0.2232/1.175, allocations: 17.35 MB / 0.6471 GB, free: 132.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/1.176, allocations: 199.9 kB / 0.6473 GB, free: 132.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004469/1.18, allocations: 2.93 MB / 0.6502 GB, free: 132.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002663/1.18, allocations: 25.7 kB / 0.6502 GB, free: 132 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001419/1.182, allocations: 2.676 MB / 0.6528 GB, free: 130.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006731/1.182, allocations: 0.6857 MB / 0.6535 GB, free: 130.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/1.183, allocations: 0 / 0.6535 GB, free: 130.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003231/1.183, allocations: 0.5636 MB / 0.654 GB, free: 129.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00246/1.185, allocations: 1.968 MB / 0.656 GB, free: 129.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00409/1.19, allocations: 5.615 MB / 0.6614 GB, free: 125.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005593/1.195, allocations: 3.67 MB / 0.665 GB, free: 125.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.875e-05/1.195, allocations: 35.62 kB / 0.6651 GB, free: 125.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01767/1.213, allocations: 8.755 MB / 0.6736 GB, free: 124.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.213, allocations: 3.969 kB / 0.6736 GB, free: 124.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/1.213, allocations: 130.4 kB / 0.6737 GB, free: 124.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005291/1.218, allocations: 1.51 MB / 0.6752 GB, free: 124.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004213/1.223, allocations: 1.324 MB / 0.6765 GB, free: 124.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0169/1.24, allocations: 9.31 MB / 0.6856 GB, free: 122.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006752/1.246, allocations: 181.4 kB / 0.6858 GB, free: 122.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/1.248, allocations: 385.1 kB / 0.6861 GB, free: 122.3 MB / 414.1 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.0009943/1.249, allocations: 423.8 kB / 0.6865 GB, free: 122 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008854/1.25, allocations: 308.9 kB / 0.6868 GB, free: 121.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/1.261, allocations: 4.154 MB / 0.6909 GB, free: 120.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.203e-05/1.261, allocations: 16.5 kB / 0.6909 GB, free: 120.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/1.261, allocations: 8.25 kB / 0.6909 GB, free: 120.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/1.261, allocations: 8.969 kB / 0.6909 GB, free: 120.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/1.279, allocations: 7.787 MB / 0.6985 GB, free: 118.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/1.279, allocations: 0 / 0.6985 GB, free: 118.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/1.28, allocations: 222.8 kB / 0.6987 GB, free: 118.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005718/1.286, allocations: 1.254 MB / 0.7 GB, free: 117.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000271/1.286, allocations: 13.25 kB / 0.7 GB, free: 117.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02353/1.31, allocations: 7.984 MB / 0.7078 GB, free: 114.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/1.31, allocations: 0 / 0.7078 GB, free: 114.3 MB / 414.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02368/1.334, allocations: 6.652 MB / 0.7143 GB, free: 109.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002918/1.337, allocations: 0.5778 MB / 0.7148 GB, free: 108.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/1.338, allocations: 7.891 kB / 0.7148 GB, free: 108.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003008/1.341, allocations: 50.17 kB / 0.7149 GB, free: 108.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003532/1.341, allocations: 83.95 kB / 0.715 GB, free: 108.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002298/1.341, allocations: 51.61 kB / 0.715 GB, free: 108.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 0.005306/1.347, allocations: 1.951 MB / 0.7169 GB, free: 106.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.01084/1.358, allocations: 0.8367 MB / 0.7177 GB, free: 106.1 MB / 414.1 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.000991/1.359, allocations: 154.1 kB / 0.7179 GB, free: 105.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01304/1.372, allocations: 4.793 MB / 0.7226 GB, free: 101.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.372, allocations: 4.938 kB / 0.7226 GB, free: 101.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003725/1.375, allocations: 1.57 MB / 0.7241 GB, free: 100.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003643/1.379, allocations: 293.9 kB / 0.7244 GB, free: 99.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02658/1.406, allocations: 6.932 MB / 0.7312 GB, free: 93.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004135/1.41, allocations: 3.263 MB / 0.7343 GB, free: 91.12 MB / 414.1 MB Notification: Performance of SimCode: time 8.71e-07/1.41, allocations: 0 / 0.7343 GB, free: 91.12 MB / 414.1 MB Notification: Performance of Templates: time 0.07041/1.48, allocations: 38.29 MB / 0.7717 GB, free: 56.73 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1)