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.00186/0.00186, allocations: 68.08 kB / 21.24 MB, free: 404 kB / 14.72 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.001847/0.001847, allocations: 160.3 kB / 24.49 MB, free: 3.461 MB / 14.72 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.393/1.393, allocations: 173.4 MB / 201.1 MB, free: 12.57 MB / 190.1 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 0.001431/0.001431, allocations: 42.86 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.09506, allocations: 52.16 MB / 371.5 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001632/0.09669, allocations: 0.5303 MB / 372.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.09902, allocations: 1.858 MB / 373.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.09905, allocations: 0 / 373.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.1006, allocations: 133.1 kB / 374.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.746e-05/0.1007, allocations: 31.97 kB / 374.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.1009, allocations: 47.88 kB / 374.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.385e-05/0.101, allocations: 47.83 kB / 374.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.552e-05/0.101, allocations: 0 / 374.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.635e-05/0.1011, allocations: 35.84 kB / 374.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.328e-05/0.1012, allocations: 19.92 kB / 374.2 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.1012, allocations: 0 / 374.2 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.167e-05/0.1012, allocations: 19.97 kB / 374.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.067e-05/0.1013, allocations: 55.84 kB / 374.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.1014, allocations: 7.938 kB / 374.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.1016, allocations: 71.67 kB / 374.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1016, allocations: 0 / 374.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1016, allocations: 0 / 374.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1016, allocations: 0 / 374.4 MB, free: 4.516 MB / 334.1 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.0004063/0.102, allocations: 327.6 kB / 374.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.729e-05/0.102, allocations: 8.922 kB / 374.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.102, allocations: 8.938 kB / 374.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.1022, allocations: 134.4 kB / 374.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.328e-06/0.1022, allocations: 4.375 kB / 374.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.1022, allocations: 384 / 374.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1024, allocations: 185 kB / 375 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.949e-06/0.1024, allocations: 3.938 kB / 375.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1024, allocations: 4 kB / 375.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-06/0.1024, allocations: 0 / 375.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.516e-05/0.1024, allocations: 3.984 kB / 375.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.1027, allocations: 125.3 kB / 375.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.301e-05/0.1027, allocations: 22.52 kB / 375.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.1027, allocations: 8.922 kB / 375.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.1027, allocations: 4 kB / 375.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.1028, allocations: 60.25 kB / 375.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1028, allocations: 0 / 375.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001229/0.1029, allocations: 49.59 kB / 375.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.003e-05/0.103, allocations: 154.2 kB / 375.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.1032, allocations: 157.1 kB / 375.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1032, allocations: 25.7 kB / 375.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.1032, allocations: 96.12 kB / 375.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.1032, allocations: 11.88 kB / 375.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.1033, allocations: 17.72 kB / 375.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1034, allocations: 327 kB / 376.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.1034, allocations: 4 kB / 376.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.1035, allocations: 147.1 kB / 376.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.593e-05/0.1036, allocations: 8.859 kB / 376.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1036, allocations: 0 / 376.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.071e-05/0.1036, allocations: 49.69 kB / 376.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1037, allocations: 7.938 kB / 376.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.1037, allocations: 3.938 kB / 376.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1037, allocations: 0 / 376.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.849e-05/0.1037, allocations: 8.094 kB / 376.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.1037, allocations: 0 / 376.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.266e-05/0.1038, allocations: 4 kB / 376.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-06/0.1038, allocations: 0 / 376.3 MB, free: 2.301 MB / 334.1 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 9.437e-05/0.1039, allocations: 125.8 kB / 376.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.1039, allocations: 11.89 kB / 376.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.1039, allocations: 7.812 kB / 376.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1039, allocations: 0 / 376.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1039, allocations: 4 kB / 376.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.1039, allocations: 7.922 kB / 376.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.1041, allocations: 117.3 kB / 376.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1041, allocations: 0 / 376.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.1041, allocations: 4 kB / 376.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1041, allocations: 0 / 376.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1041, allocations: 3.938 kB / 376.6 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1041, allocations: 4 kB / 376.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1041, allocations: 3.938 kB / 376.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.1043, allocations: 77.02 kB / 376.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.1043, allocations: 15.97 kB / 376.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.1043, allocations: 7.938 kB / 376.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.084e-05/0.1044, allocations: 4.141 kB / 376.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.1044, allocations: 7.984 kB / 376.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.1044, allocations: 0 / 376.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1045, allocations: 119.2 kB / 376.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1045, allocations: 0 / 376.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002074/0.1047, allocations: 15.92 kB / 376.8 MB, free: 1.715 MB / 334.1 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.0004343/0.1052, allocations: 182.6 kB / 377 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.393e-05/0.1052, allocations: 11.98 kB / 377 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1052, allocations: 0 / 377 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.653e-05/0.1052, allocations: 12 kB / 377.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.1054, allocations: 11.94 kB / 377.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.1058, allocations: 257.6 kB / 377.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.113e-05/0.1058, allocations: 92.8 kB / 377.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.652e-05/0.1059, allocations: 12 kB / 377.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.1059, allocations: 20.48 kB / 377.4 MB, free: 1.113 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1059, allocations: 0 / 377.4 MB, free: 1.113 MB / 334.1 MB Notification: Performance of Templates: time 0.004282/0.1102, allocations: 1.256 MB / 378.7 MB, free: 15.9 MB / 350.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/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.196010577026755]