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.001015/0.001015, allocations: 96.28 kB / 15.69 MB, free: 480 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.001111/0.001111, allocations: 179.2 kB / 16.57 MB, free: 6.848 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.663/1.663, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.4568/0.4568, allocations: 43.54 MB / 314.5 MB, free: 8.758 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.0006002/0.0006003, allocations: 15.98 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1336, allocations: 58.85 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.2852/0.4189, allocations: 34.45 MB / 477.3 MB, free: 30.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02002/0.439, allocations: 7.337 MB / 484.6 MB, free: 25.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01095/0.45, allocations: 161.5 kB / 484.8 MB, free: 25.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007319/0.4574, allocations: 1.706 MB / 486.5 MB, free: 24.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01732/0.4747, allocations: 4.827 MB / 491.3 MB, free: 22.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.4765, allocations: 97.02 kB / 491.4 MB, free: 22.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.4779, allocations: 0.6106 MB / 492 MB, free: 22.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.48, allocations: 1.717 MB / 493.7 MB, free: 21.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004055/0.4804, allocations: 301.2 kB / 494 MB, free: 21.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003849/0.4808, allocations: 348.6 kB / 494.4 MB, free: 21.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.452e-05/0.4809, allocations: 44.97 kB / 494.4 MB, free: 21.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.4811, allocations: 47.19 kB / 494.5 MB, free: 21.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003629/0.4814, allocations: 0.5752 MB / 495 MB, free: 21.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.4817, allocations: 335.6 kB / 495.4 MB, free: 20.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.4832, allocations: 1.777 MB / 497.1 MB, free: 20.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.4832, allocations: 0 / 497.1 MB, free: 20.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4832, allocations: 3.938 kB / 497.2 MB, free: 20.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.419e-05/0.4832, allocations: 0.75 kB / 497.2 MB, free: 20.41 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.002499/0.4858, allocations: 1.635 MB / 498.8 MB, free: 19.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.246e-05/0.4858, allocations: 13.42 kB / 498.8 MB, free: 19.33 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004354/0.4863, allocations: 326.4 kB / 499.1 MB, free: 19.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006167/0.4869, allocations: 218.9 kB / 499.3 MB, free: 19.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.4882, allocations: 0.7085 MB / 0.4883 GB, free: 18.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.4883, allocations: 119.6 kB / 0.4884 GB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.4885, allocations: 149 kB / 0.4886 GB, free: 18.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004714/0.4932, allocations: 3.355 MB / 0.4919 GB, free: 16.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.74e-05/0.4933, allocations: 18.12 kB / 0.4919 GB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.4935, allocations: 73.22 kB / 0.4919 GB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009181/0.4944, allocations: 0.6143 MB / 0.4925 GB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003837/0.4982, allocations: 1.835 MB / 0.4943 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01262/0.5109, allocations: 13.53 MB / 0.5075 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.464e-05/0.511, allocations: 166.7 kB / 0.5077 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.511, allocations: 79.22 kB / 0.5078 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.5111, allocations: 112 kB / 0.5079 GB, free: 4.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.445e-06/0.5111, allocations: 1.031 kB / 0.5079 GB, free: 4.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003049/0.5114, allocations: 156.1 kB / 0.508 GB, free: 4.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.5114, allocations: 127.2 kB / 0.5082 GB, free: 4.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/0.5137, allocations: 1.641 MB / 0.5098 GB, free: 3.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.5137, allocations: 26.36 kB / 0.5098 GB, free: 3.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008405/0.5145, allocations: 1.358 MB / 0.5111 GB, free: 2.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.5146, allocations: 49.28 kB / 0.5112 GB, free: 2.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.5147, allocations: 41.25 kB / 0.5112 GB, free: 2.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.5149, allocations: 440 kB / 0.5116 GB, free: 2.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/0.5154, allocations: 364.6 kB / 0.512 GB, free: 2.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.517, allocations: 1.912 MB / 0.5138 GB, free: 15.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.5182, allocations: 0.7783 MB / 0.5146 GB, free: 15.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.713e-05/0.5183, allocations: 19.98 kB / 0.5146 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003639/0.5219, allocations: 2.1 MB / 0.5167 GB, free: 14.63 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.994e-05/0.522, allocations: 30.06 kB / 0.5167 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.961e-05/0.5221, allocations: 57.84 kB / 0.5167 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001065/0.5222, allocations: 85.28 kB / 0.5168 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.5234, allocations: 487.8 kB / 0.5173 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001064/0.5235, allocations: 109.4 kB / 0.5174 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.5252, allocations: 322.1 kB / 0.5177 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.5254, allocations: 137.6 kB / 0.5178 GB, free: 14.32 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.001511/0.5269, allocations: 0.8702 MB / 0.5187 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.5272, allocations: 226.5 kB / 0.5189 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.5274, allocations: 237.5 kB / 0.5191 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.065e-05/0.5275, allocations: 177.6 kB / 0.5193 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.29e-05/0.5276, allocations: 185.4 kB / 0.5195 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.236e-05/0.5276, allocations: 184.2 kB / 0.5196 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.5298, allocations: 1.472 MB / 0.5211 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.125e-05/0.5298, allocations: 113.8 kB / 0.5212 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.5299, allocations: 105.8 kB / 0.5213 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-05/0.53, allocations: 177.2 kB / 0.5215 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.5301, allocations: 187 kB / 0.5216 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.539e-05/0.5302, allocations: 177.7 kB / 0.5218 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.207e-05/0.5302, allocations: 180.2 kB / 0.522 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.5305, allocations: 433.7 kB / 0.5224 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003468/0.5309, allocations: 298.8 kB / 0.5227 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.5311, allocations: 182.9 kB / 0.5229 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.5313, allocations: 104.9 kB / 0.523 GB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.5314, allocations: 182.5 kB / 0.5231 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.5315, allocations: 105 kB / 0.5232 GB, free: 9.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001247/0.5327, allocations: 1.004 MB / 0.5242 GB, free: 9.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.015e-06/0.5328, allocations: 0 / 0.5242 GB, free: 9.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001864/0.5346, allocations: 439.7 kB / 0.5246 GB, free: 8.992 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.000569/0.5352, allocations: 0.937 MB / 0.5255 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.5366, allocations: 0.8924 MB / 0.5264 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5366, allocations: 0 / 0.5264 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.919e-06/0.5366, allocations: 6.312 kB / 0.5264 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007037/0.5373, allocations: 0.6434 MB / 0.5271 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02744/0.5647, allocations: 48.51 MB / 0.5744 GB, free: 5.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/0.5662, allocations: 1.614 MB / 0.576 GB, free: 4.102 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001296/0.5675, allocations: 495.4 kB / 0.5765 GB, free: 3.613 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007146/0.5682, allocations: 0.6633 MB / 0.5771 GB, free: 2.949 MB / 446.1 MB Notification: Performance of SimCode: time 1.804e-06/0.5682, allocations: 0 / 0.5771 GB, free: 2.949 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04566/0.6139, allocations: 22.23 MB / 0.5988 GB, free: 12.78 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.6141, allocations: 176.8 kB / 0.599 GB, free: 12.54 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/2.943, allocations: 3.938 kB / 0.599 GB, free: 12.54 MB / 478.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: