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.0009866/0.0009866, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001233/0.001233, allocations: 172.7 kB / 15.95 MB, free: 208 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.736/1.736, allocations: 205.4 MB / 222.1 MB, free: 5.473 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.4049/0.4049, allocations: 40 MB / 310.4 MB, free: 9.699 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.0006014/0.0006017, allocations: 12 kB / 378.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1431, allocations: 57.96 MB / 436.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.2998/0.443, allocations: 36.42 MB / 473.2 MB, free: 32.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0199/0.4629, allocations: 6.984 MB / 480.2 MB, free: 28.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008761/0.4717, allocations: 160.7 kB / 480.3 MB, free: 28.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007046/0.4788, allocations: 1.757 MB / 482.1 MB, free: 27.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0137/0.4926, allocations: 4.866 MB / 487 MB, free: 25.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.4942, allocations: 101.8 kB / 487.1 MB, free: 25.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001811/0.496, allocations: 1.288 MB / 488.4 MB, free: 24.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00212/0.4982, allocations: 1.727 MB / 490.1 MB, free: 24.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006033/0.4988, allocations: 385.8 kB / 490.5 MB, free: 24.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006775/0.4995, allocations: 0.5448 MB / 491 MB, free: 23.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.4996, allocations: 45.09 kB / 491 MB, free: 23.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.4998, allocations: 49.19 kB / 491.1 MB, free: 23.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000465/0.5003, allocations: 0.6161 MB / 491.7 MB, free: 23.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.5006, allocations: 341.4 kB / 492 MB, free: 23.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.502, allocations: 1.774 MB / 493.8 MB, free: 23.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.502, allocations: 4 kB / 493.8 MB, free: 23.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.502, allocations: 0 / 493.8 MB, free: 23.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.548e-05/0.502, allocations: 0 / 493.8 MB, free: 23.09 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.002176/0.5042, allocations: 1.633 MB / 495.5 MB, free: 22.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.5043, allocations: 8.969 kB / 495.5 MB, free: 22.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000497/0.5048, allocations: 218.8 kB / 495.7 MB, free: 21.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009667/0.5058, allocations: 0.7033 MB / 496.4 MB, free: 21.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.077e-05/0.5058, allocations: 115.4 kB / 496.5 MB, free: 21.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.506, allocations: 152.1 kB / 496.6 MB, free: 21.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004096/0.5101, allocations: 3.365 MB / 0.4883 GB, free: 19.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.011e-05/0.5101, allocations: 23.16 kB / 0.4883 GB, free: 19.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.5103, allocations: 72.62 kB / 0.4884 GB, free: 19.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008848/0.5112, allocations: 0.6138 MB / 0.489 GB, free: 19.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003558/0.5147, allocations: 1.843 MB / 0.4908 GB, free: 18.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01259/0.5273, allocations: 13.53 MB / 0.504 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.276e-05/0.5275, allocations: 170.8 kB / 0.5041 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.5275, allocations: 85.33 kB / 0.5042 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.5275, allocations: 79.78 kB / 0.5043 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.5275, allocations: 111.5 kB / 0.5044 GB, free: 7.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.425e-06/0.5276, allocations: 0 / 0.5044 GB, free: 7.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.000269/0.5278, allocations: 148.4 kB / 0.5046 GB, free: 7.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.5279, allocations: 126.7 kB / 0.5047 GB, free: 7.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002347/0.5302, allocations: 1.642 MB / 0.5063 GB, free: 6.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.5302, allocations: 27.2 kB / 0.5063 GB, free: 6.512 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008572/0.5311, allocations: 1.354 MB / 0.5076 GB, free: 5.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.5312, allocations: 48.09 kB / 0.5077 GB, free: 5.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.5312, allocations: 43.91 kB / 0.5077 GB, free: 5.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.5314, allocations: 442.4 kB / 0.5081 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005695/0.532, allocations: 360.5 kB / 0.5085 GB, free: 4.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.5332, allocations: 1.928 MB / 0.5104 GB, free: 2.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.5343, allocations: 0.7783 MB / 0.5111 GB, free: 2.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.792e-05/0.5343, allocations: 20.52 kB / 0.5111 GB, free: 2.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003503/0.5378, allocations: 2.098 MB / 0.5132 GB, free: 1.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.5379, allocations: 28.44 kB / 0.5132 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.961e-05/0.538, allocations: 57.56 kB / 0.5133 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001287/0.5381, allocations: 81.44 kB / 0.5134 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.5394, allocations: 488 kB / 0.5138 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001271/0.5395, allocations: 112.7 kB / 0.5139 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.5412, allocations: 323 kB / 0.5142 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/0.5414, allocations: 142.4 kB / 0.5144 GB, free: 1.09 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.001258/0.5427, allocations: 0.8655 MB / 0.5152 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.5429, allocations: 227.7 kB / 0.5154 GB, free: 428 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.5431, allocations: 234.1 kB / 0.5157 GB, free: 264 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.799e-05/0.5431, allocations: 179.7 kB / 0.5158 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.628e-05/0.5432, allocations: 185.4 kB / 0.516 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.31e-05/0.5433, allocations: 177.6 kB / 0.5162 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.5455, allocations: 1.479 MB / 0.5176 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.876e-05/0.5455, allocations: 114.2 kB / 0.5177 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-05/0.5456, allocations: 106.3 kB / 0.5178 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.805e-05/0.5457, allocations: 180.2 kB / 0.518 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.522e-05/0.5458, allocations: 177.6 kB / 0.5182 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.925e-05/0.5458, allocations: 177.6 kB / 0.5183 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.483e-05/0.5459, allocations: 185.7 kB / 0.5185 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.5462, allocations: 435 kB / 0.5189 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/0.5465, allocations: 296.7 kB / 0.5192 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.5467, allocations: 181.5 kB / 0.5194 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.5469, allocations: 106.2 kB / 0.5195 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.547, allocations: 189.4 kB / 0.5197 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.294e-05/0.5471, allocations: 108 kB / 0.5198 GB, free: 12.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001356/0.5484, allocations: 1.009 MB / 0.5208 GB, free: 12.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5484, allocations: 0 / 0.5208 GB, free: 12.03 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001949/0.5504, allocations: 437.2 kB / 0.5212 GB, free: 11.9 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.0001556/0.5506, allocations: 168.1 kB / 0.5213 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.552, allocations: 0.8923 MB / 0.5222 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.552, allocations: 0 / 0.5222 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.552, allocations: 0 / 0.5222 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008704/0.5529, allocations: 0.64 MB / 0.5228 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005056/0.558, allocations: 3.412 MB / 0.5262 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/0.5593, allocations: 1.58 MB / 0.5277 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001185/0.5605, allocations: 493.5 kB / 0.5282 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.5606, allocations: 75.28 kB / 0.5282 GB, free: 7.121 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5606, allocations: 0 / 0.5282 GB, free: 7.121 MB / 398.1 MB Notification: Performance of Templates: time 0.01715/0.5778, allocations: 7.916 MB / 0.536 GB, free: 356 kB / 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: