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.001186/0.001186, allocations: 183.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009307/0.0009306, allocations: 86.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.226/0.226, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003413, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1349, allocations: 58.85 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4489/0.5839, allocations: 93.28 MB / 0.5699 GB, free: 6.547 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.5842, allocations: 76.09 kB / 0.57 GB, free: 6.508 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06558/0.6498, allocations: 27.58 MB / 0.5969 GB, free: 14.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.6499, allocations: 0 / 0.5969 GB, free: 14.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.088e-05/0.6499, allocations: 35.98 kB / 0.597 GB, free: 14.55 MB / 410.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.004208/0.6541, allocations: 1.662 MB / 0.5986 GB, free: 12.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.324e-05/0.6543, allocations: 16.02 kB / 0.5986 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009451/0.6552, allocations: 351.7 kB / 0.599 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.6564, allocations: 261.2 kB / 0.5992 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.6587, allocations: 0.8423 MB / 0.6 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.6588, allocations: 144.8 kB / 0.6002 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002503/0.6591, allocations: 189 kB / 0.6003 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005395/0.6645, allocations: 3.375 MB / 0.6036 GB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.738e-05/0.6646, allocations: 19.81 kB / 0.6037 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/0.6648, allocations: 89.58 kB / 0.6037 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004488/0.6653, allocations: 327.7 kB / 0.6041 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003682/0.669, allocations: 1.868 MB / 0.6059 GB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01542/0.6844, allocations: 15.22 MB / 0.6207 GB, free: 8.754 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.6846, allocations: 169.1 kB / 0.6209 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.6846, allocations: 79.22 kB / 0.621 GB, free: 8.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/0.6847, allocations: 109.6 kB / 0.6211 GB, free: 8.387 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 3.206e-06/0.6847, allocations: 0 / 0.6211 GB, free: 8.387 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.000295/0.685, allocations: 156.1 kB / 0.6212 GB, free: 8.227 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.6851, allocations: 126.7 kB / 0.6214 GB, free: 8.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.6868, allocations: 1.469 MB / 0.6228 GB, free: 6.961 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.6869, allocations: 25.7 kB / 0.6228 GB, free: 6.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009141/0.6878, allocations: 1.364 MB / 0.6241 GB, free: 5.758 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.6878, allocations: 44.39 kB / 0.6242 GB, free: 5.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.6879, allocations: 39.31 kB / 0.6242 GB, free: 5.723 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.6881, allocations: 444.6 kB / 0.6247 GB, free: 5.332 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/0.6886, allocations: 369.8 kB / 0.625 GB, free: 5.059 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.6902, allocations: 1.912 MB / 0.6269 GB, free: 2.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009206/0.6911, allocations: 0.771 MB / 0.6276 GB, free: 1.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.116e-05/0.6912, allocations: 16 kB / 0.6276 GB, free: 1.914 MB / 426.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003135/0.6943, allocations: 2.108 MB / 0.6297 GB, free: 15.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.978e-05/0.6944, allocations: 31.94 kB / 0.6297 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.462e-05/0.6944, allocations: 56 kB / 0.6298 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.841e-05/0.6945, allocations: 87.98 kB / 0.6299 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.6957, allocations: 483.1 kB / 0.6303 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.188e-05/0.6957, allocations: 111.5 kB / 0.6304 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.6972, allocations: 320.5 kB / 0.6307 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.6973, allocations: 136 kB / 0.6309 GB, free: 14.64 MB / 442.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.001708/0.699, allocations: 0.8629 MB / 0.6317 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/0.6993, allocations: 227.3 kB / 0.6319 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003189/0.6996, allocations: 232.3 kB / 0.6321 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001042/0.6998, allocations: 184.2 kB / 0.6323 GB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001073/0.6999, allocations: 188.2 kB / 0.6325 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.782e-05/0.7, allocations: 176.3 kB / 0.6327 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.7023, allocations: 1.477 MB / 0.6341 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.45e-05/0.7024, allocations: 108.9 kB / 0.6342 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-05/0.7025, allocations: 105 kB / 0.6343 GB, free: 10.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001246/0.7026, allocations: 184.4 kB / 0.6345 GB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/0.7027, allocations: 184.2 kB / 0.6347 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001207/0.7029, allocations: 184.2 kB / 0.6348 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001396/0.703, allocations: 184.2 kB / 0.635 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/0.7034, allocations: 429.3 kB / 0.6354 GB, free: 9.773 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004326/0.7039, allocations: 296.5 kB / 0.6357 GB, free: 9.457 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/0.7041, allocations: 180.3 kB / 0.6359 GB, free: 9.273 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.7044, allocations: 116.9 kB / 0.636 GB, free: 9.152 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.907e-05/0.7045, allocations: 176.3 kB / 0.6362 GB, free: 8.973 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-05/0.7045, allocations: 108.9 kB / 0.6363 GB, free: 8.859 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001276/0.7058, allocations: 1.01 MB / 0.6373 GB, free: 7.852 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7058, allocations: 0 / 0.6373 GB, free: 7.852 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001851/0.7077, allocations: 430.2 kB / 0.6377 GB, free: 7.43 MB / 442.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.000726/0.7084, allocations: 0.9322 MB / 0.6386 GB, free: 6.469 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.7101, allocations: 0.8992 MB / 0.6395 GB, free: 5.582 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.7101, allocations: 0 / 0.6395 GB, free: 5.582 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.905e-06/0.7101, allocations: 0 / 0.6395 GB, free: 5.582 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008079/0.7109, allocations: 0.6494 MB / 0.6401 GB, free: 4.926 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02846/0.7394, allocations: 48.5 MB / 0.6875 GB, free: 2.934 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.7409, allocations: 1.619 MB / 0.689 GB, free: 1.281 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001314/0.7422, allocations: 495.1 kB / 0.6895 GB, free: 0.793 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006942/0.7429, allocations: 0.6594 MB / 0.6901 GB, free: 136 kB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/0.743, allocations: 4 kB / 0.6902 GB, free: 132 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2965/1.039, allocations: 22.24 MB / 0.7119 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/1.04, allocations: 171.6 kB / 0.712 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/3.713, allocations: 0 / 0.712 GB, free: 159.3 MB / 0.4948 GB (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)