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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001559/0.001559, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 84.86 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3498/0.3498, allocations: 43.49 MB / 353.5 MB, free: 2.289 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.723e-05/2.74e-05, allocations: 4.219 kB / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4448/0.4449, allocations: 58.85 MB / 477.2 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1798/0.6247, allocations: 92.52 MB / 0.5563 GB, free: 6.781 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.6251, allocations: 75.97 kB / 0.5564 GB, free: 6.707 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1109/0.736, allocations: 26.83 MB / 0.5826 GB, free: 11.62 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.736, allocations: 0 / 0.5826 GB, free: 11.62 MB / 427.1 MB Notification: Performance of Transformations before backend: time 8.487e-05/0.7361, allocations: 36 kB / 0.5827 GB, free: 11.59 MB / 427.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.004655/0.7408, allocations: 1.597 MB / 0.5842 GB, free: 9.941 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.7409, allocations: 8.031 kB / 0.5842 GB, free: 9.934 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.7427, allocations: 261.1 kB / 0.5845 GB, free: 9.676 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002997/0.7458, allocations: 0.8334 MB / 0.5853 GB, free: 8.797 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.746, allocations: 68 kB / 0.5853 GB, free: 8.73 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007515/0.7467, allocations: 108 kB / 0.5855 GB, free: 8.625 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005251/0.752, allocations: 1.703 MB / 0.5871 GB, free: 6.918 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008302/0.7604, allocations: 3.057 MB / 0.5901 GB, free: 3.469 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-05/0.7605, allocations: 19.81 kB / 0.5901 GB, free: 3.449 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002889/0.7608, allocations: 12 kB / 0.5901 GB, free: 3.438 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006747/0.7615, allocations: 332.1 kB / 0.5904 GB, free: 3.113 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01861/0.7801, allocations: 14.53 MB / 0.6046 GB, free: 4.09 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.7803, allocations: 177.1 kB / 0.6048 GB, free: 3.906 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/0.7803, allocations: 80.14 kB / 0.6049 GB, free: 3.824 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.004e-05/0.7804, allocations: 79.23 kB / 0.605 GB, free: 3.746 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/0.7805, allocations: 105.8 kB / 0.6051 GB, free: 3.633 MB / 443.1 MB Notification: Performance of pre-optimization done (n=0): time 2.695e-06/0.7805, allocations: 0 / 0.6051 GB, free: 3.633 MB / 443.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003151/0.7808, allocations: 132.4 kB / 0.6052 GB, free: 3.496 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.7809, allocations: 51.41 kB / 0.6052 GB, free: 3.434 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/0.783, allocations: 1.124 MB / 0.6063 GB, free: 2.301 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.7831, allocations: 25.7 kB / 0.6064 GB, free: 2.27 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001312/0.7844, allocations: 1.427 MB / 0.6078 GB, free: 0.8203 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.021e-05/0.7845, allocations: 43.95 kB / 0.6078 GB, free: 0.7773 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.938e-05/0.7846, allocations: 3.938 kB / 0.6078 GB, free: 0.7734 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0002562/0.7848, allocations: 390.8 kB / 0.6082 GB, free: 392 kB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007283/0.7856, allocations: 316 kB / 0.6085 GB, free: 72 kB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.7877, allocations: 1.851 MB / 0.6103 GB, free: 13.41 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/0.7895, allocations: 0.7215 MB / 0.611 GB, free: 12.68 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.474e-05/0.7895, allocations: 16 kB / 0.611 GB, free: 12.67 MB / 459.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00475/0.7943, allocations: 1.707 MB / 0.6127 GB, free: 10.96 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.185e-05/0.7944, allocations: 32 kB / 0.6127 GB, free: 10.93 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-05/0.7945, allocations: 59.95 kB / 0.6128 GB, free: 10.87 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001329/0.7947, allocations: 80 kB / 0.6128 GB, free: 10.79 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/0.7971, allocations: 491 kB / 0.6133 GB, free: 10.31 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001172/0.7972, allocations: 111.6 kB / 0.6134 GB, free: 10.2 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.7992, allocations: 252.9 kB / 0.6136 GB, free: 9.949 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002749/0.7995, allocations: 136 kB / 0.6138 GB, free: 9.816 MB / 459.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 () * 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.0003997/0.8, allocations: 338.1 kB / 0.6141 GB, free: 9.477 MB / 459.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002702/0.8002, allocations: 229.4 kB / 0.6143 GB, free: 9.238 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.8004, allocations: 215.5 kB / 0.6145 GB, free: 9.02 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.8008, allocations: 214.5 kB / 0.6147 GB, free: 8.797 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.1e-05/0.8008, allocations: 180.3 kB / 0.6149 GB, free: 8.613 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.702e-05/0.8009, allocations: 184.2 kB / 0.6151 GB, free: 8.426 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.863e-05/0.801, allocations: 176.3 kB / 0.6152 GB, free: 8.246 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.8028, allocations: 1.017 MB / 0.6162 GB, free: 7.184 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.409e-05/0.8029, allocations: 113.1 kB / 0.6163 GB, free: 7.066 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.863e-05/0.8029, allocations: 109 kB / 0.6164 GB, free: 6.953 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.188e-05/0.803, allocations: 184.3 kB / 0.6166 GB, free: 6.766 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.23e-05/0.8031, allocations: 184.2 kB / 0.6168 GB, free: 6.578 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.45e-05/0.8032, allocations: 176.3 kB / 0.617 GB, free: 6.398 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.34e-05/0.8033, allocations: 176.3 kB / 0.6171 GB, free: 6.219 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.8036, allocations: 416.2 kB / 0.6175 GB, free: 5.789 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003877/0.804, allocations: 264.8 kB / 0.6178 GB, free: 5.504 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/0.8043, allocations: 180.2 kB / 0.618 GB, free: 5.32 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/0.8048, allocations: 104.9 kB / 0.6181 GB, free: 5.211 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.339e-05/0.8049, allocations: 184.2 kB / 0.6182 GB, free: 5.023 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/0.8049, allocations: 104.9 kB / 0.6183 GB, free: 4.914 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.001534/0.8065, allocations: 0.7269 MB / 0.619 GB, free: 4.184 MB / 459.1 MB Notification: Performance of sort global known variables: time 4.9e-07/0.8065, allocations: 0 / 0.619 GB, free: 4.184 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.002604/0.8091, allocations: 413.7 kB / 0.6194 GB, free: 3.777 MB / 459.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 () * 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.0007856/0.8099, allocations: 0.9168 MB / 0.6203 GB, free: 2.828 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.002045/0.812, allocations: 0.7619 MB / 0.6211 GB, free: 2.078 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.8121, allocations: 0 / 0.6211 GB, free: 2.078 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-06/0.8121, allocations: 0 / 0.6211 GB, free: 2.078 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00096/0.813, allocations: 0.6214 MB / 0.6217 GB, free: 1.453 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008692/0.8217, allocations: 2.675 MB / 0.6243 GB, free: 14.71 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/0.824, allocations: 1.621 MB / 0.6259 GB, free: 13.06 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/0.8253, allocations: 0.6828 MB / 0.6265 GB, free: 12.38 MB / 475.1 MB Notification: Performance of SimCode: time 1.242e-06/0.8253, allocations: 0 / 0.6265 GB, free: 12.38 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.154/3.98, allocations: 24.38 MB / 0.6504 GB, free: 131.3 MB / 475.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)