Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 221.3 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008642/0.0008643, allocations: 88.05 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.218/0.218, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.672e-05/3.69e-05, allocations: 224 / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1491, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4762/0.6253, allocations: 85.61 MB / 0.5854 GB, free: 3.539 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.6256, allocations: 55.97 kB / 0.5855 GB, free: 3.484 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004787/0.6304, allocations: 1.741 MB / 0.5871 GB, free: 1.754 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6304, allocations: 0 / 0.5871 GB, free: 1.754 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.6305, allocations: 5.094 kB / 0.5872 GB, free: 1.75 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.0003288/0.6308, allocations: 348.3 kB / 0.5875 GB, free: 1.359 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.6309, allocations: 12.64 kB / 0.5875 GB, free: 1.348 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.256e-05/0.6309, allocations: 38.56 kB / 0.5875 GB, free: 1.301 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.631, allocations: 0 / 0.5875 GB, free: 1.301 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.6311, allocations: 163 kB / 0.5877 GB, free: 1.102 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.6311, allocations: 0 / 0.5877 GB, free: 1.102 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.6311, allocations: 3.953 kB / 0.5877 GB, free: 1.098 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.616e-05/0.6312, allocations: 29.7 kB / 0.5877 GB, free: 1.062 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.6312, allocations: 0 / 0.5877 GB, free: 1.062 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.6313, allocations: 0 / 0.5877 GB, free: 1.062 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6313, allocations: 0 / 0.5877 GB, free: 1.062 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.906e-05/0.6313, allocations: 8 kB / 0.5877 GB, free: 1.055 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.6315, allocations: 149.7 kB / 0.5879 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.104e-05/0.6315, allocations: 22.55 kB / 0.5879 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.776e-05/0.6315, allocations: 4.859 kB / 0.5879 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.6315, allocations: 0 / 0.5879 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.553e-05/0.6316, allocations: 65.09 kB / 0.588 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.6316, allocations: 3.938 kB / 0.588 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001669/0.6318, allocations: 71.44 kB / 0.588 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.6319, allocations: 77.11 kB / 0.5881 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.6319, allocations: 89 kB / 0.5882 GB, free: 480 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.632, allocations: 29.53 kB / 0.5882 GB, free: 448 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.632, allocations: 80.14 kB / 0.5883 GB, free: 364 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.632, allocations: 0 / 0.5883 GB, free: 364 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.632, allocations: 0 / 0.5883 GB, free: 364 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.6322, allocations: 315 kB / 0.5886 GB, free: 40 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.6322, allocations: 11.94 kB / 0.5886 GB, free: 28 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-06/0.6322, allocations: 0 / 0.5886 GB, free: 28 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.811e-05/0.6322, allocations: 33.69 kB / 0.5886 GB, free: 15.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6322, allocations: 0 / 0.5886 GB, free: 15.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.919e-05/0.6323, allocations: 55.41 kB / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.6324, allocations: 33.7 kB / 0.5887 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.6324, allocations: 3.953 kB / 0.5887 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.6324, allocations: 0 / 0.5887 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.6324, allocations: 96 / 0.5887 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.6324, allocations: 4 kB / 0.5887 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.6324, allocations: 3.984 kB / 0.5887 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.6325, allocations: 4 kB / 0.5887 GB, free: 15.87 MB / 410.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 7.734e-05/0.6325, allocations: 126.7 kB / 0.5889 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.6326, allocations: 8 kB / 0.5889 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.649e-05/0.6326, allocations: 11.08 kB / 0.5889 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.6326, allocations: 3.953 kB / 0.5889 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.6326, allocations: 0 / 0.5889 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.6326, allocations: 0 / 0.5889 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.787e-05/0.6327, allocations: 153.6 kB / 0.589 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6327, allocations: 0 / 0.589 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-06/0.6327, allocations: 4 kB / 0.589 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.6327, allocations: 0 / 0.589 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.6327, allocations: 0 / 0.589 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.6328, allocations: 0 / 0.589 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6328, allocations: 3.953 kB / 0.589 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.6329, allocations: 94.83 kB / 0.5891 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/0.6329, allocations: 81.09 kB / 0.5892 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.6329, allocations: 0 / 0.5892 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.191e-05/0.633, allocations: 4 kB / 0.5892 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.633, allocations: 3.953 kB / 0.5892 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.633, allocations: 3.938 kB / 0.5892 GB, free: 15.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.673e-05/0.633, allocations: 75.28 kB / 0.5893 GB, free: 15.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6331, allocations: 0 / 0.5893 GB, free: 15.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.6333, allocations: 31.92 kB / 0.5893 GB, free: 15.16 MB / 410.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.0006994/0.634, allocations: 0.7269 MB / 0.59 GB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.854e-05/0.6341, allocations: 55.41 kB / 0.5901 GB, free: 14.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.6341, allocations: 0 / 0.5901 GB, free: 14.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.961e-05/0.6341, allocations: 59.34 kB / 0.5901 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.118e-05/0.6342, allocations: 5.25 kB / 0.5901 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.6346, allocations: 104.4 kB / 0.5902 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.6348, allocations: 0.6731 MB / 0.5909 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.638e-06/0.6348, allocations: 0 / 0.5909 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.135e-05/0.6349, allocations: 11.44 kB / 0.5909 GB, free: 13.45 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6349, allocations: 0 / 0.5909 GB, free: 13.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01456/0.6494, allocations: 1.215 MB / 0.5921 GB, free: 12.32 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/0.6498, allocations: 184.9 kB / 0.5923 GB, free: 12.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.286, allocations: 0 / 0.5923 GB, free: 12.1 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Utilities_TestReadFile_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Utilities_TestReadFile.fmu > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile_res.mat does not exist to compare? outputFormat=mat