Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001002/0.001002, allocations: 198 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 226.5 MB / 244.1 MB, free: 8.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007387/0.0007386, allocations: 95.42 kB / 296.1 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3021/0.3021, allocations: 44.83 MB / 393 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002816, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3246, allocations: 62.95 MB / 0.5165 GB, free: 36.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.4365, allocations: 86.59 MB / 0.601 GB, free: 2.777 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.4368, allocations: 59.97 kB / 0.6011 GB, free: 2.719 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004345/0.4412, allocations: 1.928 MB / 0.603 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4412, allocations: 0 / 0.603 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.4412, allocations: 0 / 0.603 GB, free: 0.7891 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.0003458/0.4416, allocations: 361.2 kB / 0.6033 GB, free: 388 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.4416, allocations: 8.031 kB / 0.6033 GB, free: 380 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.4417, allocations: 4.938 kB / 0.6033 GB, free: 376 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.4418, allocations: 164.4 kB / 0.6035 GB, free: 172 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.4418, allocations: 384 / 0.6035 GB, free: 172 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.4418, allocations: 4.375 kB / 0.6035 GB, free: 168 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.779e-05/0.4419, allocations: 38.2 kB / 0.6035 GB, free: 124 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.4419, allocations: 192 / 0.6035 GB, free: 124 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.4419, allocations: 3.938 kB / 0.6035 GB, free: 120 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.442, allocations: 0 / 0.6035 GB, free: 120 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.481e-05/0.442, allocations: 0 / 0.6035 GB, free: 120 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.4421, allocations: 149.7 kB / 0.6037 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.388e-05/0.4422, allocations: 14.58 kB / 0.6037 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.948e-05/0.4422, allocations: 16.89 kB / 0.6037 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.4422, allocations: 7.938 kB / 0.6037 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.4423, allocations: 56.27 kB / 0.6038 GB, free: 15.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.4423, allocations: 0 / 0.6038 GB, free: 15.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001772/0.4425, allocations: 71.31 kB / 0.6038 GB, free: 15.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/0.4426, allocations: 77.11 kB / 0.6039 GB, free: 15.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.919e-05/0.4426, allocations: 102 kB / 0.604 GB, free: 15.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.4426, allocations: 25.7 kB / 0.604 GB, free: 15.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.4427, allocations: 80.14 kB / 0.6041 GB, free: 15.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.4427, allocations: 0 / 0.6041 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.4427, allocations: 0 / 0.6041 GB, free: 15.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4428, allocations: 310.8 kB / 0.6044 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/0.4428, allocations: 7.938 kB / 0.6044 GB, free: 15.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-06/0.4429, allocations: 3.984 kB / 0.6044 GB, free: 15.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.238e-05/0.4429, allocations: 68.39 kB / 0.6045 GB, free: 15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.4429, allocations: 0 / 0.6045 GB, free: 15 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.574e-05/0.443, allocations: 63.41 kB / 0.6045 GB, free: 14.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.443, allocations: 29.7 kB / 0.6046 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4431, allocations: 3.938 kB / 0.6046 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.4431, allocations: 3.984 kB / 0.6046 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.4431, allocations: 0 / 0.6046 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.4431, allocations: 4 kB / 0.6046 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.255e-05/0.4431, allocations: 0 / 0.6046 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.4431, allocations: 0 / 0.6046 GB, free: 14.88 MB / 426.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 8.734e-05/0.4432, allocations: 139.5 kB / 0.6047 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-06/0.4432, allocations: 4 kB / 0.6047 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.272e-05/0.4433, allocations: 10.66 kB / 0.6047 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.4433, allocations: 0 / 0.6047 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4433, allocations: 3.984 kB / 0.6047 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.4433, allocations: 0 / 0.6047 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.252e-05/0.4434, allocations: 153.7 kB / 0.6049 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.4434, allocations: 0 / 0.6049 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.4434, allocations: 0 / 0.6049 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4434, allocations: 4 kB / 0.6049 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.4434, allocations: 7.938 kB / 0.6049 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.4434, allocations: 0 / 0.6049 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4434, allocations: 0 / 0.6049 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.4435, allocations: 90.83 kB / 0.605 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.743e-05/0.4435, allocations: 77.11 kB / 0.605 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.4436, allocations: 7.938 kB / 0.605 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-06/0.4436, allocations: 0 / 0.605 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.075e-05/0.4436, allocations: 4.031 kB / 0.605 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-06/0.4436, allocations: 3.984 kB / 0.6051 GB, free: 14.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.08e-05/0.4436, allocations: 87.16 kB / 0.6051 GB, free: 14.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4437, allocations: 0 / 0.6051 GB, free: 14.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002115/0.4439, allocations: 16 kB / 0.6051 GB, free: 14.17 MB / 426.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.000357/0.4442, allocations: 184.6 kB / 0.6053 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.621e-05/0.4443, allocations: 59.39 kB / 0.6054 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4443, allocations: 0 / 0.6054 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.868e-05/0.4444, allocations: 59.47 kB / 0.6054 GB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.4445, allocations: 4 kB / 0.6054 GB, free: 13.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001798/0.4447, allocations: 108.4 kB / 0.6055 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.4449, allocations: 0.6731 MB / 0.6062 GB, free: 13.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.979e-06/0.4449, allocations: 7.438 kB / 0.6062 GB, free: 13.02 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4449, allocations: 0 / 0.6062 GB, free: 13.02 MB / 426.7 MB Notification: Performance of Templates: time 0.002181/0.4471, allocations: 0.83 MB / 0.607 GB, free: 12.2 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestReadFile.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestReadFile --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches