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.001541/0.001546, allocations: 181.9 kB / 13.66 MB, free: 1.664 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.128/2.128, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001069/0.001069, allocations: 82.78 kB / 267.5 MB, free: 14.04 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.281/0.281, allocations: 43.48 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.131e-05, allocations: 7.984 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1199, allocations: 58.84 MB / 484.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.464/0.584, allocations: 84.47 MB / 0.5553 GB, free: 3.168 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.5842, allocations: 65.06 kB / 0.5553 GB, free: 3.137 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005337/0.5896, allocations: 1.727 MB / 0.557 GB, free: 1.887 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5896, allocations: 4 kB / 0.557 GB, free: 1.883 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.5896, allocations: 3.609 kB / 0.557 GB, free: 1.883 MB / 362.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.0002197/0.5899, allocations: 344.3 kB / 0.5574 GB, free: 1.496 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.5899, allocations: 8.031 kB / 0.5574 GB, free: 1.488 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.59, allocations: 14.61 kB / 0.5574 GB, free: 1.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.562e-05/0.5901, allocations: 163 kB / 0.5575 GB, free: 1.281 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.5901, allocations: 3.938 kB / 0.5575 GB, free: 1.277 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.5901, allocations: 0 / 0.5575 GB, free: 1.277 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.818e-05/0.5902, allocations: 33.7 kB / 0.5576 GB, free: 1.238 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.5902, allocations: 3.938 kB / 0.5576 GB, free: 1.234 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.5902, allocations: 0 / 0.5576 GB, free: 1.234 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5902, allocations: 0 / 0.5576 GB, free: 1.234 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.5903, allocations: 4 kB / 0.5576 GB, free: 1.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.5904, allocations: 149.6 kB / 0.5577 GB, free: 1.035 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.562e-05/0.5904, allocations: 22.33 kB / 0.5577 GB, free: 1.008 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.559e-05/0.5904, allocations: 8.953 kB / 0.5577 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.5905, allocations: 4 kB / 0.5577 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.5905, allocations: 56.27 kB / 0.5578 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.5905, allocations: 0 / 0.5578 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001444/0.5907, allocations: 63.39 kB / 0.5579 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.5907, allocations: 77.11 kB / 0.5579 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.76e-05/0.5908, allocations: 92.88 kB / 0.558 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.5908, allocations: 25.86 kB / 0.558 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.271e-05/0.5908, allocations: 154.6 kB / 0.5582 GB, free: 488 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.5908, allocations: 0 / 0.5582 GB, free: 488 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.5909, allocations: 0 / 0.5582 GB, free: 488 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.054e-05/0.5909, allocations: 310.8 kB / 0.5585 GB, free: 168 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.5909, allocations: 4 kB / 0.5585 GB, free: 164 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-06/0.5909, allocations: 6.375 kB / 0.5585 GB, free: 160 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.129e-05/0.591, allocations: 25.7 kB / 0.5585 GB, free: 128 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.591, allocations: 3.953 kB / 0.5585 GB, free: 124 kB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.101e-05/0.5911, allocations: 75.2 kB / 0.5586 GB, free: 40 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.5911, allocations: 33.7 kB / 0.5586 GB, free: 0 / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.5911, allocations: 0 / 0.5586 GB, free: 0 / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.5911, allocations: 0 / 0.5586 GB, free: 0 / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.5912, allocations: 0 / 0.5586 GB, free: 0 / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.5912, allocations: 0.625 kB / 0.5586 GB, free: 0 / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.848e-05/0.5912, allocations: 64 / 0.5586 GB, free: 0 / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.5912, allocations: 64 / 0.5586 GB, free: 0 / 362.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 0.0001152/0.5913, allocations: 136.2 kB / 0.5588 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.5914, allocations: 7.969 kB / 0.5588 GB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.434e-05/0.5914, allocations: 7.125 kB / 0.5588 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5914, allocations: 0 / 0.5588 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5914, allocations: 4 kB / 0.5588 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5914, allocations: 0 / 0.5588 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.5916, allocations: 145.7 kB / 0.5589 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5916, allocations: 0 / 0.5589 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-06/0.5916, allocations: 7.891 kB / 0.5589 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5916, allocations: 0 / 0.5589 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.5916, allocations: 8.688 kB / 0.5589 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5916, allocations: 0 / 0.5589 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5916, allocations: 7.938 kB / 0.5589 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.5918, allocations: 86.83 kB / 0.559 GB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.5918, allocations: 77.11 kB / 0.5591 GB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.5919, allocations: 7.828 kB / 0.5591 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.37e-05/0.5919, allocations: 4 kB / 0.5591 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.5919, allocations: 4 kB / 0.5591 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.5919, allocations: 0 / 0.5591 GB, free: 15.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.329e-05/0.592, allocations: 79.31 kB / 0.5592 GB, free: 15.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.592, allocations: 0 / 0.5592 GB, free: 15.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002748/0.5923, allocations: 27.98 kB / 0.5592 GB, free: 15.3 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) * 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.0004649/0.5927, allocations: 197.3 kB / 0.5594 GB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.776e-05/0.5928, allocations: 59.34 kB / 0.5595 GB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.5928, allocations: 0 / 0.5595 GB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.35e-05/0.5929, allocations: 55.41 kB / 0.5595 GB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001019/0.593, allocations: 0 / 0.5595 GB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000166/0.5932, allocations: 74.75 kB / 0.5596 GB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.5935, allocations: 0.6692 MB / 0.5602 GB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.175e-05/0.5935, allocations: 11.56 kB / 0.5603 GB, free: 14.18 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5935, allocations: 4 kB / 0.5603 GB, free: 14.18 MB / 378.7 MB Notification: Performance of Templates: time 0.002932/0.5964, allocations: 0.8392 MB / 0.5611 GB, free: 13.34 MB / 378.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