Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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.00145/0.00145, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001816/0.001816, allocations: 165.8 kB / 25.69 MB, free: 8.453 MB / 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.9379/0.9379, allocations: 158.6 MB / 187.6 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/1.991e-05, allocations: 6.25 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001629/0.001649, allocations: 0.5814 MB / 252.1 MB, free: 6.676 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002635/0.004284, allocations: 1.983 MB / 254.1 MB, free: 4.672 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.004327, allocations: 4 kB / 254.1 MB, free: 4.668 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002172/0.006499, allocations: 183.3 kB / 254.3 MB, free: 4.527 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.941e-05/0.006568, allocations: 35.91 kB / 254.3 MB, free: 4.492 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.006736, allocations: 51.8 kB / 254.4 MB, free: 4.441 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.00684, allocations: 51.83 kB / 254.4 MB, free: 4.391 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.006874, allocations: 0 / 254.4 MB, free: 4.391 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.008213, allocations: 323.4 kB / 254.7 MB, free: 4.09 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.907e-05/0.008302, allocations: 19.91 kB / 254.8 MB, free: 4.07 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.008321, allocations: 4 kB / 254.8 MB, free: 4.066 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.449e-05/0.008376, allocations: 15.98 kB / 254.8 MB, free: 4.051 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.377e-05/0.00845, allocations: 35.84 kB / 254.8 MB, free: 4.016 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.008479, allocations: 11.94 kB / 254.8 MB, free: 4.004 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.008691, allocations: 71.67 kB / 254.9 MB, free: 3.934 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.008694, allocations: 0 / 254.9 MB, free: 3.934 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.008694, allocations: 0 / 254.9 MB, free: 3.934 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.008699, allocations: 4 kB / 254.9 MB, free: 3.93 MB / 234.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.0003457/0.009044, allocations: 322 kB / 255.2 MB, free: 3.586 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.009079, allocations: 11.98 kB / 255.2 MB, free: 3.574 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.009112, allocations: 4.938 kB / 255.2 MB, free: 3.57 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.009298, allocations: 162.3 kB / 255.4 MB, free: 3.387 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.009306, allocations: 384 / 255.4 MB, free: 3.387 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.009323, allocations: 384 / 255.4 MB, free: 3.387 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.499e-05/0.009418, allocations: 80.44 kB / 255.5 MB, free: 3.289 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.009425, allocations: 192 / 255.5 MB, free: 3.289 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.009432, allocations: 384 / 255.5 MB, free: 3.289 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.009439, allocations: 3.938 kB / 255.5 MB, free: 3.285 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.79e-05/0.009457, allocations: 10.81 kB / 255.5 MB, free: 3.273 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002271/0.009684, allocations: 82.64 kB / 255.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.358e-05/0.009718, allocations: 14.58 kB / 255.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.32e-05/0.009731, allocations: 4.859 kB / 255.6 MB, free: 3.145 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-06/0.009737, allocations: 4.094 kB / 255.6 MB, free: 3.141 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.009775, allocations: 64.2 kB / 255.6 MB, free: 3.062 MB / 234.7 MB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.009776, allocations: 0 / 255.6 MB, free: 3.062 MB / 234.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001115/0.009888, allocations: 41.69 kB / 255.7 MB, free: 3.016 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.009926, allocations: 77.11 kB / 255.8 MB, free: 2.922 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.01005, allocations: 163.4 kB / 255.9 MB, free: 2.75 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.01006, allocations: 29.7 kB / 256 MB, free: 2.715 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.0101, allocations: 88.12 kB / 256 MB, free: 2.625 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.01011, allocations: 4 kB / 256 MB, free: 2.621 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.01015, allocations: 17.7 kB / 256.1 MB, free: 2.598 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.01024, allocations: 330.7 kB / 256.4 MB, free: 2.266 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.01025, allocations: 6.953 kB / 256.4 MB, free: 2.258 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.169e-05/0.01028, allocations: 39.42 kB / 256.4 MB, free: 2.207 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.424e-05/0.01031, allocations: 15.62 kB / 256.4 MB, free: 2.188 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01031, allocations: 0 / 256.4 MB, free: 2.188 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.281e-05/0.01037, allocations: 44.52 kB / 256.5 MB, free: 2.137 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.01039, allocations: 4 kB / 256.5 MB, free: 2.133 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01039, allocations: 0 / 256.5 MB, free: 2.133 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.0104, allocations: 0 / 256.5 MB, free: 2.133 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.306e-05/0.01043, allocations: 4 kB / 256.5 MB, free: 2.129 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-06/0.01044, allocations: 8.109 kB / 256.5 MB, free: 2.121 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.01047, allocations: 3.938 kB / 256.5 MB, free: 2.117 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.01047, allocations: 4 kB / 256.5 MB, free: 2.113 MB / 234.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 6.536e-05/0.01054, allocations: 112.6 kB / 256.6 MB, free: 1.992 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.01055, allocations: 11.94 kB / 256.6 MB, free: 1.98 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.01058, allocations: 16.47 kB / 256.6 MB, free: 1.961 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.01058, allocations: 0 / 256.6 MB, free: 1.961 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.01058, allocations: 0 / 256.6 MB, free: 1.961 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01059, allocations: 4 kB / 256.6 MB, free: 1.957 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.01072, allocations: 89.8 kB / 256.7 MB, free: 1.852 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.01072, allocations: 8 kB / 256.7 MB, free: 1.844 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.072e-05/0.01075, allocations: 0 / 256.7 MB, free: 1.844 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01075, allocations: 3.984 kB / 256.7 MB, free: 1.84 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.01076, allocations: 0 / 256.7 MB, free: 1.84 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.01076, allocations: 0 / 256.7 MB, free: 1.84 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.01076, allocations: 4 kB / 256.8 MB, free: 1.836 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.711e-05/0.01086, allocations: 74.72 kB / 256.8 MB, free: 1.742 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.01089, allocations: 11.91 kB / 256.8 MB, free: 1.73 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.0109, allocations: 0 / 256.8 MB, free: 1.73 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.307e-05/0.01092, allocations: 0 / 256.8 MB, free: 1.73 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.01094, allocations: 11.98 kB / 256.8 MB, free: 1.719 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.01094, allocations: 0 / 256.8 MB, free: 1.719 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.339e-05/0.01099, allocations: 50.72 kB / 256.9 MB, free: 1.668 MB / 234.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01099, allocations: 0 / 256.9 MB, free: 1.668 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001772/0.01117, allocations: 12 kB / 256.9 MB, free: 1.656 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0004076/0.01158, allocations: 169.4 kB / 257.1 MB, free: 1.488 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.324e-05/0.01164, allocations: 12.84 kB / 257.1 MB, free: 1.473 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.01164, allocations: 0 / 257.1 MB, free: 1.473 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 7.915e-06/0.01165, allocations: 8.859 kB / 257.1 MB, free: 1.461 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.53e-05/0.01172, allocations: 11.94 kB / 257.1 MB, free: 1.449 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.01194, allocations: 226.6 kB / 257.3 MB, free: 1.199 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.212e-05/0.01197, allocations: 67.33 kB / 257.4 MB, free: 1.113 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.365e-05/0.012, allocations: 16.42 kB / 257.4 MB, free: 1.098 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.816e-05/0.01207, allocations: 71.34 kB / 257.5 MB, free: 1.027 MB / 234.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01207, allocations: 0 / 257.5 MB, free: 1.027 MB / 234.7 MB Notification: Performance of Templates: time 0.002347/0.01441, allocations: 1.015 MB / 258.5 MB, free: 16 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.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.5987989669665694]