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.001111/0.001111, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008947/0.0008948, allocations: 94.95 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2029/0.2029, allocations: 45.15 MB / 383.8 MB, free: 312 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.757e-05/1.76e-05, allocations: 0 / 453.3 MB, free: 75.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 63.26 MB / 0.5044 GB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.393/0.5058, allocations: 86 MB / 0.5884 GB, free: 200 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001806/0.506, allocations: 58.78 kB / 0.5885 GB, free: 172 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004035/0.51, allocations: 1.625 MB / 0.5901 GB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5101, allocations: 7.938 kB / 0.5901 GB, free: 14.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.5101, allocations: 0 / 0.5901 GB, free: 14.95 MB / 394.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.0003037/0.5104, allocations: 355.8 kB / 0.5904 GB, free: 14.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.5104, allocations: 8.031 kB / 0.5904 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.5105, allocations: 0 / 0.5904 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.5106, allocations: 163 kB / 0.5906 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.5106, allocations: 6.188 kB / 0.5906 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.5106, allocations: 0 / 0.5906 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.769e-05/0.5107, allocations: 0 / 0.5906 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.693e-05/0.5107, allocations: 33.69 kB / 0.5906 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.5108, allocations: 0 / 0.5906 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.5108, allocations: 7.938 kB / 0.5906 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.5108, allocations: 0 / 0.5906 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.5109, allocations: 130.1 kB / 0.5908 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.732e-05/0.511, allocations: 21.92 kB / 0.5908 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.511, allocations: 8.797 kB / 0.5908 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-06/0.511, allocations: 0 / 0.5908 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.5111, allocations: 61.09 kB / 0.5908 GB, free: 14.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.5111, allocations: 4 kB / 0.5908 GB, free: 14.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001779/0.5113, allocations: 33.77 kB / 0.5909 GB, free: 13.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.5113, allocations: 77.11 kB / 0.591 GB, free: 13.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.907e-05/0.5114, allocations: 96.56 kB / 0.591 GB, free: 13.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.5114, allocations: 25.7 kB / 0.5911 GB, free: 13.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.5115, allocations: 80.14 kB / 0.5911 GB, free: 13.67 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.5115, allocations: 0 / 0.5911 GB, free: 13.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/0.5115, allocations: 0 / 0.5911 GB, free: 13.67 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.5116, allocations: 322.9 kB / 0.5915 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.113e-06/0.5116, allocations: 0 / 0.5915 GB, free: 13.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-06/0.5117, allocations: 4 kB / 0.5915 GB, free: 13.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.443e-05/0.5117, allocations: 0 / 0.5915 GB, free: 13.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5117, allocations: 0 / 0.5915 GB, free: 13.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.219e-05/0.5118, allocations: 41.09 kB / 0.5915 GB, free: 13.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.5118, allocations: 33.69 kB / 0.5915 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5118, allocations: 0 / 0.5915 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.5118, allocations: 4.094 kB / 0.5915 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.5119, allocations: 4 kB / 0.5915 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.5119, allocations: 0 / 0.5915 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.348e-05/0.5119, allocations: 0 / 0.5915 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.5119, allocations: 0 / 0.5915 GB, free: 13.25 MB / 394.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 () * 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 8.71e-05/0.512, allocations: 130.7 kB / 0.5917 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.798e-05/0.5121, allocations: 45.58 kB / 0.5917 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-06/0.5121, allocations: 0 / 0.5917 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.381e-05/0.5121, allocations: 11.7 kB / 0.5917 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.5121, allocations: 4.031 kB / 0.5917 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.5121, allocations: 0 / 0.5917 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5121, allocations: 0 / 0.5917 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.938e-05/0.5122, allocations: 129.7 kB / 0.5918 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.5122, allocations: 0 / 0.5918 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-06/0.5122, allocations: 3.953 kB / 0.5918 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.5122, allocations: 4 kB / 0.5918 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.5123, allocations: 0 / 0.5918 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.5123, allocations: 3.938 kB / 0.5919 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5123, allocations: 0 / 0.5919 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.844e-05/0.5124, allocations: 72.94 kB / 0.5919 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.5124, allocations: 77.11 kB / 0.592 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.5124, allocations: 3.953 kB / 0.592 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.277e-06/0.5124, allocations: 0 / 0.592 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.5125, allocations: 0 / 0.592 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.5125, allocations: 4 kB / 0.592 GB, free: 12.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.984e-05/0.5125, allocations: 75.28 kB / 0.5921 GB, free: 12.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5125, allocations: 128 / 0.5921 GB, free: 12.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001911/0.5127, allocations: 35.97 kB / 0.5921 GB, free: 12.58 MB / 394.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) * 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.0006808/0.5134, allocations: 0.6826 MB / 0.5928 GB, free: 11.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.256e-05/0.5135, allocations: 62.84 kB / 0.5928 GB, free: 11.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5135, allocations: 4.062 kB / 0.5928 GB, free: 11.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.5135, allocations: 55.41 kB / 0.5929 GB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.595e-05/0.5137, allocations: 7.938 kB / 0.5929 GB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.5139, allocations: 88.11 kB / 0.593 GB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.5142, allocations: 0.6768 MB / 0.5936 GB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.027e-05/0.5142, allocations: 0 / 0.5936 GB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.5143, allocations: 11.38 kB / 0.5937 GB, free: 10.91 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5143, allocations: 0 / 0.5937 GB, free: 10.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.535, allocations: 0.9401 MB / 0.5946 GB, free: 9.988 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.5353, allocations: 157.9 kB / 0.5947 GB, free: 9.797 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.432/1.968, allocations: 3.938 kB / 0.5947 GB, free: 9.793 MB / 394.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