Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001145/0.001145, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001778/0.002923, allocations: 449.8 kB / 10.44 MB, free: 252 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.0008394/0.0008394, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001199/0.002038, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9891/0.9891, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08366/1.073, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.638e-05, allocations: 2.312 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001001/0.001017, allocations: 0.5824 MB / 245.3 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.002504, allocations: 2.025 MB / 247.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/0.00254, allocations: 3.938 kB / 247.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001975/0.004515, allocations: 241.8 kB / 247.5 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.271e-05/0.004557, allocations: 27.91 kB / 247.6 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.004717, allocations: 55.73 kB / 247.6 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.971e-05/0.004797, allocations: 39.86 kB / 247.6 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.006e-05/0.004827, allocations: 3.984 kB / 247.7 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.595e-05/0.004923, allocations: 47.89 kB / 247.7 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.004984, allocations: 15.94 kB / 247.7 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.005001, allocations: 4 kB / 247.7 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.471e-05/0.005046, allocations: 11.98 kB / 247.7 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.005112, allocations: 43.95 kB / 247.8 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.005136, allocations: 7.938 kB / 247.8 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.005325, allocations: 51.72 kB / 247.8 MB, free: 11.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.005335, allocations: 0 / 247.8 MB, free: 11.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005336, allocations: 0 / 247.8 MB, free: 11.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.005344, allocations: 0 / 247.8 MB, free: 11.16 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.0003377/0.005682, allocations: 302 kB / 248.1 MB, free: 10.84 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.00571, allocations: 12.03 kB / 248.1 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.005741, allocations: 8.922 kB / 248.1 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.005859, allocations: 133.6 kB / 248.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-06/0.005866, allocations: 4.375 kB / 248.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.005885, allocations: 4.375 kB / 248.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.006007, allocations: 180.1 kB / 248.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.006013, allocations: 192 / 248.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.006021, allocations: 4.375 kB / 248.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.006027, allocations: 3.938 kB / 248.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.803e-06/0.006033, allocations: 2.828 kB / 248.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.006228, allocations: 70.7 kB / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.019e-05/0.006258, allocations: 14.58 kB / 248.6 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.065e-05/0.006268, allocations: 12.95 kB / 248.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.006274, allocations: 11.86 kB / 248.6 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.006303, allocations: 56.27 kB / 248.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.006304, allocations: 0 / 248.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 9.778e-05/0.006401, allocations: 37.7 kB / 248.7 MB, free: 10.17 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.333e-05/0.006485, allocations: 158.2 kB / 248.8 MB, free: 9.98 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.652e-05/0.006551, allocations: 137.2 kB / 249 MB, free: 9.836 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.006562, allocations: 25.7 kB / 249 MB, free: 9.805 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.52e-05/0.006587, allocations: 88.12 kB / 249.1 MB, free: 9.715 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.006605, allocations: 3.953 kB / 249.1 MB, free: 9.711 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.006632, allocations: 25.83 kB / 249.1 MB, free: 9.68 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.49e-05/0.006707, allocations: 322.8 kB / 249.4 MB, free: 9.355 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-06/0.006717, allocations: 10.75 kB / 249.4 MB, free: 9.344 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.006829, allocations: 135.1 kB / 249.6 MB, free: 9.172 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.022e-05/0.00685, allocations: 11.69 kB / 249.6 MB, free: 9.156 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.006851, allocations: 0 / 249.6 MB, free: 9.156 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.726e-05/0.006899, allocations: 44.52 kB / 249.6 MB, free: 9.105 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.00691, allocations: 8 kB / 249.6 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.006914, allocations: 0 / 249.6 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.006926, allocations: 4.094 kB / 249.6 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.783e-05/0.006954, allocations: 7.938 kB / 249.6 MB, free: 9.086 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-06/0.006957, allocations: 3.984 kB / 249.6 MB, free: 9.082 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.912e-05/0.006996, allocations: 3.938 kB / 249.6 MB, free: 9.078 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-06/0.006999, allocations: 4 kB / 249.6 MB, free: 9.074 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.215e-05/0.007051, allocations: 116.7 kB / 249.8 MB, free: 8.949 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-06/0.007058, allocations: 0 / 249.8 MB, free: 8.949 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.007082, allocations: 15.8 kB / 249.8 MB, free: 8.93 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007083, allocations: 0 / 249.8 MB, free: 8.93 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.007085, allocations: 0 / 249.8 MB, free: 8.93 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.007088, allocations: 0 / 249.8 MB, free: 8.93 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.007195, allocations: 89.83 kB / 249.9 MB, free: 8.824 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.007196, allocations: 4 kB / 249.9 MB, free: 8.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-05/0.007211, allocations: 0 / 249.9 MB, free: 8.82 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.007236, allocations: 15.92 kB / 249.9 MB, free: 8.805 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.007238, allocations: 0 / 249.9 MB, free: 8.805 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.007246, allocations: 0 / 249.9 MB, free: 8.805 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.007248, allocations: 0 / 249.9 MB, free: 8.805 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.007249, allocations: 7.984 kB / 249.9 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.026e-05/0.007339, allocations: 74.64 kB / 250 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.00735, allocations: 4.062 kB / 250 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.337e-05/0.007374, allocations: 4 kB / 250 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-06/0.007383, allocations: 4 kB / 250 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.007385, allocations: 0 / 250 MB, free: 8.691 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.323e-05/0.007408, allocations: 28.83 kB / 250 MB, free: 8.66 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007409, allocations: 0 / 250 MB, free: 8.66 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001092/0.007518, allocations: 8 kB / 250 MB, free: 8.652 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.0003087/0.007826, allocations: 156.6 kB / 250.2 MB, free: 8.527 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.834e-05/0.007885, allocations: 12.84 kB / 250.2 MB, free: 8.512 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.007889, allocations: 4 kB / 250.2 MB, free: 8.508 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.038e-05/0.0079, allocations: 8.859 kB / 250.2 MB, free: 8.496 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.018e-05/0.00798, allocations: 27.91 kB / 250.2 MB, free: 8.469 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.008262, allocations: 234 kB / 250.4 MB, free: 8.211 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.78e-05/0.0083, allocations: 75.27 kB / 250.5 MB, free: 8.117 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.171e-05/0.008332, allocations: 7.984 kB / 250.5 MB, free: 8.109 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.667e-05/0.008418, allocations: 83.33 kB / 250.6 MB, free: 8.027 MB / 250.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008419, allocations: 0 / 250.6 MB, free: 8.027 MB / 250.7 MB Notification: Performance of Templates: time 0.002923/0.01134, allocations: 1.213 MB / 251.8 MB, free: 6.855 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.8373041432350874]