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.0009233/0.0009234, allocations: 95.81 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009435/0.0009435, allocations: 208.3 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 45.92 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003174, allocations: 8 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1394, allocations: 63.47 MB / 481.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.3584/0.4979, allocations: 73.55 MB / 0.5421 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04334/0.5413, allocations: 15.7 MB / 0.5574 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02281/0.5642, allocations: 362 kB / 0.5577 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0161/0.5803, allocations: 3.66 MB / 0.5613 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04172/0.6221, allocations: 10.27 MB / 0.5713 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004689/0.6268, allocations: 487.4 kB / 0.5718 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005759/0.6325, allocations: 2.405 MB / 0.5742 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00615/0.6387, allocations: 4.502 MB / 0.5786 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.641, allocations: 1.191 MB / 0.5797 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003402/0.6444, allocations: 1.994 MB / 0.5817 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008888/0.6453, allocations: 191.9 kB / 0.5818 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.647, allocations: 0.5814 MB / 0.5824 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001652/0.6487, allocations: 1.73 MB / 0.5841 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001382/0.65, allocations: 0.9907 MB / 0.5851 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007823/0.6579, allocations: 6.739 MB / 0.5917 GB, free: 6.496 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6579, allocations: 0 / 0.5917 GB, free: 6.496 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6579, allocations: 0 / 0.5917 GB, free: 6.496 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003103/0.6582, allocations: 4 kB / 0.5917 GB, free: 6.492 MB / 430.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.08091/0.7392, allocations: 9.783 MB / 0.6012 GB, free: 12.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.7392, allocations: 8.031 kB / 0.6012 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004482/0.7437, allocations: 0.8181 MB / 0.602 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009071/0.7528, allocations: 2.177 MB / 0.6041 GB, free: 9.609 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008795/0.7616, allocations: 3.151 MB / 0.6072 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003011/0.762, allocations: 291.5 kB / 0.6075 GB, free: 6.117 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002812/0.7648, allocations: 411.6 kB / 0.6079 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05445/0.8193, allocations: 19.53 MB / 0.627 GB, free: 1.457 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002255/0.8195, allocations: 47.44 kB / 0.627 GB, free: 1.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001992/0.8216, allocations: 179.9 kB / 0.6272 GB, free: 1.234 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006385/0.8279, allocations: 2.345 MB / 0.6295 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05664/0.8846, allocations: 22.39 MB / 0.6513 GB, free: 8.461 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08114/0.9658, allocations: 52.45 MB / 0.7026 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.346/1.312, allocations: 9.189 MB / 0.7115 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001785/1.314, allocations: 351.4 kB / 0.7119 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/1.314, allocations: 56.28 kB / 0.7119 GB, free: 179.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=212): time 4.689e-06/1.314, allocations: 0 / 0.7119 GB, free: 179.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=212): time 0.1286/1.442, allocations: 16.37 MB / 0.7279 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/1.443, allocations: 148.2 kB / 0.728 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005796/1.448, allocations: 4.675 MB / 0.7326 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004872/1.449, allocations: 57.3 kB / 0.7327 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001715/1.451, allocations: 3.489 MB / 0.7361 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008612/1.451, allocations: 0.8418 MB / 0.7369 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/1.452, allocations: 131.3 kB / 0.737 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002785/1.452, allocations: 0.5884 MB / 0.7376 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003356/1.455, allocations: 3.143 MB / 0.7407 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004712/1.46, allocations: 7.411 MB / 0.7479 GB, free: 162 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004817/1.465, allocations: 4.691 MB / 0.7525 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.529e-05/1.465, allocations: 44 kB / 0.7525 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01346/1.478, allocations: 10.55 MB / 0.7628 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.061e-05/1.479, allocations: 72.72 kB / 0.7629 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001446/1.479, allocations: 155.9 kB / 0.763 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/1.479, allocations: 224 kB / 0.7633 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005761/1.485, allocations: 1.801 MB / 0.765 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001981/1.485, allocations: 299.7 kB / 0.7653 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006485/1.491, allocations: 0.9275 MB / 0.7662 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001416/1.493, allocations: 0.5121 MB / 0.7667 GB, free: 142.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.004736/1.498, allocations: 2.311 MB / 0.769 GB, free: 140.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.499, allocations: 410.7 kB / 0.7694 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006643/1.505, allocations: 4.849 MB / 0.7741 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-05/1.506, allocations: 24 kB / 0.7741 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/1.506, allocations: 10.2 kB / 0.7741 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-05/1.506, allocations: 15.91 kB / 0.7741 GB, free: 135.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02261/1.528, allocations: 11.52 MB / 0.7854 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-05/1.528, allocations: 8 kB / 0.7854 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002869/1.531, allocations: 0.6006 MB / 0.786 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.35e-05/1.531, allocations: 16 kB / 0.786 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005183/1.532, allocations: 143.8 kB / 0.7861 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.342e-05/1.532, allocations: 27.86 kB / 0.7862 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.532, allocations: 8 kB / 0.7862 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00933/1.541, allocations: 9.838 MB / 0.7958 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/1.543, allocations: 0.5109 MB / 0.7963 GB, free: 111.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001237/1.544, allocations: 49.03 kB / 0.7963 GB, free: 111.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/1.546, allocations: 85 kB / 0.7964 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003294/1.547, allocations: 236.9 kB / 0.7966 GB, free: 111.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002358/1.547, allocations: 165.1 kB / 0.7968 GB, free: 111.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003997/1.551, allocations: 2.923 MB / 0.7996 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.21e-07/1.551, allocations: 7.938 kB / 0.7996 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006716/1.558, allocations: 1.366 MB / 0.801 GB, free: 107.1 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.008783/1.566, allocations: 12.21 MB / 0.8129 GB, free: 94.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009029/1.576, allocations: 7.059 MB / 0.8198 GB, free: 87.65 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-05/1.576, allocations: 0 / 0.8198 GB, free: 87.65 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0029/1.579, allocations: 2.435 MB / 0.8222 GB, free: 85.22 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003604/1.582, allocations: 0.5045 MB / 0.8227 GB, free: 84.74 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.385/1.967, allocations: 151.9 MB / 0.971 GB, free: 116.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003725/1.971, allocations: 3.701 MB / 0.9746 GB, free: 114.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005904/1.977, allocations: 2.296 MB / 0.9768 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004221/1.981, allocations: 2.499 MB / 0.9793 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of SimCode: time 8.82e-07/1.981, allocations: 0 / 0.9793 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1588/2.14, allocations: 104.4 MB / 1.081 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001495/2.14, allocations: 189.1 kB / 1.081 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.34/7.48, allocations: 0 / 1.081 GB, free: 10.07 MB / 0.5294 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