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.001392/0.001392, allocations: 82.77 kB / 21.99 MB, free: 4.754 MB / 14.72 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.001428/0.001428, allocations: 153.4 kB / 25.25 MB, free: 2.742 MB / 14.72 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.367/1.367, allocations: 158.6 MB / 187 MB, free: 6.34 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 62.73 kB / 299.3 MB, free: 7.012 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2346, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001691/0.2363, allocations: 0.5193 MB / 349 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.2388, allocations: 1.903 MB / 350.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.2389, allocations: 0 / 350.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.2405, allocations: 143.1 kB / 351 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.816e-05/0.2406, allocations: 31.95 kB / 351.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.2408, allocations: 35.89 kB / 351.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.718e-05/0.2409, allocations: 51.83 kB / 351.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.176e-05/0.2409, allocations: 0 / 351.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.349e-05/0.241, allocations: 39.83 kB / 351.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.2411, allocations: 23.92 kB / 351.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.2411, allocations: 0 / 351.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.969e-05/0.2412, allocations: 27.92 kB / 351.3 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.2413, allocations: 49.55 kB / 351.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.625e-05/0.2413, allocations: 7.938 kB / 351.3 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.2415, allocations: 66.27 kB / 351.4 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2415, allocations: 0 / 351.4 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2415, allocations: 0 / 351.4 MB, free: 12.63 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.2415, allocations: 0 / 351.4 MB, free: 12.63 MB / 318.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.0004407/0.242, allocations: 319.4 kB / 351.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.242, allocations: 15.98 kB / 351.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.242, allocations: 8.891 kB / 351.7 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.2423, allocations: 138.4 kB / 351.8 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.2423, allocations: 384 / 351.8 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.2423, allocations: 384 / 351.8 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.2425, allocations: 185 kB / 352 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.2425, allocations: 0 / 352 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.2425, allocations: 0 / 352 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2425, allocations: 0 / 352 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.628e-05/0.2425, allocations: 4 kB / 352 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.2428, allocations: 133.3 kB / 352.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.334e-05/0.2428, allocations: 22.52 kB / 352.2 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.959e-05/0.2428, allocations: 8.922 kB / 352.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.407e-06/0.2429, allocations: 0 / 352.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.2429, allocations: 60.2 kB / 352.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.2429, allocations: 4 kB / 352.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001365/0.243, allocations: 49.58 kB / 352.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.2432, allocations: 162.2 kB / 352.5 MB, free: 11.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.2433, allocations: 149.8 kB / 352.6 MB, free: 11.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2434, allocations: 25.7 kB / 352.6 MB, free: 11.15 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.2434, allocations: 96.12 kB / 352.7 MB, free: 11.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.2434, allocations: 4.125 kB / 352.7 MB, free: 11.05 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.2435, allocations: 21.72 kB / 352.8 MB, free: 11.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2436, allocations: 318.8 kB / 353.1 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.2437, allocations: 4 kB / 353.1 MB, free: 10.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.2438, allocations: 147.1 kB / 353.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.265e-05/0.2438, allocations: 16.8 kB / 353.2 MB, free: 10.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2438, allocations: 0 / 353.2 MB, free: 10.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.232e-05/0.2439, allocations: 49.59 kB / 353.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2439, allocations: 12.55 kB / 353.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2439, allocations: 4.141 kB / 353.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2439, allocations: 7.984 kB / 353.3 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.477e-05/0.244, allocations: 0 / 353.3 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.244, allocations: 0 / 353.3 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.99e-05/0.244, allocations: 4 kB / 353.3 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.244, allocations: 0 / 353.3 MB, free: 10.41 MB / 318.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 0.0001107/0.2441, allocations: 125.8 kB / 353.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.2442, allocations: 11.89 kB / 353.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.2442, allocations: 15.77 kB / 353.5 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.2442, allocations: 0 / 353.5 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2442, allocations: 4 kB / 353.5 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.2442, allocations: 0 / 353.5 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.2444, allocations: 125.3 kB / 353.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2444, allocations: 0 / 353.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.519e-05/0.2444, allocations: 0 / 353.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2444, allocations: 0 / 353.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2444, allocations: 3.938 kB / 353.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2444, allocations: 4 kB / 353.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2444, allocations: 0 / 353.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.2445, allocations: 81.02 kB / 353.7 MB, free: 9.988 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.2446, allocations: 24 kB / 353.7 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.2446, allocations: 3.938 kB / 353.7 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.2447, allocations: 4 kB / 353.7 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.2447, allocations: 0 / 353.7 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.2447, allocations: 4 kB / 353.7 MB, free: 9.953 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.2448, allocations: 123.2 kB / 353.8 MB, free: 9.832 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2448, allocations: 0 / 353.8 MB, free: 9.832 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.245, allocations: 15.98 kB / 353.8 MB, free: 9.816 MB / 318.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.0004846/0.2455, allocations: 175 kB / 354 MB, free: 9.637 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.77e-05/0.2456, allocations: 11.98 kB / 354 MB, free: 9.625 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.2456, allocations: 4 kB / 354 MB, free: 9.621 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.091e-05/0.2456, allocations: 8 kB / 354 MB, free: 9.613 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.2458, allocations: 8 kB / 354 MB, free: 9.605 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005681/0.2463, allocations: 313.4 kB / 354.3 MB, free: 9.273 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.2464, allocations: 96.8 kB / 354.4 MB, free: 9.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.02e-05/0.2465, allocations: 4 kB / 354.4 MB, free: 9.156 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.2465, allocations: 24.42 kB / 354.5 MB, free: 9.133 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2465, allocations: 0 / 354.5 MB, free: 9.133 MB / 318.1 MB Notification: Performance of Templates: time 0.004709/0.2512, allocations: 1.267 MB / 355.7 MB, free: 7.863 MB / 318.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.215726080932654]