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.001585/0.001585, allocations: 183 kB / 13.19 MB, free: 2.129 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.904/1.904, allocations: 205.2 MB / 218.9 MB, free: 9.137 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.0008717/0.0008717, allocations: 86.61 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4566/0.4566, allocations: 43.47 MB / 358.6 MB, free: 52.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.21e-05/4.212e-05, allocations: 4 kB / 425.4 MB, free: 8.801 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.135, allocations: 58.85 MB / 484.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.438/0.5731, allocations: 84.47 MB / 0.5554 GB, free: 4.492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001413/0.5732, allocations: 63.59 kB / 0.5554 GB, free: 4.434 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003854/0.5771, allocations: 1.734 MB / 0.5571 GB, free: 2.711 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5771, allocations: 0 / 0.5571 GB, free: 2.711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.5771, allocations: 0 / 0.5571 GB, free: 2.711 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.0002111/0.5774, allocations: 361.2 kB / 0.5575 GB, free: 2.312 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.5774, allocations: 12.03 kB / 0.5575 GB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.574e-05/0.5774, allocations: 32.47 kB / 0.5575 GB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.5775, allocations: 3.438 kB / 0.5575 GB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.673e-05/0.5776, allocations: 163.1 kB / 0.5577 GB, free: 2.062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.5776, allocations: 4 kB / 0.5577 GB, free: 2.059 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.5776, allocations: 4 kB / 0.5577 GB, free: 2.055 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.689e-05/0.5777, allocations: 29.64 kB / 0.5577 GB, free: 2.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.5777, allocations: 0 / 0.5577 GB, free: 2.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.5777, allocations: 4 kB / 0.5577 GB, free: 2.016 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.5777, allocations: 1.375 kB / 0.5577 GB, free: 2.016 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.502e-05/0.5777, allocations: 0 / 0.5577 GB, free: 2.016 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.5778, allocations: 153.6 kB / 0.5579 GB, free: 1.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.601e-05/0.5779, allocations: 18.61 kB / 0.5579 GB, free: 1.789 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.106e-05/0.5779, allocations: 8.859 kB / 0.5579 GB, free: 1.777 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-06/0.5779, allocations: 0 / 0.5579 GB, free: 1.777 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.5779, allocations: 62.95 kB / 0.558 GB, free: 1.703 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.5779, allocations: 3.938 kB / 0.558 GB, free: 1.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.5781, allocations: 63.41 kB / 0.558 GB, free: 1.625 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.5781, allocations: 81.09 kB / 0.5581 GB, free: 1.527 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.926e-05/0.5782, allocations: 90.34 kB / 0.5582 GB, free: 1.434 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.5782, allocations: 25.7 kB / 0.5582 GB, free: 1.402 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.214e-05/0.5782, allocations: 80.14 kB / 0.5583 GB, free: 1.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.5782, allocations: 4.781 kB / 0.5583 GB, free: 1.316 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-06/0.5782, allocations: 0 / 0.5583 GB, free: 1.316 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.5783, allocations: 310.8 kB / 0.5586 GB, free: 1.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-06/0.5783, allocations: 4 kB / 0.5586 GB, free: 1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-06/0.5783, allocations: 0.5469 kB / 0.5586 GB, free: 1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.816e-05/0.5783, allocations: 37.84 kB / 0.5586 GB, free: 0.957 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5783, allocations: 0 / 0.5586 GB, free: 0.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.414e-05/0.5784, allocations: 69.05 kB / 0.5587 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.5784, allocations: 29.7 kB / 0.5587 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5784, allocations: 3.281 kB / 0.5587 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5785, allocations: 0 / 0.5587 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.5785, allocations: 4.656 kB / 0.5587 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.5785, allocations: 0 / 0.5587 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.441e-05/0.5785, allocations: 0.875 kB / 0.5587 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.5785, allocations: 0 / 0.5587 GB, free: 0.8398 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 () * 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.073e-05/0.5786, allocations: 138.7 kB / 0.5589 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.5786, allocations: 3.984 kB / 0.5589 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.15e-05/0.5786, allocations: 3.125 kB / 0.5589 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.5786, allocations: 3.938 kB / 0.5589 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5786, allocations: 0 / 0.5589 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.5786, allocations: 0 / 0.5589 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.907e-05/0.5787, allocations: 153.2 kB / 0.559 GB, free: 500 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5787, allocations: 7.938 kB / 0.559 GB, free: 492 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.5787, allocations: 0 / 0.559 GB, free: 492 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.5787, allocations: 0 / 0.559 GB, free: 492 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.5787, allocations: 4 kB / 0.559 GB, free: 488 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.5787, allocations: 0 / 0.559 GB, free: 488 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5787, allocations: 0 / 0.559 GB, free: 488 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.98e-05/0.5788, allocations: 94.77 kB / 0.5591 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.5788, allocations: 89.05 kB / 0.5592 GB, free: 260 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.5789, allocations: 0 / 0.5592 GB, free: 260 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.046e-05/0.5789, allocations: 0 / 0.5592 GB, free: 260 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.5789, allocations: 4.031 kB / 0.5592 GB, free: 256 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.5789, allocations: 0 / 0.5592 GB, free: 256 kB / 378.7 MB Notification: Performance of sorting global known variables: time 1.79e-05/0.5789, allocations: 79.28 kB / 0.5593 GB, free: 176 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5789, allocations: 0 / 0.5593 GB, free: 176 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002211/0.5792, allocations: 23.92 kB / 0.5593 GB, free: 152 kB / 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) * 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.0006147/0.5798, allocations: 0.7134 MB / 0.56 GB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.095e-05/0.5799, allocations: 59.41 kB / 0.5601 GB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5799, allocations: 4.062 kB / 0.5601 GB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.248e-05/0.5799, allocations: 51.41 kB / 0.5601 GB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.675e-05/0.58, allocations: 4 kB / 0.5601 GB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.5803, allocations: 89.09 kB / 0.5602 GB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.5806, allocations: 0.677 MB / 0.5609 GB, free: 14.47 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.466e-06/0.5806, allocations: 4 kB / 0.5609 GB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.5806, allocations: 7.438 kB / 0.5609 GB, free: 14.46 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5806, allocations: 0 / 0.5609 GB, free: 14.46 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0123/0.5929, allocations: 1.233 MB / 0.5621 GB, free: 13.3 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/0.5931, allocations: 179 kB / 0.5622 GB, free: 13.08 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.153, allocations: 4 kB / 0.5623 GB, free: 13.07 MB / 394.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