Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009277/0.0009278, allocations: 100 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2025/0.2025, allocations: 45.15 MB / 383.8 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.698e-05/1.69e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1047, allocations: 63.24 MB / 0.5044 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4392/0.544, allocations: 95.64 MB / 0.5978 GB, free: 6.723 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.5443, allocations: 78.39 kB / 0.5979 GB, free: 6.684 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0912/0.6355, allocations: 35.06 MB / 0.6322 GB, free: 8.562 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6356, allocations: 0 / 0.6322 GB, free: 8.562 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001087/0.6357, allocations: 43.92 kB / 0.6322 GB, free: 8.52 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: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.004566/0.6403, allocations: 1.675 MB / 0.6338 GB, free: 6.922 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.6403, allocations: 8.031 kB / 0.6338 GB, free: 6.914 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007242/0.6476, allocations: 1.647 MB / 0.6355 GB, free: 5.262 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/0.6503, allocations: 1.026 MB / 0.6365 GB, free: 4.395 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.6504, allocations: 56 kB / 0.6365 GB, free: 4.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007815/0.6512, allocations: 96 kB / 0.6366 GB, free: 4.246 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004872/0.6561, allocations: 2.783 MB / 0.6393 GB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008564/0.6647, allocations: 4.671 MB / 0.6439 GB, free: 14.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.31e-05/0.6648, allocations: 27.75 kB / 0.6439 GB, free: 14.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005636/0.6654, allocations: 23.95 kB / 0.6439 GB, free: 14.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007622/0.6661, allocations: 0.5114 MB / 0.6444 GB, free: 13.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0251/0.6913, allocations: 23.56 MB / 0.6674 GB, free: 6.641 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.6928, allocations: 1.151 MB / 0.6686 GB, free: 5.352 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004662/0.6933, allocations: 328.2 kB / 0.6689 GB, free: 5.023 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.6933, allocations: 8 kB / 0.6689 GB, free: 5.016 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.6934, allocations: 38.56 kB / 0.6689 GB, free: 4.969 MB / 458.7 MB Notification: Performance of pre-optimization done (n=60): time 2.555e-06/0.6934, allocations: 0 / 0.6689 GB, free: 4.969 MB / 458.7 MB Notification: Performance of matching and sorting (n=60): time 0.001415/0.6948, allocations: 0.7242 MB / 0.6696 GB, free: 4.238 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.95e-05/0.6949, allocations: 106.8 kB / 0.6697 GB, free: 4.109 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003454/0.6984, allocations: 1.703 MB / 0.6714 GB, free: 2.406 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.6984, allocations: 33.7 kB / 0.6714 GB, free: 2.367 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001555/0.7, allocations: 1.675 MB / 0.6731 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/0.7003, allocations: 261 kB / 0.6733 GB, free: 416 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.7006, allocations: 0 / 0.6733 GB, free: 416 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004123/0.701, allocations: 498.3 kB / 0.6738 GB, free: 15.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.7025, allocations: 0.8268 MB / 0.6746 GB, free: 15.08 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003224/0.7057, allocations: 3.207 MB / 0.6777 GB, free: 10.67 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/0.7083, allocations: 1.68 MB / 0.6794 GB, free: 8.992 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-05/0.7084, allocations: 24 kB / 0.6794 GB, free: 8.969 MB / 474.7 MB Notification: Performance of matching and sorting (n=455) (initialization): time 0.006152/0.7146, allocations: 3.433 MB / 0.6827 GB, free: 5.531 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.167e-05/0.7147, allocations: 41.72 kB / 0.6828 GB, free: 5.492 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/0.7148, allocations: 92 kB / 0.6829 GB, free: 5.402 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/0.715, allocations: 124 kB / 0.683 GB, free: 5.281 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00222/0.7172, allocations: 0.7836 MB / 0.6838 GB, free: 4.496 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000146/0.7174, allocations: 171.3 kB / 0.6839 GB, free: 4.328 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/0.7198, allocations: 426.9 kB / 0.6843 GB, free: 3.906 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003121/0.7201, allocations: 224 kB / 0.6845 GB, free: 3.688 MB / 474.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.0004012/0.7205, allocations: 307 kB / 0.6848 GB, free: 3.379 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001043/0.7216, allocations: 0.7217 MB / 0.6855 GB, free: 2.648 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.7218, allocations: 150 kB / 0.6857 GB, free: 2.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.7221, allocations: 186.5 kB / 0.6859 GB, free: 2.316 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.7221, allocations: 11.98 kB / 0.6859 GB, free: 2.305 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.7221, allocations: 0 / 0.6859 GB, free: 2.305 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.7221, allocations: 3.984 kB / 0.6859 GB, free: 2.301 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/0.725, allocations: 1.65 MB / 0.6875 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.725, allocations: 4 kB / 0.6875 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.7253, allocations: 63.89 kB / 0.6875 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.7253, allocations: 4 kB / 0.6875 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.7253, allocations: 0 / 0.6875 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-05/0.7254, allocations: 4 kB / 0.6876 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7254, allocations: 0 / 0.6876 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.7264, allocations: 1.019 MB / 0.6885 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.7268, allocations: 222.9 kB / 0.6888 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.7269, allocations: 7.953 kB / 0.6888 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/0.7274, allocations: 23.91 kB / 0.6888 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.7274, allocations: 28.44 kB / 0.6888 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/0.7275, allocations: 12 kB / 0.6888 GB, free: 15.17 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001495/0.729, allocations: 1.122 MB / 0.6899 GB, free: 14.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.729, allocations: 3.938 kB / 0.6899 GB, free: 14.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002464/0.7315, allocations: 462.5 kB / 0.6904 GB, free: 13.6 MB / 490.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.001593/0.7331, allocations: 1.75 MB / 0.6921 GB, free: 11.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003001/0.7361, allocations: 1.9 MB / 0.6939 GB, free: 9.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7361, allocations: 320 / 0.6939 GB, free: 9.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.7365, allocations: 323.8 kB / 0.6942 GB, free: 9.613 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000754/0.7373, allocations: 139.2 kB / 0.6944 GB, free: 9.477 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008835/0.7461, allocations: 3.52 MB / 0.6978 GB, free: 5.895 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00237/0.7485, allocations: 1.829 MB / 0.6996 GB, free: 4.031 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002911/0.7515, allocations: 1.148 MB / 0.7007 GB, free: 2.879 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/0.7526, allocations: 0.7297 MB / 0.7014 GB, free: 2.152 MB / 490.7 MB Notification: Performance of SimCode: time 1.502e-06/0.7527, allocations: 0 / 0.7014 GB, free: 2.152 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07093/0.8236, allocations: 30.43 MB / 0.7311 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.8239, allocations: 151.6 kB / 0.7313 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.826/3.65, allocations: 0 / 0.7313 GB, free: 3.621 MB / 0.5105 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat does not exist to compare? outputFormat=mat