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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.0009793/0.0009794, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009011/0.0009013, allocations: 90.62 kB / 261.8 MB, free: 1.676 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.2372/0.2372, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.06e-05/2.063e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1365, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4705/0.607, allocations: 92.52 MB / 0.5564 GB, free: 2.941 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.6073, allocations: 76.78 kB / 0.5564 GB, free: 2.906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0607/0.668, allocations: 26.83 MB / 0.5826 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6681, allocations: 0 / 0.5826 GB, free: 12.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.093e-05/0.6681, allocations: 32 kB / 0.5827 GB, free: 12.08 MB / 394.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.002519/0.6707, allocations: 1.597 MB / 0.5842 GB, free: 10.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.6707, allocations: 8.031 kB / 0.5842 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.6717, allocations: 265.1 kB / 0.5845 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.6731, allocations: 0.8307 MB / 0.5853 GB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.779e-05/0.6732, allocations: 64 kB / 0.5854 GB, free: 9.496 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.6734, allocations: 104 kB / 0.5855 GB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002701/0.6761, allocations: 1.711 MB / 0.5871 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004258/0.6804, allocations: 3.056 MB / 0.5901 GB, free: 5.465 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.81e-05/0.6805, allocations: 19.81 kB / 0.5901 GB, free: 5.445 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.6806, allocations: 12 kB / 0.5902 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003803/0.681, allocations: 333.8 kB / 0.5905 GB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/0.6926, allocations: 14.53 MB / 0.6047 GB, free: 7.484 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.504e-05/0.6927, allocations: 173.1 kB / 0.6048 GB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/0.6928, allocations: 81.38 kB / 0.6049 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.6928, allocations: 79.23 kB / 0.605 GB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.6929, allocations: 105.8 kB / 0.6051 GB, free: 7.031 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.675e-06/0.6929, allocations: 0 / 0.6051 GB, free: 7.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.000235/0.6931, allocations: 131.6 kB / 0.6052 GB, free: 6.898 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.6932, allocations: 55.41 kB / 0.6053 GB, free: 6.832 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.6944, allocations: 1.125 MB / 0.6064 GB, free: 5.973 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.6945, allocations: 25.7 kB / 0.6064 GB, free: 5.941 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008406/0.6953, allocations: 1.382 MB / 0.6077 GB, free: 4.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.6953, allocations: 46.39 kB / 0.6078 GB, free: 4.703 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.6954, allocations: 3.938 kB / 0.6078 GB, free: 4.699 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.6956, allocations: 421.9 kB / 0.6082 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.696, allocations: 309.3 kB / 0.6085 GB, free: 4.105 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.6974, allocations: 1.856 MB / 0.6103 GB, free: 1.609 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008054/0.6983, allocations: 0.7232 MB / 0.611 GB, free: 1.039 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.286e-05/0.6983, allocations: 16 kB / 0.611 GB, free: 1.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002465/0.7008, allocations: 1.722 MB / 0.6127 GB, free: 15.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.7008, allocations: 32.19 kB / 0.6127 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.206e-05/0.7009, allocations: 63.95 kB / 0.6128 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-05/0.701, allocations: 80 kB / 0.6129 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.7021, allocations: 494.9 kB / 0.6133 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-05/0.7021, allocations: 107.6 kB / 0.6134 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.7033, allocations: 256.8 kB / 0.6137 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.7035, allocations: 136.9 kB / 0.6138 GB, free: 14.39 MB / 426.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 () * 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.0002509/0.7037, allocations: 336.5 kB / 0.6141 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001574/0.7039, allocations: 229.4 kB / 0.6144 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.704, allocations: 215.2 kB / 0.6146 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.7042, allocations: 205.7 kB / 0.6148 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-05/0.7043, allocations: 179.1 kB / 0.6149 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.811e-05/0.7044, allocations: 188.2 kB / 0.6151 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.706e-05/0.7044, allocations: 180.2 kB / 0.6153 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.7057, allocations: 1.016 MB / 0.6163 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.494e-05/0.7057, allocations: 109.1 kB / 0.6164 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.824e-05/0.7058, allocations: 105 kB / 0.6165 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.499e-05/0.7059, allocations: 180.3 kB / 0.6166 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/0.7059, allocations: 188.2 kB / 0.6168 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.747e-05/0.706, allocations: 180.2 kB / 0.617 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.974e-05/0.7061, allocations: 176.3 kB / 0.6172 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.7063, allocations: 411.9 kB / 0.6176 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.7065, allocations: 276.1 kB / 0.6178 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.7067, allocations: 184.2 kB / 0.618 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.7069, allocations: 104.9 kB / 0.6181 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/0.707, allocations: 176.3 kB / 0.6183 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.7071, allocations: 108.9 kB / 0.6184 GB, free: 9.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008848/0.7079, allocations: 0.7209 MB / 0.6191 GB, free: 9.199 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.708, allocations: 4 kB / 0.6191 GB, free: 9.195 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001556/0.7095, allocations: 413.7 kB / 0.6195 GB, free: 8.789 MB / 426.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 () * 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.0005011/0.71, allocations: 0.9087 MB / 0.6204 GB, free: 7.852 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.7111, allocations: 0.7746 MB / 0.6211 GB, free: 7.125 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7111, allocations: 0 / 0.6211 GB, free: 7.125 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-06/0.7111, allocations: 0 / 0.6211 GB, free: 7.125 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.7117, allocations: 0.6174 MB / 0.6217 GB, free: 6.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004747/0.7165, allocations: 2.49 MB / 0.6242 GB, free: 3.953 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.7178, allocations: 1.618 MB / 0.6257 GB, free: 2.301 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001135/0.719, allocations: 457.6 kB / 0.6262 GB, free: 1.852 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006694/0.7197, allocations: 0.6672 MB / 0.6268 GB, free: 1.184 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/0.7197, allocations: 4 kB / 0.6268 GB, free: 1.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04701/0.7667, allocations: 18.66 MB / 0.645 GB, free: 14.54 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.767, allocations: 135.2 kB / 0.6452 GB, free: 14.35 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/3.065, allocations: 3.938 kB / 0.6452 GB, free: 14.34 MB / 458.7 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)