Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.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.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001007/0.001007, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.001056, allocations: 88.78 kB / 292.1 MB, free: 5.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.209/0.209, allocations: 45.14 MB / 389.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.289e-05, allocations: 4 kB / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1203, allocations: 63.24 MB / 0.5114 GB, free: 6.734 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3978/0.5182, allocations: 88.28 MB / 0.5977 GB, free: 5.637 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001748/0.5184, allocations: 65.41 kB / 0.5977 GB, free: 5.602 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01821/0.5366, allocations: 7.3 MB / 0.6048 GB, free: 15.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.5367, allocations: 4 kB / 0.6049 GB, free: 15.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.5367, allocations: 8 kB / 0.6049 GB, free: 15.55 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.000866/0.5376, allocations: 0.5957 MB / 0.6054 GB, free: 14.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.5377, allocations: 15.97 kB / 0.6055 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.5378, allocations: 90.5 kB / 0.6055 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.5379, allocations: 51.78 kB / 0.6056 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.5382, allocations: 226.4 kB / 0.6058 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.5382, allocations: 35.56 kB / 0.6058 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.508e-05/0.5383, allocations: 53.34 kB / 0.6059 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006568/0.5389, allocations: 446.8 kB / 0.6063 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.539, allocations: 11.89 kB / 0.6063 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.539, allocations: 18.12 kB / 0.6063 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.539, allocations: 15.95 kB / 0.6064 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.5394, allocations: 247.3 kB / 0.6066 GB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.5417, allocations: 1.709 MB / 0.6083 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005378/0.5423, allocations: 400.3 kB / 0.6086 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.5425, allocations: 155 kB / 0.6088 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.5425, allocations: 7.875 kB / 0.6088 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.5426, allocations: 41.81 kB / 0.6088 GB, free: 11.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.823e-06/0.5426, allocations: 8 kB / 0.6089 GB, free: 11.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006082/0.5432, allocations: 272.4 kB / 0.6091 GB, free: 11.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.5433, allocations: 269 kB / 0.6094 GB, free: 11.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.5436, allocations: 221.1 kB / 0.6096 GB, free: 11.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.5436, allocations: 32.64 kB / 0.6096 GB, free: 11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.5437, allocations: 246 kB / 0.6098 GB, free: 10.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.5439, allocations: 184.6 kB / 0.61 GB, free: 10.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-05/0.5439, allocations: 13.88 kB / 0.61 GB, free: 10.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.544, allocations: 348.5 kB / 0.6104 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.5442, allocations: 109.4 kB / 0.6105 GB, free: 10.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.5446, allocations: 409.2 kB / 0.6109 GB, free: 9.742 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.5449, allocations: 184.8 kB / 0.611 GB, free: 9.609 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.5449, allocations: 0 / 0.611 GB, free: 9.609 MB / 410.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007432/0.5456, allocations: 0.5542 MB / 0.6116 GB, free: 9.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.5456, allocations: 17.36 kB / 0.6116 GB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.5457, allocations: 11.98 kB / 0.6116 GB, free: 9.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.377e-05/0.5457, allocations: 19.94 kB / 0.6116 GB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.5463, allocations: 178.6 kB / 0.6118 GB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/0.5463, allocations: 23.92 kB / 0.6118 GB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.5465, allocations: 61.75 kB / 0.6119 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.5466, allocations: 34.56 kB / 0.6119 GB, free: 8.844 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * 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.0001145/0.5467, allocations: 152.7 kB / 0.6121 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.5469, allocations: 35.62 kB / 0.6121 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.453e-05/0.547, allocations: 43.22 kB / 0.6121 GB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.547, allocations: 8 kB / 0.6121 GB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.547, allocations: 0 / 0.6121 GB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.547, allocations: 7.984 kB / 0.6121 GB, free: 8.629 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008768/0.5479, allocations: 419.1 kB / 0.6125 GB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.5479, allocations: 0 / 0.6125 GB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005411/0.5484, allocations: 127.8 kB / 0.6127 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.5485, allocations: 4 kB / 0.6127 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.5485, allocations: 19.62 kB / 0.6127 GB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.5485, allocations: 8.141 kB / 0.6127 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5485, allocations: 0 / 0.6127 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007802/0.5493, allocations: 1.171 MB / 0.6138 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.521e-05/0.5494, allocations: 111.5 kB / 0.6139 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.5494, allocations: 19.23 kB / 0.614 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.5498, allocations: 7.375 kB / 0.614 GB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.5498, allocations: 27.84 kB / 0.614 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.5499, allocations: 15.62 kB / 0.614 GB, free: 6.766 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.55, allocations: 171.8 kB / 0.6142 GB, free: 6.625 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.55, allocations: 4 kB / 0.6142 GB, free: 6.621 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007072/0.5507, allocations: 134 kB / 0.6143 GB, free: 6.504 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * Array equations: 0 * 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.001231/0.552, allocations: 2.268 MB / 0.6165 GB, free: 4.277 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004776/0.5524, allocations: 336 kB / 0.6168 GB, free: 4.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5525, allocations: 0 / 0.6168 GB, free: 4.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.5526, allocations: 120.7 kB / 0.617 GB, free: 3.926 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007386/0.5534, allocations: 84.98 kB / 0.617 GB, free: 3.863 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.5563, allocations: 2.142 MB / 0.6191 GB, free: 1.742 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.5567, allocations: 0.8356 MB / 0.6199 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.5569, allocations: 52.16 kB / 0.62 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.5571, allocations: 138.1 kB / 0.6201 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5571, allocations: 0 / 0.6201 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.5765, allocations: 7.467 MB / 0.6274 GB, free: 9.504 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/0.5768, allocations: 162.8 kB / 0.6276 GB, free: 9.281 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.55, allocations: 0 / 0.6276 GB, free: 9.281 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat