Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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 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.2_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001362/0.001368, allocations: 100 kB / 15.05 MB, free: 1.105 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.001662/0.001662, allocations: 177.3 kB / 15.95 MB, free: 216 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.71/1.71, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.398/0.398, allocations: 40 MB / 310.4 MB, free: 9.949 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.2. 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.0005797/0.0005798, allocations: 16 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.134, allocations: 57.95 MB / 436.8 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.2984/0.4325, allocations: 34.44 MB / 471.2 MB, free: 33.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01889/0.4515, allocations: 7.342 MB / 478.5 MB, free: 29.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008934/0.4604, allocations: 159.4 kB / 478.7 MB, free: 29.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006567/0.467, allocations: 1.706 MB / 480.4 MB, free: 28.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01715/0.4842, allocations: 4.827 MB / 485.2 MB, free: 26.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.486, allocations: 107.4 kB / 485.3 MB, free: 26.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.4874, allocations: 0.6 MB / 485.9 MB, free: 26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/0.4895, allocations: 1.725 MB / 487.7 MB, free: 25.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004008/0.4899, allocations: 302.7 kB / 488 MB, free: 25.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003809/0.4903, allocations: 349.1 kB / 488.3 MB, free: 25.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.374e-05/0.4904, allocations: 44.25 kB / 488.3 MB, free: 25.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.4906, allocations: 43.06 kB / 488.4 MB, free: 25.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003815/0.4909, allocations: 0.5766 MB / 489 MB, free: 24.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.4912, allocations: 341.7 kB / 489.3 MB, free: 24.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.4924, allocations: 1.774 MB / 491.1 MB, free: 24.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4925, allocations: 0 / 491.1 MB, free: 24.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4925, allocations: 0 / 491.1 MB, free: 24.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.859e-05/0.4925, allocations: 3.219 kB / 491.1 MB, free: 24.23 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.001853/0.4944, allocations: 1.636 MB / 492.7 MB, free: 23.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.4944, allocations: 12.78 kB / 492.7 MB, free: 23.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004797/0.4949, allocations: 215.6 kB / 492.9 MB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.4959, allocations: 0.7074 MB / 493.6 MB, free: 22.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-05/0.496, allocations: 114.8 kB / 493.7 MB, free: 22.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.4962, allocations: 150.6 kB / 493.9 MB, free: 22.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/0.4993, allocations: 3.354 MB / 497.2 MB, free: 20.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.858e-05/0.4994, allocations: 14.06 kB / 497.3 MB, free: 20.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.4995, allocations: 76.59 kB / 497.3 MB, free: 20.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008334/0.5003, allocations: 0.6202 MB / 498 MB, free: 20.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003315/0.5037, allocations: 1.837 MB / 499.8 MB, free: 19.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/0.5177, allocations: 13.52 MB / 0.5013 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.931e-05/0.5178, allocations: 174.3 kB / 0.5014 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.5179, allocations: 75.28 kB / 0.5015 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.5179, allocations: 108.1 kB / 0.5016 GB, free: 8.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.394e-06/0.5179, allocations: 0 / 0.5016 GB, free: 8.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002967/0.5182, allocations: 151.4 kB / 0.5018 GB, free: 8.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.5183, allocations: 128.7 kB / 0.5019 GB, free: 8.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00241/0.5207, allocations: 1.647 MB / 0.5035 GB, free: 7.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.5207, allocations: 25.7 kB / 0.5035 GB, free: 7.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000949/0.5217, allocations: 1.353 MB / 0.5048 GB, free: 6.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.5217, allocations: 44.67 kB / 0.5049 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.5218, allocations: 44.19 kB / 0.5049 GB, free: 6.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000246/0.5221, allocations: 444.4 kB / 0.5054 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006768/0.5228, allocations: 365.4 kB / 0.5057 GB, free: 6.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.5244, allocations: 1.913 MB / 0.5076 GB, free: 3.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.5256, allocations: 0.7742 MB / 0.5083 GB, free: 3.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.963e-05/0.5256, allocations: 16.97 kB / 0.5083 GB, free: 3.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003854/0.5295, allocations: 2.106 MB / 0.5104 GB, free: 2.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.955e-05/0.5295, allocations: 29.59 kB / 0.5104 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.247e-05/0.5296, allocations: 57.62 kB / 0.5105 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001258/0.5298, allocations: 80.56 kB / 0.5106 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.5312, allocations: 491.8 kB / 0.511 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001565/0.5313, allocations: 109.6 kB / 0.5111 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.5332, allocations: 322 kB / 0.5114 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/0.5334, allocations: 137.2 kB / 0.5116 GB, free: 2.316 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.001558/0.535, allocations: 0.8666 MB / 0.5124 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.5352, allocations: 232 kB / 0.5126 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.5354, allocations: 226.8 kB / 0.5129 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.294e-05/0.5355, allocations: 178.3 kB / 0.513 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-05/0.5355, allocations: 185 kB / 0.5132 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.772e-05/0.5356, allocations: 178.5 kB / 0.5134 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/0.5377, allocations: 1.482 MB / 0.5148 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-05/0.5378, allocations: 104.9 kB / 0.5149 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.46e-05/0.5378, allocations: 103.4 kB / 0.515 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.217e-05/0.5379, allocations: 189.7 kB / 0.5152 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.61e-05/0.538, allocations: 182.5 kB / 0.5154 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-05/0.5381, allocations: 181.2 kB / 0.5155 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.968e-05/0.5381, allocations: 179.1 kB / 0.5157 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.5384, allocations: 441.1 kB / 0.5161 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/0.5388, allocations: 296.1 kB / 0.5164 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.539, allocations: 190.5 kB / 0.5166 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.5393, allocations: 111.4 kB / 0.5167 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/0.5393, allocations: 181.6 kB / 0.5169 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.5394, allocations: 102 kB / 0.517 GB, free: 13.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001579/0.541, allocations: 1.012 MB / 0.518 GB, free: 13.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.541, allocations: 0 / 0.518 GB, free: 13.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002102/0.5431, allocations: 432.9 kB / 0.5184 GB, free: 13.45 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.0001764/0.5433, allocations: 169.2 kB / 0.5185 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.5449, allocations: 0.8919 MB / 0.5194 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5449, allocations: 0 / 0.5194 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.238e-06/0.5449, allocations: 8.25 kB / 0.5194 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007909/0.5457, allocations: 0.6362 MB / 0.52 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005657/0.5514, allocations: 3.396 MB / 0.5234 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001676/0.5531, allocations: 1.619 MB / 0.5249 GB, free: 9.164 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001305/0.5544, allocations: 490.2 kB / 0.5254 GB, free: 8.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.5545, allocations: 74.03 kB / 0.5255 GB, free: 8.922 MB / 398.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5545, allocations: 4 kB / 0.5255 GB, free: 8.918 MB / 398.1 MB Notification: Performance of Templates: time 0.01815/0.5727, allocations: 7.906 MB / 0.5332 GB, free: 3.039 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) Environment - environmentSimulation: