Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 184.3 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009199/0.0009199, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2167/0.2167, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003442, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1285, allocations: 58.85 MB / 490.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.5802, allocations: 84.57 MB / 0.5614 GB, free: 15.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.5805, allocations: 62.31 kB / 0.5615 GB, free: 15.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004623/0.5852, allocations: 1.906 MB / 0.5634 GB, free: 13.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5852, allocations: 0 / 0.5634 GB, free: 13.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.5852, allocations: 0 / 0.5634 GB, free: 13.68 MB / 378.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.0004002/0.5856, allocations: 360.7 kB / 0.5637 GB, free: 13.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.881e-05/0.5857, allocations: 12.03 kB / 0.5637 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.319e-05/0.5857, allocations: 38.44 kB / 0.5637 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.5858, allocations: 0.875 kB / 0.5637 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.5859, allocations: 163 kB / 0.5639 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.586, allocations: 1.219 kB / 0.5639 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.586, allocations: 4 kB / 0.5639 GB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.5861, allocations: 33.69 kB / 0.5639 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.5861, allocations: 0 / 0.5639 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.5861, allocations: 0 / 0.5639 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.5862, allocations: 0 / 0.5639 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.058e-05/0.5862, allocations: 4 kB / 0.5639 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.5864, allocations: 149.1 kB / 0.5641 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.474e-05/0.5865, allocations: 26.53 kB / 0.5641 GB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.041e-06/0.5865, allocations: 0 / 0.5641 GB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.181e-05/0.5865, allocations: 64.75 kB / 0.5642 GB, free: 12.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.5866, allocations: 0 / 0.5642 GB, free: 12.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002354/0.5868, allocations: 62.97 kB / 0.5642 GB, free: 12.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.075e-05/0.5869, allocations: 77.11 kB / 0.5643 GB, free: 12.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.744e-05/0.587, allocations: 96.92 kB / 0.5644 GB, free: 12.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.587, allocations: 25.7 kB / 0.5644 GB, free: 12.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.5871, allocations: 82.77 kB / 0.5645 GB, free: 12.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.5871, allocations: 3.75 kB / 0.5645 GB, free: 12.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.5871, allocations: 7.938 kB / 0.5645 GB, free: 12.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5873, allocations: 310.8 kB / 0.5648 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-06/0.5873, allocations: 4 kB / 0.5648 GB, free: 11.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.431e-06/0.5873, allocations: 0 / 0.5648 GB, free: 11.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.88e-05/0.5873, allocations: 25.7 kB / 0.5648 GB, free: 11.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.5874, allocations: 7.953 kB / 0.5648 GB, free: 11.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.849e-05/0.5874, allocations: 62.64 kB / 0.5649 GB, free: 11.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.5875, allocations: 33.7 kB / 0.5649 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5875, allocations: 4.094 kB / 0.5649 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.5875, allocations: 0 / 0.5649 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-06/0.5875, allocations: 0.875 kB / 0.5649 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.5875, allocations: 0 / 0.5649 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.5875, allocations: 0 / 0.5649 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.5876, allocations: 4 kB / 0.5649 GB, free: 11.8 MB / 378.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.0001001/0.5877, allocations: 139.5 kB / 0.5651 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.5877, allocations: 7.891 kB / 0.5651 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.5877, allocations: 11.11 kB / 0.5651 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.5877, allocations: 4 kB / 0.5651 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5877, allocations: 0 / 0.5651 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.5877, allocations: 4 kB / 0.5651 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.5879, allocations: 145.6 kB / 0.5652 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5879, allocations: 0 / 0.5652 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-06/0.5879, allocations: 3.953 kB / 0.5652 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.5879, allocations: 4 kB / 0.5653 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.5879, allocations: 3.984 kB / 0.5653 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5879, allocations: 0 / 0.5653 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.5879, allocations: 0 / 0.5653 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.588, allocations: 91.22 kB / 0.5653 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.5881, allocations: 81.09 kB / 0.5654 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.5881, allocations: 3.953 kB / 0.5654 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.009e-05/0.5881, allocations: 0 / 0.5654 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.5881, allocations: 4 kB / 0.5654 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.5882, allocations: 0 / 0.5654 GB, free: 11.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.752e-05/0.5882, allocations: 79.22 kB / 0.5655 GB, free: 11.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5882, allocations: 4.125 kB / 0.5655 GB, free: 11.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002397/0.5884, allocations: 23.98 kB / 0.5655 GB, free: 11.1 MB / 378.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.0007534/0.5892, allocations: 0.7129 MB / 0.5662 GB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.661e-05/0.5893, allocations: 55.41 kB / 0.5663 GB, free: 10.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5893, allocations: 0 / 0.5663 GB, free: 10.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.5894, allocations: 62.97 kB / 0.5663 GB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.254e-05/0.5895, allocations: 7.891 kB / 0.5663 GB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.5898, allocations: 123.4 kB / 0.5665 GB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.5901, allocations: 0.677 MB / 0.5671 GB, free: 9.371 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.778e-06/0.5902, allocations: 0 / 0.5671 GB, free: 9.371 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.5902, allocations: 11.44 kB / 0.5671 GB, free: 9.359 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5902, allocations: 0 / 0.5671 GB, free: 9.359 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.6087, allocations: 1.222 MB / 0.5683 GB, free: 8.18 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003558/0.6091, allocations: 201.5 kB / 0.5685 GB, free: 7.941 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/2.202, allocations: 0 / 0.5685 GB, free: 7.941 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat does not exist to compare? outputFormat=mat