Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001576, allocations: 182.4 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 90.88 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5132/0.5132, allocations: 43.54 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.0004841, allocations: 11.98 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1312, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.3651/0.4964, allocations: 34.44 MB / 0.5124 GB, free: 26.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01908/0.5155, allocations: 7.344 MB / 0.5195 GB, free: 21.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007785/0.5234, allocations: 161.5 kB / 0.5197 GB, free: 21.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006459/0.5299, allocations: 1.708 MB / 0.5213 GB, free: 20.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01781/0.5478, allocations: 4.823 MB / 0.5261 GB, free: 18.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.5501, allocations: 101.6 kB / 0.5262 GB, free: 18.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001625/0.5517, allocations: 0.6058 MB / 0.5267 GB, free: 17.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002857/0.5546, allocations: 1.713 MB / 0.5284 GB, free: 17.19 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005038/0.5552, allocations: 310.2 kB / 0.5287 GB, free: 17.06 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005228/0.5557, allocations: 346.6 kB / 0.529 GB, free: 16.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.5559, allocations: 47.47 kB / 0.5291 GB, free: 16.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.5561, allocations: 38.28 kB / 0.5291 GB, free: 16.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005428/0.5567, allocations: 0.5776 MB / 0.5297 GB, free: 16.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002807/0.557, allocations: 342.1 kB / 0.53 GB, free: 16.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002309/0.5593, allocations: 1.77 MB / 0.5317 GB, free: 16.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.5594, allocations: 4 kB / 0.5317 GB, free: 16.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.5594, allocations: 0 / 0.5317 GB, free: 16.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.938e-05/0.5595, allocations: 0 / 0.5317 GB, free: 16.1 MB / 378.7 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.003014/0.5625, allocations: 1.635 MB / 0.5333 GB, free: 15.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.5625, allocations: 10.45 kB / 0.5334 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007151/0.5633, allocations: 223.6 kB / 0.5336 GB, free: 14.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.5647, allocations: 0.7116 MB / 0.5343 GB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-05/0.5648, allocations: 115.2 kB / 0.5344 GB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/0.5651, allocations: 150.4 kB / 0.5345 GB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005462/0.5706, allocations: 3.353 MB / 0.5378 GB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.899e-05/0.5707, allocations: 17.34 kB / 0.5378 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.5709, allocations: 75.16 kB / 0.5379 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00111/0.572, allocations: 0.6141 MB / 0.5385 GB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004861/0.5769, allocations: 1.846 MB / 0.5403 GB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01638/0.5933, allocations: 13.51 MB / 0.5535 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.238e-05/0.5935, allocations: 178.2 kB / 0.5536 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.5935, allocations: 80.44 kB / 0.5537 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.5935, allocations: 106.4 kB / 0.5538 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.995e-06/0.5936, allocations: 1.188 kB / 0.5538 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0004258/0.594, allocations: 148.3 kB / 0.554 GB, free: 408 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.594, allocations: 127.9 kB / 0.5541 GB, free: 268 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003879/0.5979, allocations: 1.641 MB / 0.5557 GB, free: 15.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.598, allocations: 31.11 kB / 0.5557 GB, free: 15.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001477/0.5995, allocations: 1.372 MB / 0.5571 GB, free: 14.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.563e-05/0.5996, allocations: 43.39 kB / 0.5571 GB, free: 14.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.5998, allocations: 41.03 kB / 0.5571 GB, free: 14.42 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002524/0.6, allocations: 392.6 kB / 0.5575 GB, free: 14.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009396/0.601, allocations: 368.2 kB / 0.5579 GB, free: 13.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/0.6033, allocations: 1.917 MB / 0.5597 GB, free: 11.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002018/0.6054, allocations: 0.7748 MB / 0.5605 GB, free: 11.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.135e-05/0.6055, allocations: 16.09 kB / 0.5605 GB, free: 11.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.006439/0.612, allocations: 2.057 MB / 0.5625 GB, free: 10.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.765e-05/0.6121, allocations: 30.09 kB / 0.5625 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/0.6122, allocations: 58.41 kB / 0.5626 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001432/0.6124, allocations: 81.03 kB / 0.5627 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002493/0.6149, allocations: 490.8 kB / 0.5631 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001613/0.6151, allocations: 113.6 kB / 0.5633 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/0.6175, allocations: 322 kB / 0.5636 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003979/0.618, allocations: 139.2 kB / 0.5637 GB, free: 10.17 MB / 394.7 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.002186/0.6202, allocations: 0.8623 MB / 0.5645 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004/0.6206, allocations: 232.1 kB / 0.5648 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.621, allocations: 229.4 kB / 0.565 GB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.668e-05/0.621, allocations: 178.6 kB / 0.5652 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.972e-05/0.6211, allocations: 185 kB / 0.5653 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.921e-05/0.6212, allocations: 181.3 kB / 0.5655 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003201/0.6244, allocations: 1.48 MB / 0.5669 GB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.823e-05/0.6245, allocations: 106.4 kB / 0.567 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.592e-05/0.6246, allocations: 101 kB / 0.5671 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.149e-05/0.6247, allocations: 191 kB / 0.5673 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-05/0.6248, allocations: 180.3 kB / 0.5675 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.533e-05/0.6249, allocations: 184.2 kB / 0.5677 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.06e-05/0.6249, allocations: 178.2 kB / 0.5678 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.6254, allocations: 434.3 kB / 0.5683 GB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005575/0.626, allocations: 296.5 kB / 0.5685 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.6263, allocations: 185.2 kB / 0.5687 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004962/0.6268, allocations: 110.5 kB / 0.5688 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.952e-05/0.6269, allocations: 177.7 kB / 0.569 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.265e-05/0.6269, allocations: 113.5 kB / 0.5691 GB, free: 5.723 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002329/0.6293, allocations: 1.009 MB / 0.5701 GB, free: 5.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6293, allocations: 0 / 0.5701 GB, free: 5.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003369/0.6327, allocations: 428.2 kB / 0.5705 GB, free: 5.059 MB / 394.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 () * 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.0002973/0.6331, allocations: 176 kB / 0.5707 GB, free: 4.891 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002367/0.6354, allocations: 0.887 MB / 0.5715 GB, free: 4.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.6355, allocations: 0 / 0.5715 GB, free: 4.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.071e-06/0.6355, allocations: 4.094 kB / 0.5715 GB, free: 4.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.6368, allocations: 0.6417 MB / 0.5722 GB, free: 3.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008447/0.6453, allocations: 3.578 MB / 0.5757 GB, free: 1.055 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002491/0.6478, allocations: 1.618 MB / 0.5772 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/0.6482, allocations: 91.44 kB / 0.5773 GB, free: 15.31 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6482, allocations: 4 kB / 0.5773 GB, free: 15.31 MB / 410.7 MB Notification: Performance of Templates: time 0.0426/0.6908, allocations: 17.26 MB / 0.5942 GB, free: 14.06 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)