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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.176/1.176, allocations: 205.1 MB / 223.8 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008946/0.0008946, allocations: 97.59 kB / 271.2 MB, free: 8.445 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008042/0.0008043, allocations: 39.94 kB / 327.2 MB, free: 340 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1894, allocations: 46.62 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001532/0.191, allocations: 0.5895 MB / 374.4 MB, free: 45.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.1926, allocations: 1.819 MB / 376.2 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.84e-05/0.1927, allocations: 1.031 kB / 376.2 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.1946, allocations: 117.5 kB / 376.3 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.792e-05/0.1946, allocations: 30.09 kB / 376.4 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.1948, allocations: 41.72 kB / 376.4 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.911e-05/0.1948, allocations: 46.59 kB / 376.5 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.382e-05/0.1949, allocations: 3.438 kB / 376.5 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.589e-05/0.1949, allocations: 28.19 kB / 376.5 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.538e-05/0.195, allocations: 29.98 kB / 376.5 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.195, allocations: 1.156 kB / 376.5 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.581e-05/0.1951, allocations: 21.39 kB / 376.5 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.1951, allocations: 55.62 kB / 376.6 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.1952, allocations: 18.53 kB / 376.6 MB, free: 43.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.428e-05/0.1953, allocations: 54.48 kB / 376.7 MB, free: 43.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1953, allocations: 5.062 kB / 376.7 MB, free: 43.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1953, allocations: 4 kB / 376.7 MB, free: 43.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.895e-06/0.1953, allocations: 0 / 376.7 MB, free: 43.66 MB / 298.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.0002746/0.1956, allocations: 397 kB / 377.1 MB, free: 43.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.1956, allocations: 9.5 kB / 377.1 MB, free: 43.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.1956, allocations: 7.812 kB / 377.1 MB, free: 43.24 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.196, allocations: 320.1 kB / 377.4 MB, free: 42.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.196, allocations: 384 / 377.4 MB, free: 42.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.196, allocations: 1.531 kB / 377.4 MB, free: 42.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.256e-05/0.1961, allocations: 81.55 kB / 377.5 MB, free: 42.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.1961, allocations: 3.938 kB / 377.5 MB, free: 42.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1961, allocations: 1.031 kB / 377.5 MB, free: 42.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-06/0.1961, allocations: 0 / 377.5 MB, free: 42.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.261e-05/0.1961, allocations: 6.438 kB / 377.5 MB, free: 42.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.1963, allocations: 174.7 kB / 377.7 MB, free: 42.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.605e-05/0.1964, allocations: 25.28 kB / 377.7 MB, free: 42.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.117e-05/0.1964, allocations: 11.36 kB / 377.7 MB, free: 42.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.1964, allocations: 1.156 kB / 377.7 MB, free: 42.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.1964, allocations: 65.31 kB / 377.8 MB, free: 42.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1964, allocations: 0 / 377.8 MB, free: 42.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 9.066e-05/0.1965, allocations: 49.47 kB / 377.8 MB, free: 42.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.1966, allocations: 155.3 kB / 378 MB, free: 42.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.1967, allocations: 168.2 kB / 378.1 MB, free: 42.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.1967, allocations: 27.08 kB / 378.1 MB, free: 42.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.297e-05/0.1967, allocations: 92.02 kB / 378.2 MB, free: 42.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.1967, allocations: 7.891 kB / 378.2 MB, free: 42.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.1968, allocations: 18.94 kB / 378.3 MB, free: 42.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.388e-05/0.1968, allocations: 325.6 kB / 378.6 MB, free: 41.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.1968, allocations: 6.375 kB / 378.6 MB, free: 41.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.1969, allocations: 38.83 kB / 378.6 MB, free: 41.65 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.315e-05/0.1969, allocations: 19.34 kB / 378.6 MB, free: 41.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1969, allocations: 1.062 kB / 378.6 MB, free: 41.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.864e-05/0.197, allocations: 45.8 kB / 378.7 MB, free: 41.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.197, allocations: 5.375 kB / 378.7 MB, free: 41.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.197, allocations: 0 / 378.7 MB, free: 41.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.197, allocations: 1.031 kB / 378.7 MB, free: 41.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.605e-05/0.197, allocations: 15.27 kB / 378.7 MB, free: 41.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.197, allocations: 0 / 378.7 MB, free: 41.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6e-05/0.1971, allocations: 6.031 kB / 378.7 MB, free: 41.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-06/0.1971, allocations: 1.031 kB / 378.7 MB, free: 41.58 MB / 298.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.158e-05/0.1972, allocations: 124.8 kB / 378.8 MB, free: 41.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.1972, allocations: 8.281 kB / 378.8 MB, free: 41.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.715e-05/0.1972, allocations: 14.08 kB / 378.9 MB, free: 41.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1972, allocations: 1.156 kB / 378.9 MB, free: 41.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1972, allocations: 0 / 378.9 MB, free: 41.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1972, allocations: 4 kB / 378.9 MB, free: 41.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.1974, allocations: 180 kB / 379 MB, free: 41.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1974, allocations: 1.812 kB / 379 MB, free: 41.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.198e-05/0.1974, allocations: 5.438 kB / 379 MB, free: 41.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1974, allocations: 0 / 379 MB, free: 41.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.1974, allocations: 0 / 379 MB, free: 41.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1974, allocations: 1.188 kB / 379 MB, free: 41.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1974, allocations: 0 / 379 MB, free: 41.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/0.1978, allocations: 0.8484 MB / 379.9 MB, free: 40.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.1979, allocations: 89.47 kB / 380 MB, free: 40.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.1979, allocations: 1.031 kB / 380 MB, free: 40.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.467e-05/0.198, allocations: 6.094 kB / 380 MB, free: 40.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-06/0.198, allocations: 1.094 kB / 380 MB, free: 40.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.198, allocations: 4.156 kB / 380 MB, free: 40.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.731e-05/0.1981, allocations: 133.4 kB / 380.1 MB, free: 40.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1981, allocations: 1.188 kB / 380.1 MB, free: 40.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002235/0.1983, allocations: 13.69 kB / 380.1 MB, free: 40.11 MB / 298.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.0002322/0.1985, allocations: 184.2 kB / 380.3 MB, free: 39.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.705e-05/0.1986, allocations: 11.72 kB / 380.3 MB, free: 39.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1986, allocations: 1.312 kB / 380.3 MB, free: 39.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.187e-06/0.1986, allocations: 3.469 kB / 380.3 MB, free: 39.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.1987, allocations: 11.72 kB / 380.3 MB, free: 39.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.199, allocations: 379.8 kB / 380.7 MB, free: 39.63 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.75e-05/0.1991, allocations: 0.7103 MB / 381.4 MB, free: 38.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.511e-05/0.1992, allocations: 22.91 kB / 381.4 MB, free: 38.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.1992, allocations: 12.41 kB / 381.5 MB, free: 38.9 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1992, allocations: 0 / 381.5 MB, free: 38.9 MB / 298.7 MB Notification: Performance of Templates: time 0.00287/0.2021, allocations: 1.224 MB / 382.7 MB, free: 38.27 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","../files/Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches