Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009431/0.0009431, allocations: 96.05 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009778/0.0009778, allocations: 176.2 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.4 MB / 222.7 MB, free: 5.902 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3703/0.3703, allocations: 43.55 MB / 314.5 MB, free: 8.871 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005111/0.0005111, allocations: 12 kB / 383.9 MB, free: 8.324 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1267, allocations: 58.86 MB / 442.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.2131/0.3399, allocations: 34.45 MB / 477.2 MB, free: 30.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01342/0.3533, allocations: 7.331 MB / 484.5 MB, free: 25.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006123/0.3595, allocations: 162.8 kB / 484.7 MB, free: 25.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004744/0.3643, allocations: 1.699 MB / 486.4 MB, free: 25.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01276/0.377, allocations: 4.826 MB / 491.2 MB, free: 22.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.3785, allocations: 106.6 kB / 491.3 MB, free: 22.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.3799, allocations: 0.6011 MB / 491.9 MB, free: 22.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002139/0.3821, allocations: 1.724 MB / 493.6 MB, free: 21.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004268/0.3825, allocations: 304.9 kB / 493.9 MB, free: 21.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000513/0.383, allocations: 344 kB / 494.3 MB, free: 21.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.3832, allocations: 45.06 kB / 494.3 MB, free: 21.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.3834, allocations: 43.62 kB / 494.4 MB, free: 21.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004705/0.3839, allocations: 0.5851 MB / 494.9 MB, free: 21.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.3842, allocations: 337.8 kB / 495.3 MB, free: 21.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.3859, allocations: 1.766 MB / 497 MB, free: 20.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.3859, allocations: 1.25 kB / 497 MB, free: 20.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3859, allocations: 0 / 497 MB, free: 20.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001043/0.386, allocations: 4 kB / 497 MB, free: 20.78 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.002922/0.3889, allocations: 1.635 MB / 498.7 MB, free: 19.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.389, allocations: 12.86 kB / 498.7 MB, free: 19.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007672/0.3898, allocations: 220 kB / 498.9 MB, free: 19.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.391, allocations: 0.7074 MB / 499.6 MB, free: 19.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.3911, allocations: 120 kB / 499.7 MB, free: 19.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.3913, allocations: 148.8 kB / 499.9 MB, free: 18.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004983/0.3963, allocations: 3.354 MB / 0.4914 GB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.443e-05/0.3963, allocations: 14.88 kB / 0.4914 GB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.3965, allocations: 69.53 kB / 0.4915 GB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009625/0.3974, allocations: 0.6182 MB / 0.4921 GB, free: 17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003773/0.4012, allocations: 1.839 MB / 0.4939 GB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01146/0.4127, allocations: 13.52 MB / 0.5071 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.885e-05/0.4128, allocations: 166.3 kB / 0.5073 GB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.4128, allocations: 79.92 kB / 0.5074 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.4129, allocations: 111 kB / 0.5075 GB, free: 5.195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.746e-06/0.4129, allocations: 0 / 0.5075 GB, free: 5.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002377/0.4131, allocations: 162.6 kB / 0.5076 GB, free: 5.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.4131, allocations: 127.4 kB / 0.5077 GB, free: 4.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/0.4153, allocations: 1.64 MB / 0.5093 GB, free: 4.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.4153, allocations: 26.92 kB / 0.5094 GB, free: 4.281 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007014/0.416, allocations: 1.363 MB / 0.5107 GB, free: 3.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.416, allocations: 48.42 kB / 0.5107 GB, free: 3.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.4161, allocations: 40.38 kB / 0.5108 GB, free: 3.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.4163, allocations: 440.5 kB / 0.5112 GB, free: 2.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005256/0.4168, allocations: 365.2 kB / 0.5115 GB, free: 2.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.4179, allocations: 1.913 MB / 0.5134 GB, free: 368 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000933/0.4189, allocations: 0.78 MB / 0.5142 GB, free: 32 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.944e-05/0.4189, allocations: 16.38 kB / 0.5142 GB, free: 32 kB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00343/0.4223, allocations: 2.095 MB / 0.5162 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.124e-05/0.4224, allocations: 29.09 kB / 0.5163 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.957e-05/0.4225, allocations: 57.38 kB / 0.5163 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.042e-05/0.4226, allocations: 85.23 kB / 0.5164 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.4237, allocations: 496.6 kB / 0.5169 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.531e-05/0.4238, allocations: 109.7 kB / 0.517 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.4253, allocations: 321.3 kB / 0.5173 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.4255, allocations: 138.4 kB / 0.5174 GB, free: 14.74 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (world.groundColor[3],world.groundColor[2],world.groundColor[1],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * 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.001189/0.4267, allocations: 0.8601 MB / 0.5183 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.4268, allocations: 230.6 kB / 0.5185 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.427, allocations: 233.3 kB / 0.5187 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.127e-05/0.4271, allocations: 185.6 kB / 0.5189 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.29e-05/0.4272, allocations: 180.3 kB / 0.5191 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.138e-05/0.4272, allocations: 182 kB / 0.5192 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.429, allocations: 1.481 MB / 0.5207 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.926e-05/0.429, allocations: 105 kB / 0.5208 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.4291, allocations: 106.1 kB / 0.5209 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.771e-05/0.4291, allocations: 181.4 kB / 0.521 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.243e-05/0.4292, allocations: 177.7 kB / 0.5212 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-05/0.4293, allocations: 185.5 kB / 0.5214 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.353e-05/0.4293, allocations: 180.2 kB / 0.5216 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.4296, allocations: 432.8 kB / 0.522 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.4299, allocations: 299.2 kB / 0.5223 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.43, allocations: 182.5 kB / 0.5224 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.4303, allocations: 101 kB / 0.5225 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/0.4304, allocations: 190 kB / 0.5227 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.013e-05/0.4304, allocations: 102.6 kB / 0.5228 GB, free: 10.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001155/0.4316, allocations: 1.009 MB / 0.5238 GB, free: 9.488 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4316, allocations: 0 / 0.5238 GB, free: 9.488 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00157/0.4332, allocations: 436 kB / 0.5242 GB, free: 9.359 MB / 398.1 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 () * Number of clocked 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.0001641/0.4334, allocations: 168.3 kB / 0.5244 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.4345, allocations: 0.8993 MB / 0.5252 GB, free: 8.797 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4345, allocations: 0 / 0.5252 GB, free: 8.797 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.958e-06/0.4345, allocations: 6.547 kB / 0.5253 GB, free: 8.793 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006629/0.4352, allocations: 0.6458 MB / 0.5259 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/0.4396, allocations: 3.396 MB / 0.5292 GB, free: 5.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/0.4409, allocations: 1.607 MB / 0.5308 GB, free: 4.027 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001132/0.4421, allocations: 499.4 kB / 0.5312 GB, free: 3.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.972e-05/0.4422, allocations: 71.44 kB / 0.5313 GB, free: 3.465 MB / 398.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4422, allocations: 4 kB / 0.5313 GB, free: 3.461 MB / 398.1 MB Notification: Performance of Templates: time 0.01604/0.4582, allocations: 7.914 MB / 0.539 GB, free: 11.59 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) Environment - environmentSimulation: