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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009311/0.0009311, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008911/0.0008911, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9713/0.9713, allocations: 158.6 MB / 186 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1363/0.1363, allocations: 32.38 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.479e-05, allocations: 2.312 kB / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001042/0.001057, allocations: 0.5407 MB / 299.6 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008412/0.001898, allocations: 0.9195 MB / 300.5 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/0.00192, allocations: 0 / 300.5 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.292e-05/0.001933, allocations: 0 / 300.5 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.00209, allocations: 7.984 kB / 300.5 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.002517, allocations: 59.67 kB / 300.6 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.586e-05/0.002563, allocations: 4 kB / 300.6 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.936e-05/0.002592, allocations: 4 kB / 300.6 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.804e-05/0.00262, allocations: 0 / 300.6 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.119e-05/0.002652, allocations: 7.984 kB / 300.6 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.973e-06/0.002659, allocations: 4 kB / 300.6 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.002763, allocations: 51.89 kB / 300.7 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.002772, allocations: 4 kB / 300.7 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.281e-05/0.002785, allocations: 0 / 300.7 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.002906, allocations: 63.78 kB / 300.7 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-06/0.002907, allocations: 0 / 300.7 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.002908, allocations: 0 / 300.7 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.002911, allocations: 4 kB / 300.7 MB, free: 0.5234 MB / 282.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.0002028/0.003114, allocations: 254.3 kB / 301 MB, free: 248 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.003143, allocations: 8.031 kB / 301 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.00317, allocations: 4.922 kB / 301 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.606e-05/0.003246, allocations: 113.8 kB / 301.1 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.003255, allocations: 384 / 301.1 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-06/0.00326, allocations: 384 / 301.1 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.692e-05/0.003317, allocations: 59.95 kB / 301.2 MB, free: 24 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.003323, allocations: 192 / 301.2 MB, free: 24 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-06/0.003327, allocations: 384 / 301.2 MB, free: 24 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.003332, allocations: 8.312 kB / 301.2 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1807/0.184, allocations: 37.2 kB / 301.2 MB, free: 19.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.933e-05/0.1841, allocations: 53.05 kB / 301.3 MB, free: 19.42 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.172e-05/0.1842, allocations: 43.39 kB / 301.3 MB, free: 19.37 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.445e-05/0.1842, allocations: 32.39 kB / 301.3 MB, free: 19.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-06/0.1842, allocations: 0.5 kB / 301.3 MB, free: 19.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1842, allocations: 60.52 kB / 301.4 MB, free: 19.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.1842, allocations: 0 / 301.4 MB, free: 19.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001162/0.1843, allocations: 113.7 kB / 301.5 MB, free: 19.13 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.1844, allocations: 81.09 kB / 301.6 MB, free: 19.04 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.921e-05/0.1844, allocations: 102.5 kB / 301.7 MB, free: 18.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.112e-06/0.1844, allocations: 30.33 kB / 301.7 MB, free: 18.9 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.448e-06/0.1844, allocations: 80.77 kB / 301.8 MB, free: 18.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.1844, allocations: 1 kB / 301.8 MB, free: 18.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.1845, allocations: 13 kB / 301.8 MB, free: 18.8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.739e-05/0.1845, allocations: 316.6 kB / 302.1 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-06/0.1845, allocations: 32.22 kB / 302.2 MB, free: 18.46 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.214e-05/0.1845, allocations: 29.25 kB / 302.2 MB, free: 18.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.896e-05/0.1846, allocations: 61.89 kB / 302.2 MB, free: 18.36 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1846, allocations: 3.062 kB / 302.3 MB, free: 18.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.621e-05/0.1846, allocations: 85.58 kB / 302.3 MB, free: 18.26 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.1846, allocations: 33.94 kB / 302.4 MB, free: 18.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1846, allocations: 1.031 kB / 302.4 MB, free: 18.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1846, allocations: 0.75 kB / 302.4 MB, free: 18.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.1846, allocations: 0 / 302.4 MB, free: 18.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.1846, allocations: 1.906 kB / 302.4 MB, free: 18.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.055e-05/0.1847, allocations: 5 kB / 302.4 MB, free: 18.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1847, allocations: 1.188 kB / 302.4 MB, free: 18.23 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.741e-05/0.1847, allocations: 137 kB / 302.5 MB, free: 18.08 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-06/0.1847, allocations: 5.281 kB / 302.5 MB, free: 18.08 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.634e-05/0.1847, allocations: 8.906 kB / 302.5 MB, free: 18.08 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1847, allocations: 0.9688 kB / 302.5 MB, free: 18.08 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.1847, allocations: 1.547 kB / 302.5 MB, free: 18.08 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1847, allocations: 1.125 kB / 302.5 MB, free: 18.08 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.631e-05/0.1848, allocations: 65.75 kB / 302.6 MB, free: 18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1848, allocations: 1.781 kB / 302.6 MB, free: 18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1848, allocations: 1.75 kB / 302.6 MB, free: 18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1848, allocations: 3.891 kB / 302.6 MB, free: 18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.1848, allocations: 0.5156 kB / 302.6 MB, free: 18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.1848, allocations: 1.781 kB / 302.6 MB, free: 18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1848, allocations: 0 / 302.6 MB, free: 18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.906e-05/0.1848, allocations: 115.4 kB / 302.7 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-06/0.1848, allocations: 6.016 kB / 302.7 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.1849, allocations: 1.938 kB / 302.7 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.989e-06/0.1849, allocations: 4.938 kB / 302.7 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-06/0.1849, allocations: 0.5625 kB / 302.7 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-06/0.1849, allocations: 2.406 kB / 302.7 MB, free: 17.87 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.045e-06/0.1849, allocations: 9.266 kB / 302.7 MB, free: 17.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1849, allocations: 0 / 302.7 MB, free: 17.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001351/0.185, allocations: 19.75 kB / 302.8 MB, free: 17.86 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003461/0.1854, allocations: 196.6 kB / 303 MB, free: 17.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.244e-05/0.1854, allocations: 119.3 kB / 303.1 MB, free: 17.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1854, allocations: 1.062 kB / 303.1 MB, free: 17.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.781e-05/0.1855, allocations: 86.48 kB / 303.2 MB, free: 17.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.497e-05/0.1855, allocations: 6.094 kB / 303.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001298/0.1856, allocations: 119.1 kB / 303.3 MB, free: 17.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.902e-05/0.1857, allocations: 54.67 kB / 303.3 MB, free: 17.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.441e-06/0.1857, allocations: 2.516 kB / 303.3 MB, free: 17.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.1857, allocations: 52.72 kB / 303.4 MB, free: 17.31 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1857, allocations: 0.5 kB / 303.4 MB, free: 17.31 MB / 282.7 MB Notification: Performance of Templates: time 0.002531/0.1882, allocations: 0.7783 MB / 304.2 MB, free: 17.24 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8391054403036833]