Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002268/0.002268, allocations: 185.9 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001116/0.001115, allocations: 89.61 kB / 270.9 MB, free: 8.367 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.5088/0.5088, allocations: 43.56 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006274/0.0006274, allocations: 15.98 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1247, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4477/0.5724, allocations: 84.56 MB / 0.5613 GB, free: 2.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.5727, allocations: 63.97 kB / 0.5614 GB, free: 1.957 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005847/0.5786, allocations: 1.903 MB / 0.5632 GB, free: 68 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5786, allocations: 0 / 0.5632 GB, free: 68 kB / 378.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.5786, allocations: 0 / 0.5632 GB, free: 68 kB / 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.0003707/0.579, allocations: 357.7 kB / 0.5636 GB, free: 15.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.5791, allocations: 11.09 kB / 0.5636 GB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.5791, allocations: 3.938 kB / 0.5636 GB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.5792, allocations: 167 kB / 0.5637 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.5793, allocations: 0.8125 kB / 0.5637 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.5793, allocations: 0 / 0.5637 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.262e-05/0.5794, allocations: 32.45 kB / 0.5638 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.5794, allocations: 0 / 0.5638 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.5794, allocations: 0 / 0.5638 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.5794, allocations: 0 / 0.5638 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.314e-05/0.5794, allocations: 5.016 kB / 0.5638 GB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.5796, allocations: 153.7 kB / 0.5639 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.369e-05/0.5797, allocations: 27.34 kB / 0.5639 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.5797, allocations: 0 / 0.5639 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/0.5798, allocations: 56.27 kB / 0.564 GB, free: 15.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.5798, allocations: 64 / 0.564 GB, free: 15.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001936/0.58, allocations: 68.33 kB / 0.5641 GB, free: 15.03 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.58, allocations: 81.11 kB / 0.5641 GB, free: 14.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.419e-05/0.5801, allocations: 89.12 kB / 0.5642 GB, free: 14.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.5801, allocations: 29.64 kB / 0.5642 GB, free: 14.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.5802, allocations: 150.6 kB / 0.5644 GB, free: 14.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.5802, allocations: 5.219 kB / 0.5644 GB, free: 14.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-06/0.5803, allocations: 4 kB / 0.5644 GB, free: 14.65 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5804, allocations: 310.8 kB / 0.5647 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.5804, allocations: 0 / 0.5647 GB, free: 14.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.088e-05/0.5804, allocations: 3.984 kB / 0.5647 GB, free: 14.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.835e-05/0.5805, allocations: 33.89 kB / 0.5647 GB, free: 14.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5805, allocations: 0 / 0.5647 GB, free: 14.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.916e-05/0.5806, allocations: 67.36 kB / 0.5648 GB, free: 14.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/0.5807, allocations: 30.25 kB / 0.5648 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.5807, allocations: 0 / 0.5648 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.5807, allocations: 0 / 0.5648 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.887e-06/0.5807, allocations: 3.984 kB / 0.5648 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.5807, allocations: 0 / 0.5648 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.5807, allocations: 4.547 kB / 0.5648 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.5808, allocations: 0 / 0.5648 GB, free: 14.18 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 () * 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.0001058/0.5809, allocations: 146 kB / 0.565 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.5809, allocations: 11.27 kB / 0.565 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.679e-05/0.5809, allocations: 3.125 kB / 0.565 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.5809, allocations: 3.938 kB / 0.565 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.581, allocations: 0 / 0.565 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.581, allocations: 0 / 0.565 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.5811, allocations: 153.7 kB / 0.5651 GB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5811, allocations: 0 / 0.5651 GB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.5811, allocations: 0 / 0.5651 GB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.5811, allocations: 3.953 kB / 0.5651 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.5811, allocations: 4 kB / 0.5651 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5812, allocations: 0 / 0.5651 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5812, allocations: 0 / 0.5651 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.5813, allocations: 90.83 kB / 0.5652 GB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.5814, allocations: 77.11 kB / 0.5653 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.5814, allocations: 7.953 kB / 0.5653 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.269e-05/0.5814, allocations: 0 / 0.5653 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.5814, allocations: 4.031 kB / 0.5653 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.5815, allocations: 0 / 0.5653 GB, free: 13.58 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.5815, allocations: 83.95 kB / 0.5654 GB, free: 13.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5815, allocations: 0 / 0.5654 GB, free: 13.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002862/0.5818, allocations: 27.98 kB / 0.5654 GB, free: 13.47 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) * 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.0004754/0.5823, allocations: 192.9 kB / 0.5656 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.5825, allocations: 59.39 kB / 0.5657 GB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5825, allocations: 0 / 0.5657 GB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.934e-05/0.5825, allocations: 55.41 kB / 0.5657 GB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001078/0.5826, allocations: 0 / 0.5657 GB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002189/0.5829, allocations: 118.8 kB / 0.5658 GB, free: 13.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.5832, allocations: 0.6731 MB / 0.5665 GB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.5832, allocations: 7.438 kB / 0.5665 GB, free: 12.34 MB / 394.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5832, allocations: 0 / 0.5665 GB, free: 12.34 MB / 394.7 MB Notification: Performance of Templates: time 0.003148/0.5864, allocations: 0.8355 MB / 0.5673 GB, free: 11.5 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches