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: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 183.8 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.428/1.428, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0007934/0.0007934, allocations: 78.62 kB / 267 MB, free: 9.277 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.3669/0.3669, allocations: 43.46 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.772e-05/2.78e-05, allocations: 0 / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.128, allocations: 58.85 MB / 484.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3736/0.5016, allocations: 84.47 MB / 0.5553 GB, free: 18.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.5019, allocations: 62.45 kB / 0.5554 GB, free: 18.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003704/0.5056, allocations: 1.723 MB / 0.557 GB, free: 17.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5056, allocations: 1.125 kB / 0.557 GB, free: 17.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.5056, allocations: 0 / 0.557 GB, free: 17.9 MB / 394.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.000193/0.5058, allocations: 352.1 kB / 0.5574 GB, free: 17.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.5059, allocations: 8.031 kB / 0.5574 GB, free: 17.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.5059, allocations: 6.844 kB / 0.5574 GB, free: 17.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.017e-05/0.506, allocations: 164.6 kB / 0.5575 GB, free: 17.31 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.506, allocations: 0 / 0.5575 GB, free: 17.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.506, allocations: 4 kB / 0.5575 GB, free: 17.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.935e-05/0.5061, allocations: 31.16 kB / 0.5576 GB, free: 17.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.5061, allocations: 0 / 0.5576 GB, free: 17.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.5061, allocations: 3.438 kB / 0.5576 GB, free: 17.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5061, allocations: 5.375 kB / 0.5576 GB, free: 17.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.597e-05/0.5062, allocations: 3.938 kB / 0.5576 GB, free: 17.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.298e-05/0.5063, allocations: 146.9 kB / 0.5577 GB, free: 17.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.944e-05/0.5063, allocations: 23.83 kB / 0.5578 GB, free: 17.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.069e-05/0.5063, allocations: 8.859 kB / 0.5578 GB, free: 17.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/0.5063, allocations: 0 / 0.5578 GB, free: 17.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.5063, allocations: 60.33 kB / 0.5578 GB, free: 16.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.5064, allocations: 0 / 0.5578 GB, free: 16.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001284/0.5065, allocations: 62.16 kB / 0.5579 GB, free: 16.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.5065, allocations: 81.11 kB / 0.558 GB, free: 16.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.338e-05/0.5066, allocations: 90.66 kB / 0.558 GB, free: 16.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.126e-06/0.5066, allocations: 29.86 kB / 0.5581 GB, free: 16.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.294e-05/0.5066, allocations: 80.14 kB / 0.5581 GB, free: 16.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.5066, allocations: 0.625 kB / 0.5581 GB, free: 16.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-06/0.5066, allocations: 4 kB / 0.5581 GB, free: 16.58 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.407e-05/0.5067, allocations: 313.3 kB / 0.5584 GB, free: 16.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.703e-06/0.5067, allocations: 0.6562 kB / 0.5584 GB, free: 16.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-06/0.5067, allocations: 0 / 0.5584 GB, free: 16.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.624e-05/0.5067, allocations: 31.62 kB / 0.5585 GB, free: 16.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5068, allocations: 8.016 kB / 0.5585 GB, free: 16.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.099e-05/0.5068, allocations: 72.34 kB / 0.5586 GB, free: 16.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.5068, allocations: 29.7 kB / 0.5586 GB, free: 16.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5068, allocations: 4.469 kB / 0.5586 GB, free: 16.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.5069, allocations: 0 / 0.5586 GB, free: 16.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.5069, allocations: 0 / 0.5586 GB, free: 16.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.5069, allocations: 4 kB / 0.5586 GB, free: 16.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.181e-05/0.5069, allocations: 0 / 0.5586 GB, free: 16.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-06/0.5069, allocations: 1.312 kB / 0.5586 GB, free: 16.11 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 () * 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 4.711e-05/0.507, allocations: 131.7 kB / 0.5587 GB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-06/0.507, allocations: 7.953 kB / 0.5587 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.166e-05/0.507, allocations: 4.016 kB / 0.5587 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.507, allocations: 0 / 0.5587 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.507, allocations: 1.359 kB / 0.5587 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.507, allocations: 0 / 0.5587 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.695e-05/0.5071, allocations: 147 kB / 0.5589 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5071, allocations: 1.125 kB / 0.5589 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-06/0.5071, allocations: 3.953 kB / 0.5589 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.5071, allocations: 0 / 0.5589 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.5071, allocations: 4 kB / 0.5589 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.5071, allocations: 0 / 0.5589 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5071, allocations: 1.453 kB / 0.5589 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.702e-05/0.5072, allocations: 92.27 kB / 0.559 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.5072, allocations: 82.27 kB / 0.559 GB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.5072, allocations: 7.953 kB / 0.5591 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-06/0.5073, allocations: 3.922 kB / 0.5591 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.5073, allocations: 3.875 kB / 0.5591 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.5073, allocations: 4.031 kB / 0.5591 GB, free: 15.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.811e-05/0.5073, allocations: 79.28 kB / 0.5591 GB, free: 15.47 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5073, allocations: 0 / 0.5591 GB, free: 15.47 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.5075, allocations: 25.72 kB / 0.5592 GB, free: 15.45 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) * 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.0003149/0.5078, allocations: 184.8 kB / 0.5593 GB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.854e-05/0.5079, allocations: 60.62 kB / 0.5594 GB, free: 15.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5079, allocations: 0 / 0.5594 GB, free: 15.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.873e-05/0.508, allocations: 59.34 kB / 0.5595 GB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.134e-05/0.508, allocations: 5.406 kB / 0.5595 GB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001178/0.5082, allocations: 49.03 kB / 0.5595 GB, free: 15.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.049e-05/0.5083, allocations: 0.6745 MB / 0.5602 GB, free: 14.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.29e-06/0.5083, allocations: 1.453 kB / 0.5602 GB, free: 14.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.273e-06/0.5083, allocations: 7.438 kB / 0.5602 GB, free: 14.39 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5083, allocations: 0 / 0.5602 GB, free: 14.39 MB / 394.7 MB Notification: Performance of Templates: time 0.002325/0.5106, allocations: 0.6071 MB / 0.5608 GB, free: 14.03 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches