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/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.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 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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008971/0.0008971, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3244/0.3244, allocations: 38.03 MB / 308.4 MB, free: 10.47 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006021/0.0006026, allocations: 16 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1238, allocations: 57.52 MB / 434 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.2424/0.3662, allocations: 36.4 MB / 470.4 MB, free: 32.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01443/0.3807, allocations: 6.991 MB / 477.4 MB, free: 30.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006558/0.3873, allocations: 168.4 kB / 477.5 MB, free: 30.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004877/0.3922, allocations: 1.755 MB / 479.3 MB, free: 30.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01158/0.4038, allocations: 4.864 MB / 484.1 MB, free: 28.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.4052, allocations: 101.5 kB / 484.2 MB, free: 28.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00139/0.4066, allocations: 1.289 MB / 485.5 MB, free: 27.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.4085, allocations: 1.724 MB / 487.2 MB, free: 26.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004342/0.4089, allocations: 388.2 kB / 487.6 MB, free: 26.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005381/0.4095, allocations: 0.5399 MB / 488.2 MB, free: 26.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.12e-05/0.4095, allocations: 45.59 kB / 488.2 MB, free: 26.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.4097, allocations: 39.44 kB / 488.3 MB, free: 26.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003596/0.4101, allocations: 0.6255 MB / 488.9 MB, free: 26.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.4103, allocations: 337.1 kB / 489.2 MB, free: 26.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.4114, allocations: 1.774 MB / 491 MB, free: 25.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4114, allocations: 0 / 491 MB, free: 25.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4114, allocations: 4 kB / 491 MB, free: 25.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.009e-05/0.4114, allocations: 0 / 491 MB, free: 25.8 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.001593/0.413, allocations: 1.642 MB / 492.6 MB, free: 24.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.413, allocations: 9.875 kB / 492.6 MB, free: 24.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004182/0.4135, allocations: 223.3 kB / 492.9 MB, free: 24.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007223/0.4142, allocations: 0.6922 MB / 493.5 MB, free: 24.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.024e-05/0.4143, allocations: 117.2 kB / 493.7 MB, free: 24.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.4144, allocations: 149.3 kB / 493.8 MB, free: 24.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003102/0.4175, allocations: 3.365 MB / 497.2 MB, free: 22.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/0.4176, allocations: 16.56 kB / 497.2 MB, free: 22.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.4177, allocations: 72.81 kB / 497.3 MB, free: 22.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000629/0.4183, allocations: 0.6149 MB / 497.9 MB, free: 22.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003053/0.4214, allocations: 1.838 MB / 499.7 MB, free: 21.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/0.4321, allocations: 13.54 MB / 0.5012 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.765e-05/0.4322, allocations: 178.3 kB / 0.5014 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.058e-05/0.4322, allocations: 84.66 kB / 0.5015 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.4322, allocations: 75.28 kB / 0.5015 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.4323, allocations: 107.9 kB / 0.5016 GB, free: 10.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.615e-06/0.4323, allocations: 0 / 0.5016 GB, free: 10.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002612/0.4325, allocations: 152.1 kB / 0.5018 GB, free: 10.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.4326, allocations: 128 kB / 0.5019 GB, free: 9.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/0.4349, allocations: 1.646 MB / 0.5035 GB, free: 9.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.4349, allocations: 25.7 kB / 0.5035 GB, free: 9.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.436, allocations: 1.359 MB / 0.5049 GB, free: 8.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/0.436, allocations: 45.31 kB / 0.5049 GB, free: 8.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.4361, allocations: 39.84 kB / 0.505 GB, free: 8.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002432/0.4363, allocations: 445.1 kB / 0.5054 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/0.4369, allocations: 359.3 kB / 0.5057 GB, free: 7.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.4382, allocations: 1.921 MB / 0.5076 GB, free: 5.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009897/0.4392, allocations: 0.7822 MB / 0.5084 GB, free: 4.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-05/0.4392, allocations: 16.94 kB / 0.5084 GB, free: 4.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003298/0.4425, allocations: 2.096 MB / 0.5104 GB, free: 4.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.981e-05/0.4426, allocations: 30.44 kB / 0.5105 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.253e-05/0.4427, allocations: 57.81 kB / 0.5105 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.323e-05/0.4428, allocations: 85.12 kB / 0.5106 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.4439, allocations: 490 kB / 0.5111 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.752e-05/0.444, allocations: 109.7 kB / 0.5112 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.446, allocations: 322.2 kB / 0.5115 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.4462, allocations: 140.1 kB / 0.5116 GB, free: 3.789 MB / 382.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.001196/0.4474, allocations: 0.87 MB / 0.5124 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.4476, allocations: 226 kB / 0.5127 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.4478, allocations: 231.4 kB / 0.5129 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.15e-05/0.4478, allocations: 185.4 kB / 0.5131 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.023e-05/0.4478, allocations: 177.5 kB / 0.5132 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.84e-05/0.4479, allocations: 186.3 kB / 0.5134 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.4497, allocations: 1.476 MB / 0.5149 GB, free: 17.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.632e-05/0.4498, allocations: 109 kB / 0.515 GB, free: 17.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.4498, allocations: 106.2 kB / 0.5151 GB, free: 17.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-05/0.4499, allocations: 181.4 kB / 0.5152 GB, free: 17.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-05/0.4499, allocations: 181.4 kB / 0.5154 GB, free: 17.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.517e-05/0.45, allocations: 182.6 kB / 0.5156 GB, free: 16.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.341e-05/0.4501, allocations: 178.9 kB / 0.5157 GB, free: 16.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.4503, allocations: 431.1 kB / 0.5162 GB, free: 16.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002638/0.4506, allocations: 301.3 kB / 0.5164 GB, free: 16.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.4507, allocations: 187.9 kB / 0.5166 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.451, allocations: 103.2 kB / 0.5167 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.4511, allocations: 189.5 kB / 0.5169 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.4511, allocations: 103.7 kB / 0.517 GB, free: 15.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001181/0.4523, allocations: 1.004 MB / 0.518 GB, free: 15.06 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4523, allocations: 0 / 0.518 GB, free: 15.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001714/0.454, allocations: 431.1 kB / 0.5184 GB, free: 14.94 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.0001645/0.4542, allocations: 173.8 kB / 0.5186 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.4554, allocations: 0.8952 MB / 0.5194 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4554, allocations: 1.875 kB / 0.5194 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.285e-06/0.4554, allocations: 4 kB / 0.5194 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007441/0.4562, allocations: 0.6343 MB / 0.5201 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.4603, allocations: 3.422 MB / 0.5234 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.4616, allocations: 1.583 MB / 0.5249 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001146/0.4628, allocations: 493.3 kB / 0.5254 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.4629, allocations: 74.62 kB / 0.5255 GB, free: 10.2 MB / 398.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4629, allocations: 0 / 0.5255 GB, free: 10.2 MB / 398.1 MB Notification: Performance of Templates: time 0.01585/0.4788, allocations: 7.913 MB / 0.5332 GB, free: 4.824 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: