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/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.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") [: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.004064/0.004064, allocations: 178.6 kB / 7.451 MB, free: 2.234 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.248/1.248, allocations: 170.6 MB / 178.4 MB, free: 15.45 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001815/0.001815, allocations: 112.9 kB / 217.7 MB, free: 8.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1998/0.1998, allocations: 37.97 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.406e-06/8.606e-06, allocations: 1.281 kB / 349.5 MB, free: 37.12 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 48.7 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4348/0.5394, allocations: 82.16 MB / 480.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.5397, allocations: 71.33 kB / 480.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1192/0.6589, allocations: 45.24 MB / 0.5133 GB, free: 15.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001298/0.6591, allocations: 46.16 kB / 0.5134 GB, free: 15.95 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.009175/0.6683, allocations: 2.302 MB / 0.5156 GB, free: 14.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.6684, allocations: 9.594 kB / 0.5157 GB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00911/0.6775, allocations: 1.417 MB / 0.517 GB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006572/0.6842, allocations: 1.357 MB / 0.5184 GB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004204/0.6846, allocations: 76.34 kB / 0.5184 GB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002395/0.6871, allocations: 135.4 kB / 0.5186 GB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01117/0.6983, allocations: 3.798 MB / 0.5223 GB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01562/0.7139, allocations: 6.129 MB / 0.5283 GB, free: 5.438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.7141, allocations: 43.53 kB / 0.5283 GB, free: 5.395 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009761/0.7151, allocations: 24 kB / 0.5283 GB, free: 5.371 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001188/0.7163, allocations: 0.7377 MB / 0.529 GB, free: 4.641 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04039/0.7567, allocations: 30.49 MB / 0.5588 GB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003146/0.7599, allocations: 2.032 MB / 0.5608 GB, free: 3.098 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.7616, allocations: 0.9905 MB / 0.5618 GB, free: 2.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.7618, allocations: 43.41 kB / 0.5618 GB, free: 2.059 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/0.7619, allocations: 46.5 kB / 0.5619 GB, free: 2.004 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 7.624e-06/0.7619, allocations: 4 kB / 0.5619 GB, free: 2 MB / 378.7 MB Notification: Performance of matching and sorting (n=117): time 0.0295/0.7914, allocations: 9.679 MB / 0.5713 GB, free: 8.207 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.7916, allocations: 141 kB / 0.5714 GB, free: 8.039 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005578/0.7972, allocations: 2.014 MB / 0.5734 GB, free: 5.992 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000291/0.7975, allocations: 25.7 kB / 0.5734 GB, free: 5.961 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002444/0.7999, allocations: 2.019 MB / 0.5754 GB, free: 3.906 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008923/0.8009, allocations: 470.1 kB / 0.5759 GB, free: 3.441 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004778/0.8014, allocations: 0 / 0.5759 GB, free: 3.441 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005789/0.8019, allocations: 0.5321 MB / 0.5764 GB, free: 2.898 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002794/0.8048, allocations: 1.383 MB / 0.5777 GB, free: 1.508 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00505/0.8098, allocations: 4.25 MB / 0.5819 GB, free: 11.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004812/0.8146, allocations: 2.643 MB / 0.5845 GB, free: 9.156 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-05/0.8148, allocations: 28 kB / 0.5845 GB, free: 9.129 MB / 410.7 MB Notification: Performance of matching and sorting (n=593) (initialization): time 0.01202/0.8268, allocations: 5.426 MB / 0.5898 GB, free: 3.699 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.8268, allocations: 7.438 kB / 0.5898 GB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002561/0.8271, allocations: 104.9 kB / 0.5899 GB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001717/0.8288, allocations: 0.532 MB / 0.5904 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003737/0.8326, allocations: 1.057 MB / 0.5914 GB, free: 2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006983/0.8396, allocations: 3.734 MB / 0.5951 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005066/0.8447, allocations: 139.6 kB / 0.5952 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/0.8463, allocations: 308 kB / 0.5955 GB, free: 13.72 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 472 * Number of states: 0 () * Number of discrete variables: 18 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 556 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001647/0.848, allocations: 344.5 kB / 0.5958 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006729/0.8486, allocations: 197.4 kB / 0.596 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004562/0.8532, allocations: 1.761 MB / 0.5978 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-05/0.8533, allocations: 12 kB / 0.5978 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/0.8533, allocations: 11.89 kB / 0.5978 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.8533, allocations: 3.984 kB / 0.5978 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.8649, allocations: 4.452 MB / 0.6021 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.8649, allocations: 0 / 0.6021 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.866, allocations: 179.7 kB / 0.6023 GB, free: 6.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/0.8672, allocations: 380.4 kB / 0.6027 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/0.8674, allocations: 11.98 kB / 0.6027 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005823/0.8732, allocations: 3.211 MB / 0.6058 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.8732, allocations: 4 kB / 0.6058 GB, free: 2.996 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00668/0.8799, allocations: 3.709 MB / 0.6094 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.8812, allocations: 418.2 kB / 0.6098 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006524/0.8819, allocations: 4 kB / 0.6098 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.883, allocations: 19.97 kB / 0.6099 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.8832, allocations: 52.42 kB / 0.6099 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/0.8833, allocations: 47.97 kB / 0.61 GB, free: 14.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.003807/0.8872, allocations: 1.321 MB / 0.6112 GB, free: 13.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005396/0.8926, allocations: 0.5352 MB / 0.6118 GB, free: 12.81 MB / 442.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00057/0.8931, allocations: 142.7 kB / 0.6119 GB, free: 12.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006957/0.9001, allocations: 3.34 MB / 0.6152 GB, free: 9.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/0.9002, allocations: 1 kB / 0.6152 GB, free: 9.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00148/0.9016, allocations: 0.9835 MB / 0.6161 GB, free: 8.348 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.903, allocations: 135.2 kB / 0.6163 GB, free: 8.211 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/0.9174, allocations: 4.646 MB / 0.6208 GB, free: 3.492 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004911/0.9224, allocations: 2.429 MB / 0.6232 GB, free: 1.031 MB / 442.7 MB Notification: Performance of SimCode: time 1.623e-06/0.9224, allocations: 0 / 0.6232 GB, free: 1.031 MB / 442.7 MB Notification: Performance of Templates: time 0.2467/1.169, allocations: 22.23 MB / 0.6449 GB, free: 172.8 MB / 442.7 MB 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)