Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.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.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes") [: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.004506/0.004506, allocations: 171.8 kB / 7.446 MB, free: 2.512 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.388/1.388, allocations: 170.6 MB / 178.4 MB, free: 15.43 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.001779/0.001779, allocations: 115.8 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.1749/0.1749, allocations: 37.97 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.164e-06/7.624e-06, allocations: 1.469 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 48.71 MB / 398.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.326/0.4279, allocations: 78.22 MB / 476.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.4281, allocations: 72.06 kB / 476.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.06199/0.4901, allocations: 25.52 MB / 0.4902 GB, free: 9.105 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.815e-05/0.4902, allocations: 34.88 kB / 0.4903 GB, free: 9.105 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.003514/0.4938, allocations: 1.6 MB / 0.4918 GB, free: 8.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.4938, allocations: 7.719 kB / 0.4918 GB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.4951, allocations: 249.1 kB / 0.4921 GB, free: 7.891 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.4967, allocations: 0.8313 MB / 0.4929 GB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.392e-05/0.4967, allocations: 65.56 kB / 0.493 GB, free: 7.449 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.4969, allocations: 109 kB / 0.4931 GB, free: 7.445 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002406/0.4993, allocations: 1.737 MB / 0.4948 GB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003345/0.5027, allocations: 3.084 MB / 0.4978 GB, free: 5.785 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.578e-05/0.5028, allocations: 19.56 kB / 0.4978 GB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/0.5029, allocations: 11.66 kB / 0.4978 GB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002929/0.5032, allocations: 346.5 kB / 0.4981 GB, free: 5.703 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0113/0.5145, allocations: 14.46 MB / 0.5123 GB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.411e-05/0.5147, allocations: 173 kB / 0.5124 GB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.5147, allocations: 85.39 kB / 0.5125 GB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.5147, allocations: 78.97 kB / 0.5126 GB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.5148, allocations: 105.8 kB / 0.5127 GB, free: 9.422 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 2.014e-06/0.5148, allocations: 0 / 0.5127 GB, free: 9.422 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002518/0.5151, allocations: 130.6 kB / 0.5128 GB, free: 9.332 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.5151, allocations: 55.41 kB / 0.5129 GB, free: 9.266 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.5166, allocations: 1.116 MB / 0.5139 GB, free: 8.918 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.5166, allocations: 25.7 kB / 0.514 GB, free: 8.887 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.5178, allocations: 1.327 MB / 0.5153 GB, free: 7.848 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.5178, allocations: 42.14 kB / 0.5153 GB, free: 7.836 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.5179, allocations: 0 / 0.5153 GB, free: 7.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003275/0.5182, allocations: 420.6 kB / 0.5157 GB, free: 7.492 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006792/0.5189, allocations: 319.1 kB / 0.516 GB, free: 7.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/0.5215, allocations: 1.845 MB / 0.5178 GB, free: 5.262 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.5228, allocations: 0.7366 MB / 0.5185 GB, free: 5.031 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.73e-05/0.5229, allocations: 21.19 kB / 0.5186 GB, free: 5.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003365/0.5263, allocations: 1.7 MB / 0.5202 GB, free: 4.449 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.5263, allocations: 5.406 kB / 0.5202 GB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-05/0.5264, allocations: 56.06 kB / 0.5203 GB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000115/0.5265, allocations: 80.69 kB / 0.5203 GB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.5279, allocations: 482.7 kB / 0.5208 GB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001775/0.5281, allocations: 108.8 kB / 0.5209 GB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.5298, allocations: 254.6 kB / 0.5212 GB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002737/0.5301, allocations: 134.6 kB / 0.5213 GB, free: 4.16 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 36 (world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004715/0.5306, allocations: 323 kB / 0.5216 GB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003827/0.531, allocations: 212.1 kB / 0.5218 GB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.5314, allocations: 209.9 kB / 0.522 GB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001272/0.5315, allocations: 185.9 kB / 0.5222 GB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.782e-05/0.5316, allocations: 176.3 kB / 0.5223 GB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001242/0.5318, allocations: 177.8 kB / 0.5225 GB, free: 3.031 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/0.5343, allocations: 1.011 MB / 0.5235 GB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.088e-05/0.5343, allocations: 110.4 kB / 0.5236 GB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.433e-05/0.5344, allocations: 110.4 kB / 0.5237 GB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.528e-05/0.5345, allocations: 180.2 kB / 0.5239 GB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.542e-05/0.5346, allocations: 177.6 kB / 0.524 GB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.666e-05/0.5347, allocations: 180.3 kB / 0.5242 GB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.583e-05/0.5348, allocations: 180.2 kB / 0.5244 GB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002864/0.5351, allocations: 414.4 kB / 0.5248 GB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.5354, allocations: 268.5 kB / 0.525 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.5356, allocations: 177.7 kB / 0.5252 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.536, allocations: 102.3 kB / 0.5253 GB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/0.5361, allocations: 184.2 kB / 0.5255 GB, free: 404 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/0.5361, allocations: 102.4 kB / 0.5256 GB, free: 296 kB / 346.7 MB Notification: Performance of sort global known variables: time 0.001293/0.5374, allocations: 0.7234 MB / 0.5263 GB, free: 96 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.002527/0.5399, allocations: 416.3 kB / 0.5267 GB, free: 15.97 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002215/0.5402, allocations: 170.5 kB / 0.5269 GB, free: 15.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.5416, allocations: 0.7938 MB / 0.5276 GB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5417, allocations: 4.062 kB / 0.5276 GB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.176e-06/0.5417, allocations: 1.281 kB / 0.5276 GB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006691/0.5423, allocations: 0.5967 MB / 0.5282 GB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004919/0.5473, allocations: 2.053 MB / 0.5302 GB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/0.5491, allocations: 1.686 MB / 0.5319 GB, free: 13.18 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5491, allocations: 0 / 0.5319 GB, free: 13.18 MB / 362.7 MB Notification: Performance of Templates: time 0.01911/0.5682, allocations: 6.23 MB / 0.5379 GB, free: 8.875 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)