Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.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.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.2 MB / 245 MB, free: 7.668 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009142/0.0009141, allocations: 100 kB / 297.2 MB, free: 6.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4282/0.4282, allocations: 45.23 MB / 394.6 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004184, allocations: 4 kB / 468.5 MB, free: 7.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5744/0.5748, allocations: 63.25 MB / 0.5193 GB, free: 43.87 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1866/0.7615, allocations: 86.73 MB / 0.604 GB, free: 2.895 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/0.762, allocations: 67.94 kB / 0.604 GB, free: 2.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006668/0.7686, allocations: 1.915 MB / 0.6059 GB, free: 0.918 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.7687, allocations: 3.938 kB / 0.6059 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.7687, allocations: 0.6875 kB / 0.6059 GB, free: 0.9141 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005003/0.7692, allocations: 370.7 kB / 0.6063 GB, free: 0.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.098e-05/0.7693, allocations: 12.03 kB / 0.6063 GB, free: 500 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/0.7694, allocations: 34.5 kB / 0.6063 GB, free: 456 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.7694, allocations: 3.984 kB / 0.6063 GB, free: 452 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.7696, allocations: 164.4 kB / 0.6065 GB, free: 248 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.7696, allocations: 0 / 0.6065 GB, free: 248 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.7697, allocations: 4 kB / 0.6065 GB, free: 244 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.7698, allocations: 26.27 kB / 0.6065 GB, free: 212 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.7698, allocations: 0.625 kB / 0.6065 GB, free: 212 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.7698, allocations: 0 / 0.6065 GB, free: 212 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.7698, allocations: 1.531 kB / 0.6065 GB, free: 212 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.838e-05/0.7699, allocations: 4 kB / 0.6065 GB, free: 208 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.7701, allocations: 153.6 kB / 0.6066 GB, free: 4 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.483e-05/0.7702, allocations: 23.5 kB / 0.6067 GB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-06/0.7702, allocations: 1.656 kB / 0.6067 GB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.824e-05/0.7702, allocations: 56.27 kB / 0.6067 GB, free: 15.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.7703, allocations: 0 / 0.6067 GB, free: 15.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002387/0.7705, allocations: 68.83 kB / 0.6068 GB, free: 15.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/0.7706, allocations: 81.05 kB / 0.6069 GB, free: 15.72 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.051e-05/0.7707, allocations: 90.47 kB / 0.6069 GB, free: 15.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.7707, allocations: 25.7 kB / 0.607 GB, free: 15.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.7708, allocations: 80.86 kB / 0.607 GB, free: 15.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.7708, allocations: 0 / 0.607 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.7709, allocations: 0.75 kB / 0.607 GB, free: 15.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.7711, allocations: 310.8 kB / 0.6073 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.7711, allocations: 8.672 kB / 0.6074 GB, free: 15.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.243e-05/0.7711, allocations: 8.516 kB / 0.6074 GB, free: 15.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.86e-05/0.7711, allocations: 26.27 kB / 0.6074 GB, free: 15.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.7712, allocations: 8.766 kB / 0.6074 GB, free: 15.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001056/0.7713, allocations: 55.41 kB / 0.6074 GB, free: 15.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/0.7713, allocations: 34.98 kB / 0.6075 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.7714, allocations: 0 / 0.6075 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.7714, allocations: 0 / 0.6075 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/0.7714, allocations: 3.406 kB / 0.6075 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.7714, allocations: 3.984 kB / 0.6075 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.308e-05/0.7714, allocations: 0 / 0.6075 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.7715, allocations: 7.938 kB / 0.6075 GB, free: 15.04 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001278/0.7716, allocations: 131.5 kB / 0.6076 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.7716, allocations: 7.953 kB / 0.6076 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.7717, allocations: 10.72 kB / 0.6076 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7717, allocations: 3.938 kB / 0.6076 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.7717, allocations: 2.594 kB / 0.6076 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7717, allocations: 0 / 0.6076 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.7719, allocations: 145.7 kB / 0.6078 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7719, allocations: 0 / 0.6078 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-06/0.7719, allocations: 3.953 kB / 0.6078 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.7719, allocations: 8 kB / 0.6078 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.7719, allocations: 0 / 0.6078 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7719, allocations: 352 / 0.6078 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7719, allocations: 4 kB / 0.6078 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.7721, allocations: 94.81 kB / 0.6079 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.7722, allocations: 77.11 kB / 0.608 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.7722, allocations: 3.953 kB / 0.608 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.609e-05/0.7722, allocations: 4 kB / 0.608 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.7723, allocations: 3.938 kB / 0.608 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.7723, allocations: 0 / 0.608 GB, free: 14.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.17e-05/0.7724, allocations: 83.3 kB / 0.6081 GB, free: 14.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7724, allocations: 0 / 0.6081 GB, free: 14.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003547/0.7727, allocations: 31.94 kB / 0.6081 GB, free: 14.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0009539/0.7737, allocations: 0.705 MB / 0.6088 GB, free: 13.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.7738, allocations: 63.39 kB / 0.6088 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.7739, allocations: 3.938 kB / 0.6088 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.452e-05/0.7739, allocations: 63.34 kB / 0.6089 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.7741, allocations: 3.953 kB / 0.6089 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.7746, allocations: 125.8 kB / 0.609 GB, free: 13.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.775, allocations: 0.6731 MB / 0.6097 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.441e-05/0.775, allocations: 0 / 0.6097 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.775, allocations: 19.36 kB / 0.6097 GB, free: 12.6 MB / 426.7 MB Notification: Performance of SimCode: time 8.01e-07/0.7751, allocations: 128 / 0.6097 GB, free: 12.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.7926, allocations: 1.214 MB / 0.6109 GB, free: 11.52 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002976/0.793, allocations: 212 kB / 0.6111 GB, free: 11.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/2.424, allocations: 0 / 0.6111 GB, free: 11.27 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Utilities_TestReadFile_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Utilities_TestReadFile.fmu > ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile_res.mat does not exist to compare? outputFormat=mat