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.0007843/0.0007843, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004656/0.004656, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.398/1.398, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.3269/0.3269, allocations: 38.03 MB / 308.8 MB, free: 10.35 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.0005555/0.0005556, allocations: 16 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1265, allocations: 57.52 MB / 434.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.2522/0.3788, allocations: 39.12 MB / 473.7 MB, free: 31.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01584/0.3947, allocations: 7.272 MB / 481 MB, free: 28.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007675/0.4024, allocations: 167.3 kB / 481.1 MB, free: 28.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007375/0.4031, allocations: 187.4 kB / 481.3 MB, free: 28.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.4043, allocations: 440.3 kB / 481.7 MB, free: 28.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.4046, allocations: 72.47 kB / 481.8 MB, free: 28.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.4056, allocations: 1.624 MB / 483.4 MB, free: 27.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001857/0.4075, allocations: 1.876 MB / 485.3 MB, free: 26.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/0.4079, allocations: 360.6 kB / 485.7 MB, free: 26.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005972/0.4085, allocations: 0.5634 MB / 486.2 MB, free: 26.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.358e-05/0.4086, allocations: 43.47 kB / 486.3 MB, free: 26.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.4088, allocations: 58.34 kB / 486.3 MB, free: 26.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000373/0.4092, allocations: 0.6428 MB / 487 MB, free: 26.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003946/0.4096, allocations: 0.7735 MB / 487.7 MB, free: 25.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.4108, allocations: 2.126 MB / 489.9 MB, free: 25.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4108, allocations: 0 / 489.9 MB, free: 25.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4108, allocations: 0 / 489.9 MB, free: 25.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.455e-05/0.4108, allocations: 11.22 kB / 489.9 MB, free: 25.12 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.001664/0.4125, allocations: 1.612 MB / 491.5 MB, free: 24.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.4125, allocations: 13.41 kB / 491.5 MB, free: 24.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004445/0.413, allocations: 218.9 kB / 491.7 MB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007215/0.4137, allocations: 0.714 MB / 492.4 MB, free: 23.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.369e-05/0.4138, allocations: 122.5 kB / 492.5 MB, free: 23.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.4139, allocations: 147 kB / 492.7 MB, free: 23.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002928/0.4169, allocations: 3.378 MB / 496.1 MB, free: 21.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.984e-05/0.4169, allocations: 14.19 kB / 496.1 MB, free: 21.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.417, allocations: 73.44 kB / 496.1 MB, free: 21.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005887/0.4176, allocations: 0.6219 MB / 496.8 MB, free: 21.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.4199, allocations: 1.857 MB / 498.6 MB, free: 20.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009697/0.4296, allocations: 13.54 MB / 0.5002 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.483e-05/0.4297, allocations: 166.4 kB / 0.5003 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.2e-05/0.4297, allocations: 80.7 kB / 0.5004 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.4297, allocations: 80.5 kB / 0.5005 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.4298, allocations: 114.3 kB / 0.5006 GB, free: 9.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.794e-06/0.4298, allocations: 0 / 0.5006 GB, free: 9.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.000237/0.43, allocations: 152.5 kB / 0.5007 GB, free: 9.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.4301, allocations: 128.6 kB / 0.5008 GB, free: 9.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.4321, allocations: 1.657 MB / 0.5025 GB, free: 8.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.4321, allocations: 29.7 kB / 0.5025 GB, free: 8.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007008/0.4328, allocations: 1.36 MB / 0.5038 GB, free: 7.422 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.4329, allocations: 44.53 kB / 0.5039 GB, free: 7.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.4331, allocations: 184.4 kB / 0.504 GB, free: 7.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.4332, allocations: 354.8 kB / 0.5044 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004991/0.4337, allocations: 369.6 kB / 0.5047 GB, free: 6.898 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.4348, allocations: 1.929 MB / 0.5066 GB, free: 4.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.4366, allocations: 2.51 MB / 0.5091 GB, free: 1.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.098e-05/0.4366, allocations: 16.91 kB / 0.5091 GB, free: 1.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003384/0.44, allocations: 2.117 MB / 0.5112 GB, free: 1.023 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.063e-05/0.4401, allocations: 29.39 kB / 0.5112 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.47e-05/0.4401, allocations: 61.12 kB / 0.5112 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001107/0.4403, allocations: 73.38 kB / 0.5113 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.4415, allocations: 486.8 kB / 0.5118 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001119/0.4416, allocations: 113.3 kB / 0.5119 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.4431, allocations: 323.8 kB / 0.5122 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/0.4433, allocations: 137.3 kB / 0.5123 GB, free: 0.707 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001476/0.4448, allocations: 0.8616 MB / 0.5132 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.445, allocations: 228.9 kB / 0.5134 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.4452, allocations: 229.8 kB / 0.5136 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.799e-05/0.4453, allocations: 178.2 kB / 0.5138 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.039e-05/0.4454, allocations: 181.9 kB / 0.5139 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.939e-05/0.4455, allocations: 190 kB / 0.5141 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/0.4479, allocations: 1.473 MB / 0.5156 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001054/0.448, allocations: 106.5 kB / 0.5157 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.4481, allocations: 106.7 kB / 0.5158 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001142/0.4482, allocations: 184.3 kB / 0.5159 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.179e-05/0.4483, allocations: 186.2 kB / 0.5161 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001131/0.4484, allocations: 178.2 kB / 0.5163 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001094/0.4485, allocations: 185.9 kB / 0.5165 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.4488, allocations: 432.7 kB / 0.5169 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.4491, allocations: 299.5 kB / 0.5172 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.4493, allocations: 183.5 kB / 0.5173 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003027/0.4496, allocations: 107.3 kB / 0.5174 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.4497, allocations: 178.1 kB / 0.5176 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.4497, allocations: 105.5 kB / 0.5177 GB, free: 12.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001434/0.4512, allocations: 1.021 MB / 0.5187 GB, free: 11.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4512, allocations: 0 / 0.5187 GB, free: 11.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001893/0.4531, allocations: 431.3 kB / 0.5191 GB, free: 11.86 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001734/0.4533, allocations: 182.6 kB / 0.5193 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.4549, allocations: 0.8981 MB / 0.5202 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.4549, allocations: 1.094 kB / 0.5202 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.4549, allocations: 0 / 0.5202 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008572/0.4557, allocations: 0.6455 MB / 0.5208 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/0.4608, allocations: 3.606 MB / 0.5243 GB, free: 8.641 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/0.4623, allocations: 1.577 MB / 0.5259 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001315/0.4636, allocations: 492.7 kB / 0.5263 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.4637, allocations: 75.56 kB / 0.5264 GB, free: 7.691 MB / 398.1 MB Notification: Performance of SimCode: time 1.113e-06/0.4638, allocations: 0 / 0.5264 GB, free: 7.691 MB / 398.1 MB Notification: Performance of Templates: time 0.0163/0.4801, allocations: 8.064 MB / 0.5343 GB, free: 3.258 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: