Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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.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 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007276/0.0007277, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009845/0.0009847, allocations: 173 kB / 16.58 MB, free: 6.84 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.419/1.419, allocations: 205.4 MB / 222.8 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3446/0.3446, allocations: 43.55 MB / 314.6 MB, free: 8.914 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: Performance of FrontEnd - loaded program: time 0.0005351/0.0005354, allocations: 18.95 kB / 384 MB, free: 8.199 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1242, allocations: 58.85 MB / 442.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.2371/0.3613, allocations: 36.42 MB / 479.3 MB, free: 29.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01668/0.378, allocations: 6.989 MB / 486.3 MB, free: 24.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008481/0.3866, allocations: 159.1 kB / 486.4 MB, free: 24.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00516/0.3918, allocations: 1.766 MB / 488.2 MB, free: 23.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01586/0.4077, allocations: 4.865 MB / 493.1 MB, free: 21.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.4094, allocations: 95.58 kB / 493.2 MB, free: 21.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001916/0.4114, allocations: 1.29 MB / 494.4 MB, free: 21.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002503/0.4139, allocations: 1.724 MB / 496.2 MB, free: 20.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007294/0.4146, allocations: 381.2 kB / 496.5 MB, free: 20.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009799/0.4156, allocations: 0.5475 MB / 497.1 MB, free: 20.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002532/0.4159, allocations: 43.66 kB / 497.1 MB, free: 20.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004208/0.4163, allocations: 41.92 kB / 497.2 MB, free: 20.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008928/0.4172, allocations: 0.6272 MB / 497.8 MB, free: 20.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007171/0.418, allocations: 337.7 kB / 498.1 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002678/0.4206, allocations: 1.772 MB / 499.9 MB, free: 19.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.4207, allocations: 0 / 499.9 MB, free: 19.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.4207, allocations: 0 / 499.9 MB, free: 19.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001575/0.4208, allocations: 5.094 kB / 499.9 MB, free: 19.46 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.003763/0.4246, allocations: 1.64 MB / 0.4898 GB, free: 18.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.4247, allocations: 12.48 kB / 0.4898 GB, free: 18.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006021/0.4253, allocations: 331.1 kB / 0.4901 GB, free: 18.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000635/0.4259, allocations: 215.1 kB / 0.4903 GB, free: 18.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.427, allocations: 0.7046 MB / 0.491 GB, free: 17.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.4271, allocations: 119.7 kB / 0.4911 GB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.4273, allocations: 145.5 kB / 0.4913 GB, free: 17.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004722/0.432, allocations: 3.373 MB / 0.4946 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.073e-05/0.4321, allocations: 18.16 kB / 0.4946 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.4322, allocations: 77.08 kB / 0.4946 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008798/0.4331, allocations: 0.6176 MB / 0.4953 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003501/0.4366, allocations: 1.838 MB / 0.497 GB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01232/0.4489, allocations: 13.52 MB / 0.5103 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.618e-05/0.4491, allocations: 167.2 kB / 0.5104 GB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.4491, allocations: 80.14 kB / 0.5105 GB, free: 3.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.4491, allocations: 79.28 kB / 0.5106 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.4492, allocations: 109.5 kB / 0.5107 GB, free: 3.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.305e-06/0.4492, allocations: 0 / 0.5107 GB, free: 3.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003049/0.4495, allocations: 152.5 kB / 0.5108 GB, free: 3.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.4496, allocations: 130.7 kB / 0.5109 GB, free: 3.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.4518, allocations: 1.638 MB / 0.5125 GB, free: 2.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.4518, allocations: 25.7 kB / 0.5126 GB, free: 2.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007384/0.4526, allocations: 1.362 MB / 0.5139 GB, free: 1.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.4526, allocations: 57.28 kB / 0.5139 GB, free: 1.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.4527, allocations: 39.91 kB / 0.514 GB, free: 1.305 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4528, allocations: 440.4 kB / 0.5144 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/0.4533, allocations: 363.9 kB / 0.5148 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.4548, allocations: 1.919 MB / 0.5166 GB, free: 14.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009997/0.4559, allocations: 0.7884 MB / 0.5174 GB, free: 13.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.897e-05/0.4559, allocations: 16.38 kB / 0.5174 GB, free: 13.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003015/0.4589, allocations: 2.096 MB / 0.5195 GB, free: 12.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.459, allocations: 30.25 kB / 0.5195 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-05/0.459, allocations: 56.38 kB / 0.5195 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.77e-05/0.4591, allocations: 83.28 kB / 0.5196 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.4602, allocations: 484.3 kB / 0.5201 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.154e-05/0.4603, allocations: 113 kB / 0.5202 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.4618, allocations: 317.9 kB / 0.5205 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.462, allocations: 138.2 kB / 0.5206 GB, free: 12.45 MB / 398.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.001401/0.4634, allocations: 0.8705 MB / 0.5215 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.4636, allocations: 227.6 kB / 0.5217 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.4638, allocations: 232.7 kB / 0.5219 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.068e-05/0.4639, allocations: 179.2 kB / 0.5221 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.378e-05/0.4639, allocations: 176.8 kB / 0.5223 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.813e-05/0.464, allocations: 184.2 kB / 0.5224 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.4657, allocations: 1.479 MB / 0.5239 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.696e-05/0.4658, allocations: 110.9 kB / 0.524 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.4658, allocations: 108.4 kB / 0.5241 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.469e-05/0.4659, allocations: 178.6 kB / 0.5243 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.104e-05/0.4659, allocations: 184.2 kB / 0.5244 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.907e-05/0.466, allocations: 184.3 kB / 0.5246 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.738e-05/0.4661, allocations: 186.8 kB / 0.5248 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.4663, allocations: 418.9 kB / 0.5252 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.4666, allocations: 305.7 kB / 0.5255 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.4667, allocations: 184.2 kB / 0.5257 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.467, allocations: 108.9 kB / 0.5258 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.467, allocations: 178 kB / 0.5259 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.4671, allocations: 103.2 kB / 0.526 GB, free: 7.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001185/0.4683, allocations: 1.011 MB / 0.527 GB, free: 7.195 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.4683, allocations: 2.812 kB / 0.527 GB, free: 7.195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001682/0.47, allocations: 433.8 kB / 0.5274 GB, free: 7.066 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.0005243/0.4705, allocations: 0.9368 MB / 0.5283 GB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.4718, allocations: 0.889 MB / 0.5292 GB, free: 5.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4718, allocations: 0.8125 kB / 0.5292 GB, free: 5.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.218e-06/0.4718, allocations: 3.938 kB / 0.5292 GB, free: 5.789 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008287/0.4726, allocations: 0.6434 MB / 0.5298 GB, free: 5.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/0.4866, allocations: 9.511 MB / 0.5391 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001405/0.4881, allocations: 1.583 MB / 0.5407 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001242/0.4894, allocations: 491.4 kB / 0.5411 GB, free: 8.566 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006917/0.4901, allocations: 0.6672 MB / 0.5418 GB, free: 7.898 MB / 414.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4901, allocations: 0 / 0.5418 GB, free: 7.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04584/0.5359, allocations: 22.24 MB / 0.5635 GB, free: 1.734 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.5362, allocations: 182.6 kB / 0.5637 GB, free: 1.492 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.139/2.675, allocations: 7.938 kB / 0.5637 GB, free: 1.484 MB / 430.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) Environment - environmentSimulation: