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.00183/0.00183, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.002183/0.002183, allocations: 149.4 kB / 24.25 MB, free: 188 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.492/1.492, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] 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.665e-06/2.665e-06, allocations: 0 / 267.3 MB, free: 6.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.209e-05/3.476e-05, allocations: 2.312 kB / 267.3 MB, free: 6.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.002406/0.002441, allocations: 0.5243 MB / 267.8 MB, free: 6.246 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003853/0.006294, allocations: 1.904 MB / 269.7 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.006347, allocations: 0 / 269.7 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002557/0.008904, allocations: 196.2 kB / 269.9 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.009021, allocations: 31.91 kB / 269.9 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.009281, allocations: 47.86 kB / 270 MB, free: 4.125 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.009425, allocations: 43.84 kB / 270 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.439e-05/0.009459, allocations: 0 / 270 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.009597, allocations: 39.83 kB / 270.1 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.009731, allocations: 31.91 kB / 270.1 MB, free: 4.012 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.009759, allocations: 4 kB / 270.1 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.943e-05/0.009838, allocations: 19.92 kB / 270.1 MB, free: 3.988 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.009965, allocations: 39.91 kB / 270.2 MB, free: 3.949 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.668e-05/0.01002, allocations: 11.98 kB / 270.2 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.0103, allocations: 55.81 kB / 270.2 MB, free: 3.883 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.0103, allocations: 3.984 kB / 270.2 MB, free: 3.879 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.01031, allocations: 0 / 270.2 MB, free: 3.879 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.01031, allocations: 4 kB / 270.2 MB, free: 3.875 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.0006082/0.01092, allocations: 319.7 kB / 270.5 MB, free: 3.527 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.01096, allocations: 12.92 kB / 270.6 MB, free: 3.516 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/0.01103, allocations: 8.938 kB / 270.6 MB, free: 3.508 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.01131, allocations: 136 kB / 270.7 MB, free: 3.352 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.01132, allocations: 4.312 kB / 270.7 MB, free: 3.348 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.01135, allocations: 4.375 kB / 270.7 MB, free: 3.344 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.01161, allocations: 169.4 kB / 270.9 MB, free: 3.133 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.01162, allocations: 192 / 270.9 MB, free: 3.133 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.01164, allocations: 4.375 kB / 270.9 MB, free: 3.129 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.01165, allocations: 3.938 kB / 270.9 MB, free: 3.125 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.08e-05/0.01168, allocations: 15.92 kB / 270.9 MB, free: 3.109 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.01206, allocations: 125.3 kB / 271 MB, free: 2.957 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.26e-05/0.01212, allocations: 18.58 kB / 271 MB, free: 2.93 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.01216, allocations: 12.91 kB / 271 MB, free: 2.914 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.01218, allocations: 0 / 271 MB, free: 2.914 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.492e-05/0.01225, allocations: 64.27 kB / 271.1 MB, free: 2.836 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.01225, allocations: 0 / 271.1 MB, free: 2.836 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001905/0.01244, allocations: 45.59 kB / 271.2 MB, free: 2.785 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/0.01259, allocations: 162.1 kB / 271.3 MB, free: 2.59 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.01283, allocations: 149.8 kB / 271.5 MB, free: 2.434 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.01286, allocations: 25.83 kB / 271.5 MB, free: 2.402 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.01296, allocations: 100.1 kB / 271.6 MB, free: 2.301 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.01299, allocations: 11.94 kB / 271.6 MB, free: 2.289 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.01305, allocations: 17.72 kB / 271.6 MB, free: 2.266 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002436/0.01329, allocations: 318.8 kB / 271.9 MB, free: 1.945 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.01331, allocations: 0 / 271.9 MB, free: 1.945 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.01349, allocations: 147.1 kB / 272.1 MB, free: 1.762 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.631e-05/0.01353, allocations: 16.86 kB / 272.1 MB, free: 1.742 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01353, allocations: 3.938 kB / 272.1 MB, free: 1.738 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000119/0.01365, allocations: 41.69 kB / 272.1 MB, free: 1.691 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.01367, allocations: 14.75 kB / 272.1 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01368, allocations: 0 / 272.1 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.0137, allocations: 0 / 272.1 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.967e-05/0.01374, allocations: 7.938 kB / 272.1 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.01374, allocations: 0 / 272.1 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.01385, allocations: 11.89 kB / 272.2 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.01385, allocations: 0 / 272.2 MB, free: 1.66 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 0.0001647/0.01402, allocations: 125.8 kB / 272.3 MB, free: 1.527 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.01405, allocations: 4 kB / 272.3 MB, free: 1.523 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.01408, allocations: 15.77 kB / 272.3 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.01409, allocations: 7.984 kB / 272.3 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.0141, allocations: 3.938 kB / 272.3 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.0141, allocations: 0 / 272.3 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.01434, allocations: 117.4 kB / 272.4 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.01435, allocations: 3.984 kB / 272.4 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.01439, allocations: 7.938 kB / 272.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01439, allocations: 0 / 272.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.0144, allocations: 3.938 kB / 272.4 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.01441, allocations: 7.969 kB / 272.5 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01441, allocations: 0 / 272.5 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.01459, allocations: 81.02 kB / 272.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.01463, allocations: 7.984 kB / 272.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.01466, allocations: 4 kB / 272.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/0.01474, allocations: 0 / 272.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.01476, allocations: 7.938 kB / 272.6 MB, free: 1.211 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.01477, allocations: 7.984 kB / 272.6 MB, free: 1.203 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.01493, allocations: 119.2 kB / 272.7 MB, free: 1.086 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01493, allocations: 0 / 272.7 MB, free: 1.086 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000382/0.01531, allocations: 12 kB / 272.7 MB, free: 1.074 MB / 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.0007515/0.01606, allocations: 179 kB / 272.9 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.01617, allocations: 19.92 kB / 272.9 MB, free: 0.918 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01617, allocations: 0 / 272.9 MB, free: 0.918 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.642e-05/0.01619, allocations: 4 kB / 272.9 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.01644, allocations: 8 kB / 272.9 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000589/0.01703, allocations: 260.1 kB / 273.1 MB, free: 0.625 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.01718, allocations: 96.8 kB / 273.2 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.52e-05/0.01724, allocations: 8 kB / 273.2 MB, free: 0.5 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.01729, allocations: 20.61 kB / 273.3 MB, free: 492 kB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01729, allocations: 0 / 273.3 MB, free: 492 kB / 250.7 MB Notification: Performance of Templates: time 0.00638/0.02367, allocations: 1.279 MB / 274.5 MB, free: 15.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.307671878952533]