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.001855/0.001855, allocations: 176.7 kB / 17.06 MB, free: 5.098 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.302/1.302, allocations: 223.2 MB / 241 MB, free: 11.85 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008664/0.0008666, allocations: 86.25 kB / 292.1 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3705/0.3705, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004228, allocations: 15.98 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3687, allocations: 61.9 MB / 0.5096 GB, free: 38.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1105/0.4792, allocations: 85.69 MB / 0.5933 GB, free: 9.406 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.4795, allocations: 67.94 kB / 0.5934 GB, free: 9.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004295/0.4838, allocations: 1.91 MB / 0.5952 GB, free: 7.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4838, allocations: 0 / 0.5952 GB, free: 7.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.4838, allocations: 0 / 0.5952 GB, free: 7.43 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.000287/0.4841, allocations: 377 kB / 0.5956 GB, free: 7.008 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.4842, allocations: 8.031 kB / 0.5956 GB, free: 7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.647e-05/0.4842, allocations: 30.56 kB / 0.5956 GB, free: 6.961 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.089e-05/0.4842, allocations: 0 / 0.5956 GB, free: 6.961 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.879e-05/0.4843, allocations: 163 kB / 0.5958 GB, free: 6.762 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.4843, allocations: 4 kB / 0.5958 GB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.4844, allocations: 3.953 kB / 0.5958 GB, free: 6.754 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.732e-05/0.4844, allocations: 29.69 kB / 0.5958 GB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.4844, allocations: 0 / 0.5958 GB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.4845, allocations: 8 kB / 0.5958 GB, free: 6.711 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4845, allocations: 0 / 0.5958 GB, free: 6.711 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.314e-05/0.4845, allocations: 0 / 0.5958 GB, free: 6.711 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.4846, allocations: 145.7 kB / 0.596 GB, free: 6.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.377e-05/0.4846, allocations: 22.55 kB / 0.596 GB, free: 6.488 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-06/0.4847, allocations: 0 / 0.596 GB, free: 6.488 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.4847, allocations: 60.22 kB / 0.5961 GB, free: 6.414 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.4847, allocations: 4 kB / 0.5961 GB, free: 6.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001403/0.4848, allocations: 67.45 kB / 0.5961 GB, free: 6.332 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.4849, allocations: 85.05 kB / 0.5962 GB, free: 6.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.41e-05/0.4849, allocations: 85 kB / 0.5963 GB, free: 6.141 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.485, allocations: 25.7 kB / 0.5963 GB, free: 6.109 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.485, allocations: 80.14 kB / 0.5964 GB, free: 6.027 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.228e-05/0.485, allocations: 0 / 0.5964 GB, free: 6.027 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.485, allocations: 4 kB / 0.5964 GB, free: 6.023 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.4851, allocations: 319.1 kB / 0.5967 GB, free: 5.703 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-06/0.4851, allocations: 7.875 kB / 0.5967 GB, free: 5.695 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.807e-06/0.4851, allocations: 0 / 0.5967 GB, free: 5.695 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.114e-05/0.4852, allocations: 33.7 kB / 0.5967 GB, free: 5.656 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4852, allocations: 0 / 0.5967 GB, free: 5.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.331e-05/0.4852, allocations: 59.41 kB / 0.5968 GB, free: 5.586 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.4853, allocations: 33.69 kB / 0.5968 GB, free: 5.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.4853, allocations: 0 / 0.5968 GB, free: 5.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.4853, allocations: 4.047 kB / 0.5968 GB, free: 5.543 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.4853, allocations: 4 kB / 0.5968 GB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.4853, allocations: 0 / 0.5968 GB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.4853, allocations: 4 kB / 0.5968 GB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.4853, allocations: 0 / 0.5968 GB, free: 5.535 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 () * 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 7.501e-05/0.4854, allocations: 132.1 kB / 0.597 GB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.4854, allocations: 4 kB / 0.597 GB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.251e-05/0.4854, allocations: 10.72 kB / 0.597 GB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4855, allocations: 3.953 kB / 0.597 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4855, allocations: 7.984 kB / 0.597 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.4855, allocations: 3.938 kB / 0.597 GB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.728e-05/0.4856, allocations: 153.7 kB / 0.5971 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.4856, allocations: 0 / 0.5971 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.4856, allocations: 0 / 0.5971 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.4856, allocations: 0 / 0.5971 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.4856, allocations: 0 / 0.5971 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.4856, allocations: 0 / 0.5971 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.4856, allocations: 7.938 kB / 0.5971 GB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.535e-05/0.4857, allocations: 90.84 kB / 0.5972 GB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.4857, allocations: 77.11 kB / 0.5973 GB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.4858, allocations: 7.984 kB / 0.5973 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.014e-05/0.4858, allocations: 0 / 0.5973 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.4858, allocations: 0 / 0.5973 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.4858, allocations: 3.953 kB / 0.5973 GB, free: 4.938 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.891e-05/0.4858, allocations: 75.28 kB / 0.5974 GB, free: 4.863 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4858, allocations: 0 / 0.5974 GB, free: 4.863 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002186/0.4861, allocations: 32.05 kB / 0.5974 GB, free: 4.832 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) * 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.000577/0.4866, allocations: 0.7191 MB / 0.5981 GB, free: 4.113 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.766e-05/0.4867, allocations: 59.39 kB / 0.5982 GB, free: 4.043 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4867, allocations: 0 / 0.5982 GB, free: 4.043 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.739e-05/0.4868, allocations: 59.41 kB / 0.5982 GB, free: 3.973 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.158e-05/0.4869, allocations: 4.125 kB / 0.5982 GB, free: 3.969 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002633/0.4871, allocations: 126.7 kB / 0.5984 GB, free: 3.805 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.4874, allocations: 0.677 MB / 0.599 GB, free: 3.102 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.604e-06/0.4874, allocations: 0 / 0.599 GB, free: 3.102 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/0.4874, allocations: 7.438 kB / 0.599 GB, free: 3.094 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4874, allocations: 3.938 kB / 0.599 GB, free: 3.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01234/0.4997, allocations: 1.226 MB / 0.6002 GB, free: 1.977 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.5, allocations: 204.6 kB / 0.6004 GB, free: 1.742 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/1.984, allocations: 0 / 0.6004 GB, free: 1.742 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