Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 175.8 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008945/0.0008945, allocations: 99.91 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4357/0.4357, allocations: 44.23 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003474, allocations: 8 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4137, allocations: 61.89 MB / 0.5096 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.5528, allocations: 96.36 MB / 0.6037 GB, free: 14.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.5531, allocations: 83.92 kB / 0.6038 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5769/1.13, allocations: 92.08 MB / 0.6937 GB, free: 87.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.055e-06/1.13, allocations: 2.938 kB / 0.6937 GB, free: 87.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003109/1.13, allocations: 94.88 kB / 0.6938 GB, free: 87.87 MB / 490.7 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.06304/1.193, allocations: 9.985 MB / 0.7036 GB, free: 85.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/1.194, allocations: 9.125 kB / 0.7036 GB, free: 85.77 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005021/1.199, allocations: 0.8442 MB / 0.7044 GB, free: 85.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/1.21, allocations: 2.076 MB / 0.7064 GB, free: 85.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01267/1.222, allocations: 3.42 MB / 0.7098 GB, free: 84.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005336/1.223, allocations: 355.7 kB / 0.7101 GB, free: 84.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004103/1.227, allocations: 482 kB / 0.7106 GB, free: 84.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04854/1.276, allocations: 15.43 MB / 0.7256 GB, free: 81.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003974/1.276, allocations: 62.56 kB / 0.7257 GB, free: 81.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003347/1.279, allocations: 224 kB / 0.7259 GB, free: 81.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002703/1.282, allocations: 1.113 MB / 0.727 GB, free: 81.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03607/1.318, allocations: 15.36 MB / 0.742 GB, free: 77.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07449/1.393, allocations: 55.64 MB / 0.7963 GB, free: 38.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04021/1.433, allocations: 7.236 MB / 0.8034 GB, free: 32.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0101/1.443, allocations: 6.565 MB / 0.8098 GB, free: 25.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/1.443, allocations: 59.48 kB / 0.8099 GB, free: 25.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 5.53e-06/1.443, allocations: 0 / 0.8099 GB, free: 25.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=176): time 0.005869/1.449, allocations: 4 MB / 0.8138 GB, free: 21.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/1.449, allocations: 145.5 kB / 0.8139 GB, free: 21.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007435/1.457, allocations: 4.282 MB / 0.8181 GB, free: 17.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003129/1.457, allocations: 53.7 kB / 0.8182 GB, free: 17.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002282/1.459, allocations: 3.592 MB / 0.8217 GB, free: 13.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001111/1.46, allocations: 0.7294 MB / 0.8224 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004703/1.461, allocations: 128 kB / 0.8225 GB, free: 12.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004843/1.461, allocations: 0.591 MB / 0.8231 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0034/1.465, allocations: 2.207 MB / 0.8252 GB, free: 9.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005555/1.47, allocations: 6.468 MB / 0.8315 GB, free: 1.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005854/1.476, allocations: 3.711 MB / 0.8352 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001242/1.477, allocations: 44 kB / 0.8352 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01795/1.494, allocations: 8.476 MB / 0.8435 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/1.495, allocations: 68 kB / 0.8436 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002317/1.495, allocations: 152 kB / 0.8437 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002598/1.495, allocations: 231.9 kB / 0.8439 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006823/1.502, allocations: 1.618 MB / 0.8455 GB, free: 3.035 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003786/1.502, allocations: 298.8 kB / 0.8458 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008021/1.51, allocations: 0.9242 MB / 0.8467 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001989/1.512, allocations: 446.6 kB / 0.8471 GB, free: 1.375 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (849): * Single equations (assignments): 846 * 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.007106/1.52, allocations: 2.31 MB / 0.8494 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001661/1.521, allocations: 402.8 kB / 0.8498 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005566/1.527, allocations: 2.533 MB / 0.8522 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.921e-05/1.527, allocations: 20 kB / 0.8522 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/1.527, allocations: 7.812 kB / 0.8523 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/1.527, allocations: 7.969 kB / 0.8523 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009599/1.537, allocations: 4.288 MB / 0.8564 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.618e-05/1.537, allocations: 0 / 0.8564 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002116/1.539, allocations: 347.5 kB / 0.8568 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.997e-05/1.539, allocations: 8 kB / 0.8568 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/1.539, allocations: 32 kB / 0.8568 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.29e-05/1.539, allocations: 15.92 kB / 0.8568 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.539, allocations: 4 kB / 0.8568 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006525/1.546, allocations: 4.886 MB / 0.8616 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/1.547, allocations: 0.4917 MB / 0.8621 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005217/1.548, allocations: 35.95 kB / 0.8621 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/1.549, allocations: 63.14 kB / 0.8622 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/1.549, allocations: 101.1 kB / 0.8623 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/1.55, allocations: 59.88 kB / 0.8623 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005283/1.555, allocations: 2.996 MB / 0.8653 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.5e-07/1.555, allocations: 0 / 0.8653 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006932/1.562, allocations: 1.351 MB / 0.8666 GB, free: 13.34 MB / 0.5261 GB 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 () * Number of clocked 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.007252/1.569, allocations: 5.706 MB / 0.8722 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008812/1.578, allocations: 4.999 MB / 0.877 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/1.578, allocations: 0 / 0.877 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001825/1.58, allocations: 1.266 MB / 0.8783 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/1.583, allocations: 488.1 kB / 0.8787 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4036/1.986, allocations: 144 MB / 1.019 GB, free: 30.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008831/1.995, allocations: 3.676 MB / 1.023 GB, free: 29.34 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.009116/2.004, allocations: 2.058 MB / 1.025 GB, free: 29.16 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005406/2.01, allocations: 2.21 MB / 1.027 GB, free: 29.15 MB / 0.5573 GB Notification: Performance of SimCode: time 8.205e-06/2.01, allocations: 3.703 kB / 1.027 GB, free: 29.15 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4585/2.468, allocations: 88.14 MB / 1.113 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/2.469, allocations: 192.9 kB / 1.113 GB, free: 139.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.003/7.471, allocations: 3.938 kB / 1.113 GB, free: 139.7 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Rotor1D_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Rotor1D.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat