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.00103/0.00103, allocations: 202.4 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009077/0.0009077, allocations: 99.83 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2043/0.2043, allocations: 45.14 MB / 383.7 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.364e-05/1.367e-05, allocations: 0 / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1311, allocations: 63.24 MB / 0.5044 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4633/0.5944, allocations: 96.68 MB / 0.5989 GB, free: 5.734 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.5948, allocations: 78.14 kB / 0.5989 GB, free: 5.695 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2379/0.8327, allocations: 90.83 MB / 0.6876 GB, free: 3.176 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.8328, allocations: 4 kB / 0.6876 GB, free: 3.172 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002939/0.8331, allocations: 99.98 kB / 0.6877 GB, free: 3.074 MB / 474.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.06737/0.9005, allocations: 9.882 MB / 0.6974 GB, free: 9.117 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.9005, allocations: 12.03 kB / 0.6974 GB, free: 9.105 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.9113, allocations: 2.079 MB / 0.6994 GB, free: 7.016 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009102/0.9205, allocations: 3.406 MB / 0.7028 GB, free: 3.551 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002513/0.9208, allocations: 148 kB / 0.7029 GB, free: 3.406 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002897/0.9237, allocations: 287.8 kB / 0.7032 GB, free: 3.125 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0189/0.9426, allocations: 9.685 MB / 0.7126 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02844/0.9711, allocations: 13.17 MB / 0.7255 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003325/0.9715, allocations: 59.41 kB / 0.7256 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00217/0.9736, allocations: 32 kB / 0.7256 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002467/0.9761, allocations: 1.117 MB / 0.7267 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4185/1.395, allocations: 53.47 MB / 0.7789 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/1.405, allocations: 6.56 MB / 0.7853 GB, free: 99.63 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003875/1.409, allocations: 2.763 MB / 0.788 GB, free: 99.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009512/1.418, allocations: 6.433 MB / 0.7943 GB, free: 96.01 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/1.418, allocations: 50.44 kB / 0.7943 GB, free: 95.97 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=176): time 5.981e-06/1.418, allocations: 3.891 kB / 0.7943 GB, free: 95.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=176): time 0.004343/1.423, allocations: 2.592 MB / 0.7969 GB, free: 95.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/1.423, allocations: 152.5 kB / 0.797 GB, free: 95.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007021/1.43, allocations: 3.739 MB / 0.8007 GB, free: 95.15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003397/1.43, allocations: 25.7 kB / 0.8007 GB, free: 95.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002475/1.433, allocations: 3.642 MB / 0.8042 GB, free: 93.42 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001007/1.434, allocations: 0.7025 MB / 0.8049 GB, free: 93.03 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/1.434, allocations: 0 / 0.8049 GB, free: 93.03 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003476/1.434, allocations: 0.5967 MB / 0.8055 GB, free: 92.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00262/1.437, allocations: 2.067 MB / 0.8075 GB, free: 92.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004732/1.442, allocations: 6.438 MB / 0.8138 GB, free: 86.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005003/1.447, allocations: 3.626 MB / 0.8174 GB, free: 86.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001091/1.447, allocations: 44.91 kB / 0.8174 GB, free: 86.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.01215/1.459, allocations: 7.588 MB / 0.8248 GB, free: 84.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.878e-05/1.459, allocations: 70.97 kB / 0.8249 GB, free: 84.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001652/1.459, allocations: 157.4 kB / 0.825 GB, free: 84.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/1.459, allocations: 230.1 kB / 0.8252 GB, free: 84.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005013/1.465, allocations: 1.674 MB / 0.8269 GB, free: 84.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000168/1.465, allocations: 309.5 kB / 0.8272 GB, free: 84.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005051/1.47, allocations: 0.7745 MB / 0.8279 GB, free: 84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006535/1.47, allocations: 452.3 kB / 0.8284 GB, free: 83.95 MB / 0.5261 GB 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.000755/1.471, allocations: 498.9 kB / 0.8288 GB, free: 83.54 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003236/1.474, allocations: 2.597 MB / 0.8314 GB, free: 82.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004196/1.475, allocations: 371 kB / 0.8317 GB, free: 82.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003118/1.478, allocations: 2.394 MB / 0.8341 GB, free: 81.51 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-05/1.478, allocations: 18.8 kB / 0.8341 GB, free: 81.51 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.478, allocations: 3.438 kB / 0.8341 GB, free: 81.51 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/1.478, allocations: 10.73 kB / 0.8341 GB, free: 81.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00527/1.483, allocations: 3.203 MB / 0.8372 GB, free: 80.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/1.483, allocations: 0 / 0.8372 GB, free: 80.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.485, allocations: 343.2 kB / 0.8376 GB, free: 80.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.448e-05/1.485, allocations: 15.27 kB / 0.8376 GB, free: 80.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/1.485, allocations: 13.84 kB / 0.8376 GB, free: 80.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/1.485, allocations: 6.375 kB / 0.8376 GB, free: 80.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.485, allocations: 4.203 kB / 0.8376 GB, free: 80.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004637/1.49, allocations: 4.695 MB / 0.8422 GB, free: 78.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000896/1.491, allocations: 457.1 kB / 0.8426 GB, free: 77.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003704/1.491, allocations: 11.27 kB / 0.8426 GB, free: 77.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.493, allocations: 41.06 kB / 0.8427 GB, free: 77.83 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/1.493, allocations: 99.12 kB / 0.8428 GB, free: 77.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.493, allocations: 48.72 kB / 0.8428 GB, free: 77.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003417/1.496, allocations: 2.505 MB / 0.8452 GB, free: 76.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.2e-07/1.496, allocations: 6.531 kB / 0.8453 GB, free: 76.84 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005581/1.502, allocations: 1.233 MB / 0.8465 GB, free: 76.59 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 () * 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.004872/1.507, allocations: 5.499 MB / 0.8518 GB, free: 73.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006806/1.514, allocations: 4.663 MB / 0.8564 GB, free: 72.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.514, allocations: 0 / 0.8564 GB, free: 72.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/1.515, allocations: 1.224 MB / 0.8576 GB, free: 71.49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/1.517, allocations: 382.5 kB / 0.8579 GB, free: 71.17 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02573/1.543, allocations: 10.08 MB / 0.8678 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0065/1.55, allocations: 3.678 MB / 0.8714 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006975/1.557, allocations: 2.087 MB / 0.8734 GB, free: 58.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005539/1.562, allocations: 2.191 MB / 0.8756 GB, free: 56.37 MB / 0.5261 GB Notification: Performance of SimCode: time 2.344e-06/1.562, allocations: 0 / 0.8756 GB, free: 56.37 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1302/1.693, allocations: 80.24 MB / 0.9539 GB, free: 0.543 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/1.693, allocations: 148.4 kB / 0.9541 GB, free: 360 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.538/6.23, allocations: 0 / 0.9541 GB, free: 360 kB / 0.5417 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