Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002041/0.002041, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.009/1.009, allocations: 173.4 MB / 201.1 MB, free: 8.98 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 268 MB, free: 6.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.364e-05, allocations: 2.312 kB / 268 MB, free: 6.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.00141/0.001434, allocations: 0.5294 MB / 268.5 MB, free: 5.781 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.003081, allocations: 1.935 MB / 270.4 MB, free: 3.828 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.549e-05/0.003126, allocations: 0 / 270.4 MB, free: 3.828 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.005021, allocations: 201.4 kB / 270.6 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.241e-05/0.005073, allocations: 35.84 kB / 270.7 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.005214, allocations: 39.88 kB / 270.7 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.343e-05/0.005297, allocations: 51.83 kB / 270.8 MB, free: 3.574 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.005333, allocations: 3.984 kB / 270.8 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.194e-05/0.005415, allocations: 35.92 kB / 270.8 MB, free: 3.535 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.772e-05/0.005493, allocations: 23.91 kB / 270.8 MB, free: 3.512 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.005512, allocations: 4 kB / 270.8 MB, free: 3.508 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.062e-05/0.005563, allocations: 15.92 kB / 270.8 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.481e-05/0.005637, allocations: 47.89 kB / 270.9 MB, free: 3.445 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.005672, allocations: 11.98 kB / 270.9 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.005872, allocations: 59.75 kB / 271 MB, free: 3.375 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005874, allocations: 0 / 271 MB, free: 3.375 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005875, allocations: 4 kB / 271 MB, free: 3.371 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.005878, allocations: 0 / 271 MB, free: 3.371 MB / 250.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.000332/0.00621, allocations: 418 kB / 271.4 MB, free: 2.922 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.006244, allocations: 12.92 kB / 271.4 MB, free: 2.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.006287, allocations: 12.89 kB / 271.4 MB, free: 2.898 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.006414, allocations: 140.5 kB / 271.5 MB, free: 2.734 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-06/0.006421, allocations: 384 / 271.5 MB, free: 2.734 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.006442, allocations: 4.375 kB / 271.5 MB, free: 2.73 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.006566, allocations: 179.5 kB / 271.7 MB, free: 2.504 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.398e-06/0.00657, allocations: 192 / 271.7 MB, free: 2.504 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.006581, allocations: 4.375 kB / 271.7 MB, free: 2.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.006588, allocations: 3.938 kB / 271.7 MB, free: 2.496 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.238e-06/0.006597, allocations: 3.984 kB / 271.7 MB, free: 2.492 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.006826, allocations: 136.7 kB / 271.9 MB, free: 2.324 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.562e-05/0.006862, allocations: 23.06 kB / 271.9 MB, free: 2.289 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.475e-05/0.006876, allocations: 11.75 kB / 271.9 MB, free: 2.273 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.006883, allocations: 0 / 271.9 MB, free: 2.273 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.006918, allocations: 67.03 kB / 272 MB, free: 2.191 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.006918, allocations: 3.938 kB / 272 MB, free: 2.188 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001071/0.007025, allocations: 41.64 kB / 272 MB, free: 2.141 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.007084, allocations: 162.2 kB / 272.2 MB, free: 1.945 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.613e-05/0.00718, allocations: 196.9 kB / 272.3 MB, free: 1.738 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.007193, allocations: 33.81 kB / 272.4 MB, free: 1.699 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.007238, allocations: 138.9 kB / 272.5 MB, free: 1.559 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.007256, allocations: 3.953 kB / 272.5 MB, free: 1.555 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.007285, allocations: 23.38 kB / 272.5 MB, free: 1.523 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.007389, allocations: 0.4923 MB / 273 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.007398, allocations: 0 / 273 MB, free: 1.02 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.944e-05/0.007457, allocations: 161.2 kB / 273.2 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/0.007481, allocations: 11.69 kB / 273.2 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007483, allocations: 0 / 273.2 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.469e-05/0.007527, allocations: 41.72 kB / 273.2 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.007538, allocations: 8.031 kB / 273.3 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.007542, allocations: 0 / 273.3 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.007553, allocations: 0 / 273.3 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.45e-05/0.007578, allocations: 7.984 kB / 273.3 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.007583, allocations: 3.938 kB / 273.3 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.007628, allocations: 8 kB / 273.3 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.007632, allocations: 3.938 kB / 273.3 MB, free: 0.7227 MB / 250.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 5.703e-05/0.007689, allocations: 156.6 kB / 273.4 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-06/0.007697, allocations: 4 kB / 273.4 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.00772, allocations: 11.81 kB / 273.4 MB, free: 0.543 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.41e-07/0.007721, allocations: 4 kB / 273.4 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.007725, allocations: 7.922 kB / 273.5 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.007727, allocations: 0 / 273.5 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.492e-05/0.007822, allocations: 128.6 kB / 273.6 MB, free: 380 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.007822, allocations: 0 / 273.6 MB, free: 380 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.317e-05/0.007836, allocations: 4.047 kB / 273.6 MB, free: 376 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.007838, allocations: 3.984 kB / 273.6 MB, free: 372 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.007849, allocations: 4 kB / 273.6 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.5e-07/0.007849, allocations: 0 / 273.6 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.00785, allocations: 0 / 273.6 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.084e-05/0.007941, allocations: 92.38 kB / 273.7 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.007961, allocations: 15.88 kB / 273.7 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.007972, allocations: 3.938 kB / 273.7 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.515e-05/0.007998, allocations: 4 kB / 273.7 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.008009, allocations: 0 / 273.7 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.008011, allocations: 3.938 kB / 273.7 MB, free: 224 kB / 250.7 MB Notification: Performance of sorting global known variables: time 5.019e-05/0.008062, allocations: 151.2 kB / 273.9 MB, free: 72 kB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008062, allocations: 0 / 273.9 MB, free: 72 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001342/0.008196, allocations: 8 kB / 273.9 MB, free: 64 kB / 250.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.0002885/0.008484, allocations: 175.6 kB / 274 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.074e-05/0.008555, allocations: 27.67 kB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008557, allocations: 0 / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.913e-06/0.008564, allocations: 7.688 kB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/0.008673, allocations: 10.75 kB / 274.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.008942, allocations: 245.7 kB / 274.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.451e-05/0.008977, allocations: 71.27 kB / 274.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.472e-05/0.009001, allocations: 4 kB / 274.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.009027, allocations: 20.48 kB / 274.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.009027, allocations: 4.125 kB / 274.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Templates: time 0.002759/0.01179, allocations: 1.273 MB / 275.7 MB, free: 14.25 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 3.111186570022255]