Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",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.001434/0.001434, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.203/2.203, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 91.5 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2975/0.2975, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.896e-05, allocations: 224 / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4459, allocations: 58.85 MB / 477.2 MB, free: 5.285 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.6213, allocations: 94.2 MB / 0.558 GB, free: 5.094 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.6216, allocations: 71.97 kB / 0.5581 GB, free: 5.023 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7587/1.38, allocations: 89.23 MB / 0.6452 GB, free: 99.1 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.676e-06/1.38, allocations: 3.75 kB / 0.6452 GB, free: 99.1 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004072/1.381, allocations: 98.55 kB / 0.6453 GB, free: 99.09 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.1226/1.503, allocations: 9.664 MB / 0.6547 GB, free: 97.27 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/1.503, allocations: 9.594 kB / 0.6547 GB, free: 97.27 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01627/1.52, allocations: 2.08 MB / 0.6568 GB, free: 96.94 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01353/1.533, allocations: 3.406 MB / 0.6601 GB, free: 96.33 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003345/1.534, allocations: 147.6 kB / 0.6602 GB, free: 96.33 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003917/1.538, allocations: 286.2 kB / 0.6605 GB, free: 96.32 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02616/1.564, allocations: 9.679 MB / 0.67 GB, free: 96.29 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03507/1.599, allocations: 13.18 MB / 0.6828 GB, free: 93.66 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003366/1.599, allocations: 64.23 kB / 0.6829 GB, free: 93.66 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00275/1.602, allocations: 32.52 kB / 0.6829 GB, free: 93.66 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0042/1.606, allocations: 1.113 MB / 0.684 GB, free: 93.64 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1041/1.71, allocations: 53.47 MB / 0.7362 GB, free: 56.61 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/1.724, allocations: 6.569 MB / 0.7426 GB, free: 53.88 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005997/1.73, allocations: 2.758 MB / 0.7453 GB, free: 52.32 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0134/1.743, allocations: 6.429 MB / 0.7516 GB, free: 46.19 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/1.743, allocations: 55.25 kB / 0.7517 GB, free: 46.13 MB / 475.1 MB Notification: Performance of pre-optimization done (n=176): time 5.15e-06/1.743, allocations: 3.188 kB / 0.7517 GB, free: 46.13 MB / 475.1 MB Notification: Performance of matching and sorting (n=176): time 0.006452/1.75, allocations: 2.592 MB / 0.7542 GB, free: 43.91 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/1.75, allocations: 149.8 kB / 0.7543 GB, free: 43.73 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009345/1.759, allocations: 3.741 MB / 0.758 GB, free: 40.21 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003751/1.76, allocations: 29.7 kB / 0.758 GB, free: 40.17 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00303/1.763, allocations: 3.561 MB / 0.7615 GB, free: 36.56 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001225/1.764, allocations: 0.7137 MB / 0.7622 GB, free: 35.84 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008061/1.765, allocations: 2.438 kB / 0.7622 GB, free: 35.84 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0004932/1.765, allocations: 0.6001 MB / 0.7628 GB, free: 35.23 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004998/1.77, allocations: 2.067 MB / 0.7648 GB, free: 33.16 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007917/1.778, allocations: 6.44 MB / 0.7711 GB, free: 24.51 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007892/1.786, allocations: 3.627 MB / 0.7746 GB, free: 20.89 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001604/1.786, allocations: 48 kB / 0.7747 GB, free: 20.84 MB / 475.1 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.01985/1.806, allocations: 7.465 MB / 0.782 GB, free: 13.38 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/1.807, allocations: 72 kB / 0.782 GB, free: 13.31 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002203/1.807, allocations: 163.9 kB / 0.7822 GB, free: 13.15 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002596/1.807, allocations: 232 kB / 0.7824 GB, free: 12.93 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01055/1.818, allocations: 1.665 MB / 0.784 GB, free: 11.26 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002893/1.818, allocations: 306.8 kB / 0.7843 GB, free: 10.96 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008787/1.827, allocations: 0.7758 MB / 0.7851 GB, free: 10.17 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001679/1.828, allocations: 453.2 kB / 0.7855 GB, free: 9.73 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (873): * Single equations (assignments): 870 * 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.002177/1.831, allocations: 0.4904 MB / 0.786 GB, free: 9.234 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006413/1.837, allocations: 2.589 MB / 0.7885 GB, free: 6.633 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/1.838, allocations: 375.1 kB / 0.7889 GB, free: 6.262 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006159/1.844, allocations: 2.389 MB / 0.7912 GB, free: 3.863 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.915e-05/1.845, allocations: 26.48 kB / 0.7913 GB, free: 3.84 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/1.845, allocations: 3.625 kB / 0.7913 GB, free: 3.84 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.102e-05/1.845, allocations: 15.97 kB / 0.7913 GB, free: 3.824 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009458/1.854, allocations: 3.206 MB / 0.7944 GB, free: 0.6094 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-05/1.854, allocations: 4 kB / 0.7944 GB, free: 0.6055 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003811/1.858, allocations: 343.5 kB / 0.7947 GB, free: 276 kB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.603e-05/1.858, allocations: 8 kB / 0.7947 GB, free: 268 kB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003066/1.858, allocations: 15.98 kB / 0.7948 GB, free: 252 kB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/1.858, allocations: 8 kB / 0.7948 GB, free: 244 kB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.858, allocations: 0 / 0.7948 GB, free: 244 kB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/1.869, allocations: 4.699 MB / 0.7994 GB, free: 11.48 MB / 491.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/1.871, allocations: 463.7 kB / 0.7998 GB, free: 11.01 MB / 491.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001323/1.872, allocations: 4 kB / 0.7998 GB, free: 11 MB / 491.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003131/1.876, allocations: 39.94 kB / 0.7998 GB, free: 10.96 MB / 491.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004757/1.876, allocations: 97.17 kB / 0.7999 GB, free: 10.87 MB / 491.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/1.876, allocations: 48 kB / 0.8 GB, free: 10.82 MB / 491.1 MB Notification: Performance of sorting global known variables: time 0.007318/1.884, allocations: 2.507 MB / 0.8024 GB, free: 8.312 MB / 491.1 MB Notification: Performance of sort global known variables: time 6.61e-07/1.884, allocations: 0 / 0.8024 GB, free: 8.312 MB / 491.1 MB Notification: Performance of remove unused functions: time 0.008729/1.892, allocations: 1.226 MB / 0.8036 GB, free: 7.082 MB / 491.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 169 * 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.01192/1.904, allocations: 5.487 MB / 0.809 GB, free: 1.547 MB / 491.1 MB Notification: Performance of simCode: created initialization part: time 0.01205/1.916, allocations: 4.668 MB / 0.8135 GB, free: 12.91 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.916, allocations: 0.9375 kB / 0.8135 GB, free: 12.91 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.003042/1.92, allocations: 1.223 MB / 0.8147 GB, free: 11.69 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003558/1.923, allocations: 383.3 kB / 0.8151 GB, free: 11.32 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03761/1.961, allocations: 10.59 MB / 0.8254 GB, free: 0.7617 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.359/2.32, allocations: 3.685 MB / 0.829 GB, free: 114.3 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006412/2.326, allocations: 2.24 MB / 0.8312 GB, free: 114.3 MB / 0.4952 GB Notification: Performance of SimCode: time 2.084e-06/2.326, allocations: 0.5938 kB / 0.8312 GB, free: 114.3 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.307/6.634, allocations: 90.39 MB / 0.9195 GB, free: 80.46 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_InitializationConversion_Rotor1D_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_InitializationConversion_Rotor1D.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat