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/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.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") [: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.003292/0.003292, allocations: 184.7 kB / 7.457 MB, free: 2.172 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.174/1.174, allocations: 194.2 MB / 202.1 MB, free: 8.73 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.001827/0.001827, allocations: 118.9 kB / 247.1 MB, free: 6.375 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.153/0.153, allocations: 39.95 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.253e-06/7.514e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1029, allocations: 54.87 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2939/0.3969, allocations: 88.76 MB / 0.5238 GB, free: 8.738 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.3971, allocations: 75.14 kB / 0.5239 GB, free: 8.727 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1194/0.5166, allocations: 45.29 MB / 0.5681 GB, free: 4.914 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.98e-05/0.5167, allocations: 40 kB / 0.5682 GB, free: 4.875 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.006814/0.5235, allocations: 2.312 MB / 0.5704 GB, free: 2.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.5236, allocations: 8.031 kB / 0.5704 GB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007741/0.5313, allocations: 1.423 MB / 0.5718 GB, free: 1.266 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004188/0.5356, allocations: 1.354 MB / 0.5731 GB, free: 140 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.5357, allocations: 76 kB / 0.5732 GB, free: 64 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001208/0.5369, allocations: 142.5 kB / 0.5733 GB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007475/0.5444, allocations: 3.797 MB / 0.5771 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01042/0.5549, allocations: 6.13 MB / 0.583 GB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001081/0.555, allocations: 43.62 kB / 0.5831 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005802/0.5556, allocations: 27.91 kB / 0.5831 GB, free: 6.379 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009272/0.5565, allocations: 0.7342 MB / 0.5838 GB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03433/0.5909, allocations: 30.66 MB / 0.6138 GB, free: 5.953 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.5938, allocations: 2.024 MB / 0.6157 GB, free: 3.785 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.595, allocations: 0.9877 MB / 0.6167 GB, free: 2.785 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.5952, allocations: 43.97 kB / 0.6168 GB, free: 2.742 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.5952, allocations: 46.41 kB / 0.6168 GB, free: 2.688 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 4.94e-06/0.5952, allocations: 0 / 0.6168 GB, free: 2.688 MB / 426.7 MB Notification: Performance of matching and sorting (n=117): time 0.03796/0.6332, allocations: 9.67 MB / 0.6262 GB, free: 8.898 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.227e-05/0.6333, allocations: 141 kB / 0.6264 GB, free: 8.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005009/0.6384, allocations: 2.022 MB / 0.6284 GB, free: 6.676 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001632/0.6385, allocations: 33.64 kB / 0.6284 GB, free: 6.637 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002077/0.6406, allocations: 2.015 MB / 0.6304 GB, free: 4.586 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006817/0.6413, allocations: 458.2 kB / 0.6308 GB, free: 4.133 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/0.6417, allocations: 4 kB / 0.6308 GB, free: 4.129 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005195/0.6422, allocations: 0.5281 MB / 0.6313 GB, free: 3.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003518/0.6457, allocations: 1.391 MB / 0.6327 GB, free: 2.191 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006425/0.6522, allocations: 4.258 MB / 0.6368 GB, free: 12.47 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007005/0.6592, allocations: 2.632 MB / 0.6394 GB, free: 9.836 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.265e-05/0.6593, allocations: 32 kB / 0.6394 GB, free: 9.805 MB / 458.7 MB Notification: Performance of matching and sorting (n=593) (initialization): time 0.0172/0.6765, allocations: 5.421 MB / 0.6447 GB, free: 4.371 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.6766, allocations: 4 kB / 0.6447 GB, free: 4.367 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002475/0.6769, allocations: 104 kB / 0.6448 GB, free: 4.266 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/0.6787, allocations: 0.5364 MB / 0.6453 GB, free: 3.727 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005085/0.6838, allocations: 1.06 MB / 0.6464 GB, free: 2.664 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007066/0.6909, allocations: 3.734 MB / 0.65 GB, free: 14.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/0.6941, allocations: 147.6 kB / 0.6502 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003995/0.6945, allocations: 299.9 kB / 0.6505 GB, free: 14.38 MB / 474.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.0004999/0.695, allocations: 348.6 kB / 0.6508 GB, free: 14.03 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/0.6953, allocations: 201.5 kB / 0.651 GB, free: 13.83 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003557/0.6989, allocations: 1.753 MB / 0.6527 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.931e-05/0.6989, allocations: 8 kB / 0.6527 GB, free: 12.06 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.6989, allocations: 8 kB / 0.6527 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.699, allocations: 3.984 kB / 0.6527 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00837/0.7073, allocations: 4.47 MB / 0.6571 GB, free: 7.508 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.7074, allocations: 0 / 0.6571 GB, free: 7.508 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000961/0.7083, allocations: 179.7 kB / 0.6572 GB, free: 7.332 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.7095, allocations: 380.6 kB / 0.6576 GB, free: 6.957 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-05/0.7096, allocations: 11.98 kB / 0.6576 GB, free: 6.945 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005191/0.7148, allocations: 3.215 MB / 0.6608 GB, free: 3.609 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.7148, allocations: 4 kB / 0.6608 GB, free: 3.605 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1985/0.9134, allocations: 3.696 MB / 0.6644 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.9145, allocations: 420.9 kB / 0.6648 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/0.9148, allocations: 3.562 kB / 0.6648 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008724/0.9156, allocations: 21.36 kB / 0.6648 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.9158, allocations: 52.55 kB / 0.6649 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.9159, allocations: 47.27 kB / 0.6649 GB, free: 103.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001708/0.9176, allocations: 1.322 MB / 0.6662 GB, free: 103.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002929/0.9205, allocations: 0.5282 MB / 0.6667 GB, free: 103.6 MB / 474.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.0003442/0.9209, allocations: 145 kB / 0.6668 GB, free: 103.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00382/0.9247, allocations: 3.338 MB / 0.6701 GB, free: 103.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.9247, allocations: 0 / 0.6701 GB, free: 103.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.9258, allocations: 0.9749 MB / 0.6711 GB, free: 103.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008634/0.9267, allocations: 147 kB / 0.6712 GB, free: 103.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008236/0.9349, allocations: 4.643 MB / 0.6757 GB, free: 102.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002438/0.9374, allocations: 2.427 MB / 0.6781 GB, free: 101.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.112e-06/0.9374, allocations: 3.312 kB / 0.6781 GB, free: 101.7 MB / 474.7 MB Notification: Performance of Templates: time 0.03812/0.9756, allocations: 22.27 MB / 0.6999 GB, free: 100.6 MB / 474.7 MB 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)