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.001507/0.001507, allocations: 185.4 kB / 16.41 MB, free: 5.727 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.053/2.053, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001131/0.001131, allocations: 100.5 kB / 270.9 MB, free: 8.395 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.5581/0.5581, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.0004728, allocations: 16 kB / 431.5 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1331, allocations: 58.85 MB / 490.3 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.478/0.6112, allocations: 93.27 MB / 0.5699 GB, free: 9.125 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.6116, allocations: 79.97 kB / 0.57 GB, free: 9.047 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1146/0.7262, allocations: 27.58 MB / 0.5969 GB, free: 13.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.7262, allocations: 0 / 0.5969 GB, free: 13.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.421e-05/0.7263, allocations: 32 kB / 0.597 GB, free: 13.27 MB / 426.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.005041/0.7314, allocations: 1.671 MB / 0.5986 GB, free: 11.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/0.7315, allocations: 16.02 kB / 0.5986 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001158/0.7326, allocations: 342.4 kB / 0.5989 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.7341, allocations: 272.6 kB / 0.5992 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002866/0.737, allocations: 0.8426 MB / 0.6 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/0.7372, allocations: 143.8 kB / 0.6001 GB, free: 9.898 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006133/0.7378, allocations: 184 kB / 0.6003 GB, free: 9.719 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008519/0.7464, allocations: 3.368 MB / 0.6036 GB, free: 5.957 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/0.7465, allocations: 23.75 kB / 0.6036 GB, free: 5.934 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000306/0.7469, allocations: 91.95 kB / 0.6037 GB, free: 5.844 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000647/0.7475, allocations: 329.1 kB / 0.604 GB, free: 5.523 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005422/0.7529, allocations: 1.865 MB / 0.6059 GB, free: 3.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02004/0.773, allocations: 15.22 MB / 0.6207 GB, free: 3.945 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.7732, allocations: 181 kB / 0.6209 GB, free: 3.758 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.7733, allocations: 75.28 kB / 0.621 GB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.501e-05/0.7733, allocations: 109.8 kB / 0.6211 GB, free: 3.566 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 2.495e-06/0.7733, allocations: 0 / 0.6211 GB, free: 3.566 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 0.000336/0.7737, allocations: 148.1 kB / 0.6212 GB, free: 3.414 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.7738, allocations: 130.7 kB / 0.6213 GB, free: 3.273 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003069/0.7769, allocations: 1.468 MB / 0.6228 GB, free: 1.801 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.7769, allocations: 25.7 kB / 0.6228 GB, free: 1.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001269/0.7782, allocations: 1.377 MB / 0.6241 GB, free: 380 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.287e-05/0.7783, allocations: 47.95 kB / 0.6242 GB, free: 332 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.7784, allocations: 40 kB / 0.6242 GB, free: 292 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002818/0.7787, allocations: 394.8 kB / 0.6246 GB, free: 15.89 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008894/0.7796, allocations: 367.8 kB / 0.6249 GB, free: 15.53 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/0.7819, allocations: 1.913 MB / 0.6268 GB, free: 12.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/0.7838, allocations: 0.7724 MB / 0.6276 GB, free: 12.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.832e-05/0.7838, allocations: 20 kB / 0.6276 GB, free: 12 MB / 458.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005138/0.789, allocations: 2.053 MB / 0.6296 GB, free: 9.945 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.996e-05/0.7891, allocations: 32.25 kB / 0.6296 GB, free: 9.914 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-05/0.7892, allocations: 56 kB / 0.6297 GB, free: 9.859 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/0.7893, allocations: 84 kB / 0.6298 GB, free: 9.777 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/0.7917, allocations: 487 kB / 0.6302 GB, free: 9.301 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001293/0.7918, allocations: 115.5 kB / 0.6303 GB, free: 9.188 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.794, allocations: 316.5 kB / 0.6306 GB, free: 8.875 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003069/0.7943, allocations: 136 kB / 0.6308 GB, free: 8.742 MB / 458.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.001789/0.7961, allocations: 0.8667 MB / 0.6316 GB, free: 7.863 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003243/0.7964, allocations: 231.3 kB / 0.6318 GB, free: 7.629 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.7968, allocations: 232.3 kB / 0.6321 GB, free: 7.383 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.339e-05/0.7969, allocations: 176.3 kB / 0.6322 GB, free: 7.203 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-05/0.797, allocations: 184.2 kB / 0.6324 GB, free: 7.016 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.978e-05/0.797, allocations: 180.3 kB / 0.6326 GB, free: 6.832 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.7997, allocations: 1.485 MB / 0.634 GB, free: 5.289 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.796e-05/0.7998, allocations: 105 kB / 0.6341 GB, free: 5.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-05/0.7999, allocations: 109 kB / 0.6342 GB, free: 5.066 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.962e-05/0.8, allocations: 180.4 kB / 0.6344 GB, free: 4.883 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.214e-05/0.8001, allocations: 188.2 kB / 0.6346 GB, free: 4.691 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-05/0.8002, allocations: 192.1 kB / 0.6348 GB, free: 4.496 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-05/0.8003, allocations: 180.2 kB / 0.6349 GB, free: 4.312 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.8007, allocations: 425.3 kB / 0.6353 GB, free: 3.871 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005035/0.8012, allocations: 300.5 kB / 0.6356 GB, free: 3.551 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/0.8015, allocations: 184.2 kB / 0.6358 GB, free: 3.363 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004783/0.8019, allocations: 104.9 kB / 0.6359 GB, free: 3.254 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/0.802, allocations: 184.2 kB / 0.6361 GB, free: 3.066 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/0.8021, allocations: 108.9 kB / 0.6362 GB, free: 2.953 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002275/0.8044, allocations: 1.003 MB / 0.6372 GB, free: 1.953 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8044, allocations: 0 / 0.6372 GB, free: 1.953 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002402/0.8068, allocations: 442.1 kB / 0.6376 GB, free: 1.52 MB / 458.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.0007512/0.8076, allocations: 0.9322 MB / 0.6385 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002286/0.8099, allocations: 0.8958 MB / 0.6394 GB, free: 15.68 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.8099, allocations: 0 / 0.6394 GB, free: 15.68 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.81, allocations: 0 / 0.6394 GB, free: 15.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.8111, allocations: 0.6459 MB / 0.64 GB, free: 15.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3632/1.174, allocations: 48.68 MB / 0.6875 GB, free: 142.5 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002118/1.176, allocations: 1.618 MB / 0.6891 GB, free: 141.8 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/1.178, allocations: 0.6822 MB / 0.6898 GB, free: 141.8 MB / 0.4949 GB Notification: Performance of SimCode: time 1.563e-06/1.178, allocations: 0 / 0.6898 GB, free: 141.8 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.909/4.087, allocations: 26.36 MB / 0.7155 GB, free: 140 MB / 0.4949 GB (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)