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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008785/0.0008786, allocations: 102.5 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008581/0.0008581, allocations: 194.3 kB / 17.9 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002737/0.0002737, allocations: 8 kB / 418.2 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1307, allocations: 63.47 MB / 481.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.3209/0.4517, allocations: 78 MB / 0.5465 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04186/0.4936, allocations: 14.91 MB / 0.5611 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02169/0.5153, allocations: 355.8 kB / 0.5614 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01537/0.5308, allocations: 4.042 MB / 0.5654 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0349/0.5657, allocations: 11.2 MB / 0.5763 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004864/0.5706, allocations: 460.2 kB / 0.5767 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007611/0.5782, allocations: 4.734 MB / 0.5814 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007549/0.5858, allocations: 4.538 MB / 0.5858 GB, free: 13.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003062/0.5889, allocations: 1.416 MB / 0.5872 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004409/0.5933, allocations: 2.66 MB / 0.5898 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001015/0.5944, allocations: 188 kB / 0.5899 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.5966, allocations: 0.5813 MB / 0.5905 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00228/0.5989, allocations: 1.85 MB / 0.5923 GB, free: 6.758 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.6005, allocations: 0.9946 MB / 0.5933 GB, free: 5.754 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007529/0.6081, allocations: 6.747 MB / 0.5999 GB, free: 14.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.6081, allocations: 0 / 0.5999 GB, free: 14.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6081, allocations: 0 / 0.5999 GB, free: 14.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002313/0.6084, allocations: 4 kB / 0.5999 GB, free: 14.99 MB / 446.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.07124/0.6796, allocations: 9.47 MB / 0.6091 GB, free: 5.441 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.6797, allocations: 8.031 kB / 0.6091 GB, free: 5.434 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003744/0.6834, allocations: 0.8103 MB / 0.6099 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007805/0.6912, allocations: 1.908 MB / 0.6118 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007786/0.6991, allocations: 3.217 MB / 0.6149 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003124/0.6994, allocations: 295.5 kB / 0.6152 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002447/0.7019, allocations: 407.6 kB / 0.6156 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04903/0.7509, allocations: 19.53 MB / 0.6347 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001778/0.7512, allocations: 59.42 kB / 0.6347 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001089/0.7523, allocations: 187.8 kB / 0.6349 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005175/0.7574, allocations: 2.338 MB / 0.6372 GB, free: 7.895 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05151/0.809, allocations: 22.35 MB / 0.659 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3747/1.184, allocations: 52.51 MB / 0.7103 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05973/1.244, allocations: 9.184 MB / 0.7193 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004321/1.248, allocations: 3.016 MB / 0.7222 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/1.249, allocations: 359.1 kB / 0.7226 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/1.249, allocations: 60.38 kB / 0.7226 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=212): time 5.661e-06/1.249, allocations: 0 / 0.7226 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=212): time 0.107/1.356, allocations: 16.15 MB / 0.7384 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/1.357, allocations: 152.7 kB / 0.7385 GB, free: 153 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006438/1.363, allocations: 4.67 MB / 0.7431 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004958/1.364, allocations: 53.7 kB / 0.7432 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001968/1.365, allocations: 3.497 MB / 0.7466 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001036/1.367, allocations: 0.8381 MB / 0.7474 GB, free: 146 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003509/1.367, allocations: 136.9 kB / 0.7475 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002733/1.367, allocations: 0.5794 MB / 0.7481 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00348/1.371, allocations: 3.148 MB / 0.7512 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005037/1.376, allocations: 7.433 MB / 0.7584 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005995/1.382, allocations: 4.703 MB / 0.763 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001289/1.382, allocations: 44 kB / 0.7631 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01856/1.4, allocations: 10.55 MB / 0.7734 GB, free: 117.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-05/1.401, allocations: 68 kB / 0.7734 GB, free: 117.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001603/1.401, allocations: 152 kB / 0.7736 GB, free: 117.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/1.401, allocations: 224 kB / 0.7738 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005634/1.407, allocations: 1.801 MB / 0.7755 GB, free: 115.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001664/1.407, allocations: 298.9 kB / 0.7758 GB, free: 115.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005787/1.413, allocations: 0.9166 MB / 0.7767 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008732/1.413, allocations: 0.5193 MB / 0.7772 GB, free: 113.8 MB / 0.5294 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 (855): * Single equations (assignments): 852 * 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.003295/1.417, allocations: 2.31 MB / 0.7795 GB, free: 111.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005903/1.417, allocations: 410.7 kB / 0.7799 GB, free: 111 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004953/1.422, allocations: 4.865 MB / 0.7846 GB, free: 106.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.844e-05/1.422, allocations: 24 kB / 0.7846 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/1.422, allocations: 3.938 kB / 0.7847 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/1.422, allocations: 15.91 kB / 0.7847 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/1.436, allocations: 11.52 MB / 0.7959 GB, free: 94.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/1.436, allocations: 8 kB / 0.7959 GB, free: 94.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002314/1.438, allocations: 0.6013 MB / 0.7965 GB, free: 93.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-05/1.438, allocations: 16 kB / 0.7965 GB, free: 93.87 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002059/1.438, allocations: 144.7 kB / 0.7967 GB, free: 93.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-05/1.438, allocations: 20.48 kB / 0.7967 GB, free: 93.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.381e-06/1.438, allocations: 15.95 kB / 0.7967 GB, free: 93.69 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007974/1.446, allocations: 8.88 MB / 0.8054 GB, free: 84.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/1.447, allocations: 0.5084 MB / 0.8059 GB, free: 84.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005247/1.448, allocations: 52.16 kB / 0.8059 GB, free: 84.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/1.45, allocations: 88.72 kB / 0.806 GB, free: 84.03 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002949/1.45, allocations: 232.8 kB / 0.8062 GB, free: 83.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002291/1.45, allocations: 164.7 kB / 0.8064 GB, free: 83.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003761/1.454, allocations: 2.923 MB / 0.8092 GB, free: 80.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/1.454, allocations: 4 kB / 0.8092 GB, free: 80.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0062/1.46, allocations: 1.371 MB / 0.8106 GB, free: 79.35 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (208): * Single equations (assignments): 205 * 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.008753/1.469, allocations: 9.557 MB / 0.8199 GB, free: 69.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008768/1.478, allocations: 7.055 MB / 0.8268 GB, free: 62.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/1.478, allocations: 0 / 0.8268 GB, free: 62.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002552/1.48, allocations: 2.439 MB / 0.8292 GB, free: 60.21 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/1.484, allocations: 0.5314 MB / 0.8297 GB, free: 59.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06802/1.552, allocations: 47.5 MB / 0.8761 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003207/1.555, allocations: 3.6 MB / 0.8796 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005405/1.56, allocations: 2.302 MB / 0.8819 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003693/1.564, allocations: 2.506 MB / 0.8843 GB, free: 15.33 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/1.564, allocations: 0 / 0.8843 GB, free: 15.33 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4592/2.023, allocations: 104.5 MB / 0.9863 GB, free: 153 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001428/2.024, allocations: 200.4 kB / 0.9865 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.178/7.202, allocations: 3.938 kB / 0.9865 GB, free: 152.7 MB / 0.5606 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