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.0009672/0.0009672, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001457/0.002425, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0008554/0.0008554, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001307/0.002163, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 1.073/1.073, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2169/1.289, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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 2.254e-06/2.254e-06, allocations: 0 / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.177e-05, allocations: 2.312 kB / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001176/0.001198, allocations: 0.579 MB / 222.6 MB, free: 15.49 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.002974, allocations: 2.005 MB / 224.6 MB, free: 13.46 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.607e-05/0.00301, allocations: 4 kB / 224.6 MB, free: 13.46 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.00532, allocations: 202.9 kB / 224.8 MB, free: 13.3 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.011e-05/0.00537, allocations: 27.97 kB / 224.8 MB, free: 13.27 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.005532, allocations: 47.81 kB / 224.8 MB, free: 13.22 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.005636, allocations: 47.83 kB / 224.9 MB, free: 13.18 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.005676, allocations: 0 / 224.9 MB, free: 13.18 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009812/0.006657, allocations: 313 kB / 225.2 MB, free: 12.88 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.937e-05/0.006756, allocations: 15.97 kB / 225.2 MB, free: 12.86 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.00678, allocations: 0 / 225.2 MB, free: 12.86 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.052e-05/0.00684, allocations: 27.86 kB / 225.2 MB, free: 12.83 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.045e-05/0.006911, allocations: 31.92 kB / 225.3 MB, free: 12.8 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.006945, allocations: 7.938 kB / 225.3 MB, free: 12.79 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.007165, allocations: 55.77 kB / 225.3 MB, free: 12.74 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.605e-05/0.007181, allocations: 0 / 225.3 MB, free: 12.74 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.007182, allocations: 4 kB / 225.3 MB, free: 12.73 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.007196, allocations: 0 / 225.3 MB, free: 12.73 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.0004852/0.007681, allocations: 345.6 kB / 225.7 MB, free: 12.37 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.007724, allocations: 8.031 kB / 225.7 MB, free: 12.36 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.007767, allocations: 8.922 kB / 225.7 MB, free: 12.35 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.007948, allocations: 158.3 kB / 225.8 MB, free: 12.17 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.007958, allocations: 384 / 225.8 MB, free: 12.17 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.00798, allocations: 4.375 kB / 225.8 MB, free: 12.17 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.008098, allocations: 68.52 kB / 225.9 MB, free: 12.08 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.008107, allocations: 4.172 kB / 225.9 MB, free: 12.08 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.008119, allocations: 4.375 kB / 225.9 MB, free: 12.07 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.008129, allocations: 7.922 kB / 225.9 MB, free: 12.07 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.356e-06/0.008137, allocations: 2.828 kB / 225.9 MB, free: 12.06 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.008391, allocations: 78.7 kB / 226 MB, free: 11.97 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.204e-05/0.008433, allocations: 18.52 kB / 226 MB, free: 11.94 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.227e-05/0.008445, allocations: 8.953 kB / 226 MB, free: 11.93 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/0.008451, allocations: 4 kB / 226 MB, free: 11.93 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.008491, allocations: 64.2 kB / 226.1 MB, free: 11.85 MB / 234.7 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.008491, allocations: 0 / 226.1 MB, free: 11.85 MB / 234.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001204/0.008612, allocations: 37.69 kB / 226.1 MB, free: 11.8 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/0.008696, allocations: 158.2 kB / 226.3 MB, free: 11.61 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.008805, allocations: 167.4 kB / 226.4 MB, free: 11.44 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.008818, allocations: 25.7 kB / 226.5 MB, free: 11.41 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.008881, allocations: 96.09 kB / 226.6 MB, free: 11.31 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.008911, allocations: 11.95 kB / 226.6 MB, free: 11.3 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.008936, allocations: 9.719 kB / 226.6 MB, free: 11.28 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.009029, allocations: 330.9 kB / 226.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.897e-06/0.009038, allocations: 6.828 kB / 226.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.611e-05/0.009064, allocations: 43.41 kB / 227 MB, free: 10.89 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.142e-05/0.009085, allocations: 11.69 kB / 227 MB, free: 10.87 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.009087, allocations: 0 / 227 MB, free: 10.87 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.977e-05/0.009137, allocations: 44.45 kB / 227 MB, free: 10.82 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.009149, allocations: 4 kB / 227 MB, free: 10.82 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.009154, allocations: 0 / 227 MB, free: 10.82 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.009171, allocations: 4 kB / 227 MB, free: 10.81 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.893e-05/0.0092, allocations: 4.125 kB / 227 MB, free: 10.81 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.009205, allocations: 4 kB / 227 MB, free: 10.8 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.009227, allocations: 3.938 kB / 227 MB, free: 10.8 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.009232, allocations: 0 / 227 MB, free: 10.8 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 7.15e-05/0.009303, allocations: 120.7 kB / 227.2 MB, free: 10.67 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.009311, allocations: 7.984 kB / 227.2 MB, free: 10.66 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.009341, allocations: 12.45 kB / 227.2 MB, free: 10.66 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.009343, allocations: 0 / 227.2 MB, free: 10.66 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.009346, allocations: 0 / 227.2 MB, free: 10.66 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.00935, allocations: 3.984 kB / 227.2 MB, free: 10.65 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.00946, allocations: 93.75 kB / 227.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.00946, allocations: 0 / 227.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-05/0.009473, allocations: 0 / 227.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.009497, allocations: 15.91 kB / 227.3 MB, free: 10.53 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.009499, allocations: 4 kB / 227.3 MB, free: 10.52 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.009511, allocations: 3.984 kB / 227.3 MB, free: 10.52 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.009511, allocations: 0 / 227.3 MB, free: 10.52 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.009512, allocations: 0 / 227.3 MB, free: 10.52 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.315e-05/0.009605, allocations: 78.59 kB / 227.4 MB, free: 10.42 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.009617, allocations: 0 / 227.4 MB, free: 10.42 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.177e-05/0.009629, allocations: 4.062 kB / 227.4 MB, free: 10.42 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.009643, allocations: 4 kB / 227.4 MB, free: 10.41 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-06/0.009644, allocations: 0 / 227.4 MB, free: 10.41 MB / 234.7 MB Notification: Performance of sorting global known variables: time 9.436e-05/0.009739, allocations: 54.7 kB / 227.4 MB, free: 10.36 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009739, allocations: 0 / 227.4 MB, free: 10.36 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001091/0.009848, allocations: 8 kB / 227.4 MB, free: 10.35 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.0004455/0.01029, allocations: 203.2 kB / 227.6 MB, free: 10.14 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 8.708e-05/0.01038, allocations: 8.859 kB / 227.6 MB, free: 10.13 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.01039, allocations: 0 / 227.6 MB, free: 10.13 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.048e-05/0.0104, allocations: 12.8 kB / 227.7 MB, free: 10.12 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/0.01051, allocations: 32.09 kB / 227.7 MB, free: 10.09 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.0108, allocations: 218.5 kB / 227.9 MB, free: 9.844 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.267e-05/0.01085, allocations: 71.31 kB / 228 MB, free: 9.754 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.967e-05/0.01087, allocations: 8.5 kB / 228 MB, free: 9.742 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.523e-05/0.01095, allocations: 71.34 kB / 228 MB, free: 9.672 MB / 234.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01095, allocations: 0 / 228 MB, free: 9.672 MB / 234.7 MB Notification: Performance of Templates: time 0.003031/0.01398, allocations: 1.013 MB / 229.1 MB, free: 8.66 MB / 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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.999611302278936]