Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 179.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 221.3 MB / 236 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008005/0.0008005, allocations: 99.73 kB / 287 MB, free: 224 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1858/0.1858, allocations: 44.15 MB / 382 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.606e-05, allocations: 7.984 kB / 451.8 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1085, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3434/0.4519, allocations: 85.6 MB / 0.5853 GB, free: 3.711 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.4522, allocations: 63.97 kB / 0.5853 GB, free: 3.648 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004072/0.4563, allocations: 1.733 MB / 0.587 GB, free: 1.926 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4563, allocations: 0 / 0.587 GB, free: 1.926 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.4563, allocations: 0 / 0.587 GB, free: 1.926 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.0003464/0.4567, allocations: 356.2 kB / 0.5874 GB, free: 1.527 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.4567, allocations: 8.031 kB / 0.5874 GB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.4568, allocations: 7.938 kB / 0.5874 GB, free: 1.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.457, allocations: 163.1 kB / 0.5876 GB, free: 1.312 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.457, allocations: 0 / 0.5876 GB, free: 1.312 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.457, allocations: 0 / 0.5876 GB, free: 1.312 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.4571, allocations: 41.58 kB / 0.5876 GB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4571, allocations: 0 / 0.5876 GB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.4572, allocations: 0 / 0.5876 GB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4572, allocations: 0 / 0.5876 GB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.993e-05/0.4572, allocations: 0 / 0.5876 GB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.4574, allocations: 149.7 kB / 0.5877 GB, free: 1.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.86e-05/0.4574, allocations: 22.58 kB / 0.5878 GB, free: 1.039 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.4575, allocations: 12.89 kB / 0.5878 GB, free: 1.023 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.4575, allocations: 3.984 kB / 0.5878 GB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.877e-05/0.4576, allocations: 61.22 kB / 0.5878 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.4576, allocations: 0 / 0.5878 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002062/0.4578, allocations: 59.41 kB / 0.5879 GB, free: 0.875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.4579, allocations: 77.11 kB / 0.588 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.258e-05/0.458, allocations: 96.97 kB / 0.5881 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.458, allocations: 29.7 kB / 0.5881 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.458, allocations: 84.12 kB / 0.5882 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.4581, allocations: 0 / 0.5882 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.4581, allocations: 0 / 0.5882 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4582, allocations: 310.8 kB / 0.5885 GB, free: 252 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-06/0.4583, allocations: 0 / 0.5885 GB, free: 252 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.094e-05/0.4583, allocations: 8.062 kB / 0.5885 GB, free: 244 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.709e-05/0.4583, allocations: 29.77 kB / 0.5885 GB, free: 208 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4583, allocations: 0 / 0.5885 GB, free: 208 kB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.911e-05/0.4584, allocations: 63.41 kB / 0.5886 GB, free: 132 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/0.4585, allocations: 37.69 kB / 0.5886 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.4585, allocations: 0 / 0.5886 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.4585, allocations: 3.953 kB / 0.5886 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.4585, allocations: 0 / 0.5886 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.4585, allocations: 0.5469 kB / 0.5886 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.35e-05/0.4585, allocations: 0 / 0.5886 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.4586, allocations: 4.031 kB / 0.5886 GB, free: 80 kB / 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 0.0001237/0.4587, allocations: 130.7 kB / 0.5887 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.4587, allocations: 3.938 kB / 0.5887 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.863e-05/0.4587, allocations: 7.078 kB / 0.5887 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.4587, allocations: 3.953 kB / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4587, allocations: 0 / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4588, allocations: 7.984 kB / 0.5887 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.4589, allocations: 141.7 kB / 0.5889 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4589, allocations: 3.938 kB / 0.5889 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.4589, allocations: 4 kB / 0.5889 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4589, allocations: 0 / 0.5889 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.4589, allocations: 7.938 kB / 0.5889 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.4589, allocations: 0 / 0.5889 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4589, allocations: 3.953 kB / 0.5889 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.4591, allocations: 90.83 kB / 0.589 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.4591, allocations: 77.11 kB / 0.5891 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.4591, allocations: 0 / 0.5891 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.938e-06/0.4592, allocations: 8.016 kB / 0.5891 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.4592, allocations: 4 kB / 0.5891 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.4592, allocations: 11.89 kB / 0.5891 GB, free: 15.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.191e-05/0.4592, allocations: 75.28 kB / 0.5892 GB, free: 15.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4593, allocations: 0 / 0.5892 GB, free: 15.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.4595, allocations: 20 kB / 0.5892 GB, free: 15.38 MB / 410.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.0004769/0.46, allocations: 190.1 kB / 0.5894 GB, free: 15.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.4601, allocations: 67.33 kB / 0.5894 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4601, allocations: 4.062 kB / 0.5894 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.966e-05/0.4601, allocations: 59.39 kB / 0.5895 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.778e-05/0.4603, allocations: 1.25 kB / 0.5895 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001791/0.4604, allocations: 47.67 kB / 0.5895 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.4607, allocations: 0.6731 MB / 0.5902 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.645e-06/0.4607, allocations: 0 / 0.5902 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.249e-05/0.4607, allocations: 11.44 kB / 0.5902 GB, free: 14.29 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4607, allocations: 0 / 0.5902 GB, free: 14.29 MB / 410.7 MB Notification: Performance of Templates: time 0.002955/0.4637, allocations: 0.608 MB / 0.5908 GB, free: 13.69 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches