Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",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.001354/0.001354, allocations: 177.8 kB / 8.004 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.713/1.713, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0009046/0.0009048, allocations: 90.62 kB / 261.7 MB, free: 1.684 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.2207/0.2207, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.665e-05/1.668e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1331, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4559/0.589, allocations: 93.18 MB / 0.557 GB, free: 1.977 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.5893, allocations: 81.42 kB / 0.5571 GB, free: 1.938 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08843/0.6777, allocations: 34.39 MB / 0.5907 GB, free: 4.441 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6778, allocations: 0 / 0.5907 GB, free: 4.441 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.094e-05/0.6778, allocations: 32 kB / 0.5907 GB, free: 4.41 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: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.003004/0.6809, allocations: 1.657 MB / 0.5923 GB, free: 2.828 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.6809, allocations: 8.031 kB / 0.5923 GB, free: 2.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006786/0.6877, allocations: 1.654 MB / 0.594 GB, free: 1.164 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002986/0.6907, allocations: 1.04 MB / 0.595 GB, free: 292 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.988e-05/0.6909, allocations: 56 kB / 0.595 GB, free: 236 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005151/0.6914, allocations: 100 kB / 0.5951 GB, free: 136 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004708/0.6961, allocations: 2.784 MB / 0.5978 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007955/0.7041, allocations: 4.67 MB / 0.6024 GB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.628e-05/0.7043, allocations: 31.75 kB / 0.6024 GB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002719/0.7045, allocations: 16 kB / 0.6024 GB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007455/0.7053, allocations: 0.5178 MB / 0.603 GB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02399/0.7293, allocations: 23.55 MB / 0.626 GB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.7307, allocations: 1.155 MB / 0.6271 GB, free: 1.285 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.7311, allocations: 327.8 kB / 0.6274 GB, free: 0.957 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.7311, allocations: 4 kB / 0.6274 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.7311, allocations: 42.55 kB / 0.6274 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of pre-optimization done (n=60): time 3.937e-06/0.7312, allocations: 0 / 0.6274 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of matching and sorting (n=60): time 0.001233/0.7324, allocations: 0.7267 MB / 0.6281 GB, free: 176 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.7325, allocations: 106.8 kB / 0.6282 GB, free: 44 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.7347, allocations: 1.719 MB / 0.6299 GB, free: 14.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.7347, allocations: 25.7 kB / 0.63 GB, free: 14.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.7358, allocations: 1.667 MB / 0.6316 GB, free: 12.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.736, allocations: 261.2 kB / 0.6318 GB, free: 12.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.341e-05/0.7361, allocations: 0 / 0.6318 GB, free: 12.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002698/0.7364, allocations: 494.3 kB / 0.6323 GB, free: 11.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.7375, allocations: 0.8385 MB / 0.6331 GB, free: 11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002599/0.7401, allocations: 3.199 MB / 0.6362 GB, free: 6.602 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.7422, allocations: 1.67 MB / 0.6379 GB, free: 4.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.588e-05/0.7422, allocations: 24 kB / 0.6379 GB, free: 4.906 MB / 442.7 MB Notification: Performance of matching and sorting (n=455) (initialization): time 0.005265/0.7475, allocations: 3.434 MB / 0.6413 GB, free: 1.469 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.095e-05/0.7476, allocations: 47.98 kB / 0.6413 GB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.925e-05/0.7477, allocations: 84 kB / 0.6414 GB, free: 1.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001198/0.7478, allocations: 124 kB / 0.6415 GB, free: 1.219 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/0.7499, allocations: 0.7876 MB / 0.6423 GB, free: 440 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001217/0.7501, allocations: 167.9 kB / 0.6424 GB, free: 272 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.7524, allocations: 423 kB / 0.6428 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003007/0.7527, allocations: 228 kB / 0.643 GB, free: 15.62 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * Number of states: 0 () * Number of discrete variables: 12 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (431): * Single equations (assignments): 428 * Array equations: 3 * 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.0003853/0.7531, allocations: 306.9 kB / 0.6433 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001094/0.7542, allocations: 0.732 MB / 0.6441 GB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.7544, allocations: 154 kB / 0.6442 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.7547, allocations: 178.6 kB / 0.6444 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.7548, allocations: 8 kB / 0.6444 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.7548, allocations: 8 kB / 0.6444 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.7548, allocations: 4 kB / 0.6444 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/0.7576, allocations: 1.646 MB / 0.646 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.7576, allocations: 0 / 0.646 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.7579, allocations: 55.91 kB / 0.646 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.7579, allocations: 4 kB / 0.6461 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.758, allocations: 8 kB / 0.6461 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.758, allocations: 4 kB / 0.6461 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.758, allocations: 7.984 kB / 0.6461 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.759, allocations: 1.01 MB / 0.6471 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.7593, allocations: 222.9 kB / 0.6473 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.7594, allocations: 8 kB / 0.6473 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/0.7599, allocations: 23.92 kB / 0.6473 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.76, allocations: 19.97 kB / 0.6473 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.76, allocations: 16 kB / 0.6473 GB, free: 11.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001436/0.7615, allocations: 1.121 MB / 0.6484 GB, free: 10 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.7615, allocations: 0 / 0.6484 GB, free: 10 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002444/0.7639, allocations: 466.4 kB / 0.6489 GB, free: 9.543 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * Array equations: 3 * 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.001528/0.7655, allocations: 1.754 MB / 0.6506 GB, free: 7.75 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002838/0.7683, allocations: 1.899 MB / 0.6524 GB, free: 5.867 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7683, allocations: 0 / 0.6524 GB, free: 5.867 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000363/0.7687, allocations: 320.1 kB / 0.6527 GB, free: 5.555 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007044/0.7694, allocations: 140.4 kB / 0.6529 GB, free: 5.418 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007722/0.7772, allocations: 3.53 MB / 0.6563 GB, free: 1.828 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/0.7789, allocations: 1.829 MB / 0.6581 GB, free: 15.97 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002639/0.7815, allocations: 1.148 MB / 0.6592 GB, free: 14.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008762/0.7824, allocations: 0.7297 MB / 0.6599 GB, free: 14.09 MB / 474.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7824, allocations: 0 / 0.6599 GB, free: 14.09 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06146/0.8439, allocations: 30.34 MB / 0.6896 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.8441, allocations: 158.1 kB / 0.6897 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.775/3.619, allocations: 4 kB / 0.6897 GB, free: 15.56 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)