Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001527/0.001527, allocations: 200.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.2 MB / 245 MB, free: 7.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009041/0.0009043, allocations: 104.2 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4103/0.4103, allocations: 45.22 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003318, allocations: 8 kB / 468.5 MB, free: 7.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.4513, allocations: 63.24 MB / 0.5193 GB, free: 43.67 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1425/0.5939, allocations: 97.42 MB / 0.6144 GB, free: 8.219 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.5942, allocations: 88.77 kB / 0.6145 GB, free: 8.137 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.601/1.195, allocations: 92.23 MB / 0.7045 GB, free: 86.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.018e-06/1.195, allocations: 0 / 0.7045 GB, free: 86.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003736/1.196, allocations: 97.59 kB / 0.7046 GB, free: 86.64 MB / 0.4948 GB 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.0675/1.263, allocations: 10.21 MB / 0.7146 GB, free: 84.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/1.263, allocations: 7.844 kB / 0.7146 GB, free: 84.62 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004741/1.268, allocations: 0.8456 MB / 0.7155 GB, free: 84.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/1.278, allocations: 2.079 MB / 0.7175 GB, free: 84.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/1.29, allocations: 3.416 MB / 0.7208 GB, free: 83.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004004/1.29, allocations: 350 kB / 0.7212 GB, free: 83.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003917/1.294, allocations: 478.9 kB / 0.7216 GB, free: 83.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05341/1.348, allocations: 15.43 MB / 0.7367 GB, free: 80.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005132/1.348, allocations: 63.48 kB / 0.7367 GB, free: 80.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003155/1.352, allocations: 219.7 kB / 0.7369 GB, free: 80.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003245/1.355, allocations: 1.117 MB / 0.738 GB, free: 80.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04522/1.4, allocations: 15.35 MB / 0.753 GB, free: 80.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0788/1.479, allocations: 55.64 MB / 0.8074 GB, free: 41.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04384/1.523, allocations: 7.239 MB / 0.8144 GB, free: 39.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009914/1.533, allocations: 6.562 MB / 0.8208 GB, free: 35.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/1.533, allocations: 53.22 kB / 0.8209 GB, free: 35.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=176): time 6.402e-06/1.533, allocations: 3.938 kB / 0.8209 GB, free: 35.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=176): time 0.005557/1.538, allocations: 4.008 MB / 0.8248 GB, free: 33.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/1.538, allocations: 143.6 kB / 0.8249 GB, free: 33.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008824/1.547, allocations: 4.29 MB / 0.8291 GB, free: 31.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005019/1.548, allocations: 50.92 kB / 0.8292 GB, free: 31.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002692/1.551, allocations: 3.597 MB / 0.8327 GB, free: 28.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0012/1.552, allocations: 0.7202 MB / 0.8334 GB, free: 28.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004988/1.552, allocations: 132 kB / 0.8335 GB, free: 27.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004132/1.553, allocations: 0.5946 MB / 0.8341 GB, free: 27.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002852/1.556, allocations: 2.204 MB / 0.8363 GB, free: 25.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00474/1.56, allocations: 6.464 MB / 0.8426 GB, free: 17.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004585/1.565, allocations: 3.705 MB / 0.8462 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.767e-05/1.565, allocations: 44 kB / 0.8462 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.0157/1.581, allocations: 8.475 MB / 0.8545 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003049/1.581, allocations: 72 kB / 0.8546 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003716/1.582, allocations: 152 kB / 0.8547 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002353/1.582, allocations: 220 kB / 0.8549 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005588/1.587, allocations: 1.626 MB / 0.8565 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001824/1.588, allocations: 298.8 kB / 0.8568 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006418/1.594, allocations: 0.9329 MB / 0.8577 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/1.595, allocations: 436.2 kB / 0.8581 GB, free: 1.875 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.005255/1.601, allocations: 2.31 MB / 0.8604 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/1.602, allocations: 398.8 kB / 0.8608 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004925/1.607, allocations: 2.556 MB / 0.8633 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-05/1.607, allocations: 20 kB / 0.8633 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/1.607, allocations: 3.953 kB / 0.8633 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/1.607, allocations: 11.97 kB / 0.8633 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/1.619, allocations: 4.288 MB / 0.8675 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.72e-05/1.619, allocations: 0 / 0.8675 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/1.621, allocations: 347.5 kB / 0.8678 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.136e-05/1.621, allocations: 4 kB / 0.8678 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002087/1.621, allocations: 32 kB / 0.8678 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.291e-05/1.621, allocations: 11.94 kB / 0.8679 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.621, allocations: 0 / 0.8679 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007002/1.628, allocations: 4.898 MB / 0.8726 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00178/1.63, allocations: 0.4915 MB / 0.8731 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006238/1.631, allocations: 32.7 kB / 0.8732 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/1.632, allocations: 63.94 kB / 0.8732 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/1.633, allocations: 97.81 kB / 0.8733 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/1.633, allocations: 53.08 kB / 0.8734 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006165/1.639, allocations: 2.998 MB / 0.8763 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.02e-07/1.639, allocations: 0 / 0.8763 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008174/1.647, allocations: 1.351 MB / 0.8776 GB, free: 13.83 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.007852/1.655, allocations: 5.707 MB / 0.8832 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009817/1.665, allocations: 5.007 MB / 0.8881 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.665, allocations: 0 / 0.8881 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002029/1.667, allocations: 1.268 MB / 0.8893 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/1.67, allocations: 497.1 kB / 0.8898 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4147/2.085, allocations: 144 MB / 1.03 GB, free: 35.37 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004299/2.089, allocations: 3.674 MB / 1.034 GB, free: 34.56 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.005908/2.095, allocations: 2.061 MB / 1.036 GB, free: 34.44 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004163/2.099, allocations: 2.211 MB / 1.038 GB, free: 34.44 MB / 0.573 GB Notification: Performance of SimCode: time 1.743e-06/2.099, allocations: 0 / 1.038 GB, free: 34.44 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1739/2.273, allocations: 88.12 MB / 1.124 GB, free: 4.008 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/2.274, allocations: 202.8 kB / 1.124 GB, free: 3.758 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.936/7.209, allocations: 0 / 1.124 GB, free: 3.758 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Rotor1D_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Rotor1D.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat