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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 110.1 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008817/0.0008818, allocations: 31.95 kB / 350 MB, free: 76 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3104, allocations: 49.44 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001817/0.3123, allocations: 0.5925 MB / 400 MB, free: 32.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.3143, allocations: 1.775 MB / 401.8 MB, free: 30.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.3144, allocations: 3.031 kB / 401.8 MB, free: 30.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002381/0.3167, allocations: 118.7 kB / 401.9 MB, free: 30.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.756e-05/0.3168, allocations: 27.91 kB / 402 MB, free: 30.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.317, allocations: 53.09 kB / 402 MB, free: 30.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.19e-05/0.3171, allocations: 43.84 kB / 402.1 MB, free: 30.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.3171, allocations: 0 / 402.1 MB, free: 30.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.415e-05/0.3172, allocations: 31.27 kB / 402.1 MB, free: 30.74 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.3173, allocations: 31.91 kB / 402.1 MB, free: 30.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.3173, allocations: 0 / 402.1 MB, free: 30.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.559e-05/0.3174, allocations: 19.98 kB / 402.1 MB, free: 30.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.866e-05/0.3175, allocations: 51.89 kB / 402.2 MB, free: 30.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.532e-05/0.3175, allocations: 23.8 kB / 402.2 MB, free: 30.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.3177, allocations: 59.8 kB / 402.3 MB, free: 30.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3177, allocations: 0 / 402.3 MB, free: 30.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3177, allocations: 0 / 402.3 MB, free: 30.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3177, allocations: 4 kB / 402.3 MB, free: 30.55 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.00041/0.3181, allocations: 402.4 kB / 402.7 MB, free: 30.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3181, allocations: 8.031 kB / 402.7 MB, free: 30.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.3182, allocations: 12.84 kB / 402.7 MB, free: 30.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.3184, allocations: 204.2 kB / 402.9 MB, free: 29.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.3184, allocations: 384 / 402.9 MB, free: 29.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.3184, allocations: 8.359 kB / 402.9 MB, free: 29.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.3186, allocations: 74.23 kB / 403 MB, free: 29.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3186, allocations: 0 / 403 MB, free: 29.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3186, allocations: 4 kB / 403 MB, free: 29.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3186, allocations: 0 / 403 MB, free: 29.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.66e-05/0.3186, allocations: 0 / 403 MB, free: 29.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.3189, allocations: 177.7 kB / 403.2 MB, free: 29.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.03e-05/0.3189, allocations: 18.58 kB / 403.2 MB, free: 29.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.319, allocations: 16.91 kB / 403.2 MB, free: 29.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.715e-06/0.319, allocations: 0 / 403.2 MB, free: 29.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.319, allocations: 64.14 kB / 403.3 MB, free: 29.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.319, allocations: 0 / 403.3 MB, free: 29.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001522/0.3192, allocations: 41.61 kB / 403.3 MB, free: 29.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.3192, allocations: 162.2 kB / 403.5 MB, free: 29.15 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.3194, allocations: 172.9 kB / 403.6 MB, free: 28.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.3194, allocations: 25.7 kB / 403.6 MB, free: 28.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.034e-05/0.3194, allocations: 88.14 kB / 403.7 MB, free: 28.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.3195, allocations: 7.906 kB / 403.7 MB, free: 28.85 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.3195, allocations: 17.7 kB / 403.8 MB, free: 28.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.066e-05/0.3195, allocations: 322.8 kB / 404.1 MB, free: 28.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.3196, allocations: 7.984 kB / 404.1 MB, free: 28.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-05/0.3196, allocations: 44.23 kB / 404.1 MB, free: 28.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.3196, allocations: 16.84 kB / 404.1 MB, free: 28.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3196, allocations: 3.938 kB / 404.1 MB, free: 28.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.775e-05/0.3197, allocations: 49.55 kB / 404.2 MB, free: 28.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.3197, allocations: 8 kB / 404.2 MB, free: 28.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3197, allocations: 0 / 404.2 MB, free: 28.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3198, allocations: 0 / 404.2 MB, free: 28.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.51e-05/0.3198, allocations: 0 / 404.2 MB, free: 28.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3198, allocations: 12.08 kB / 404.2 MB, free: 28.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.487e-05/0.3199, allocations: 0 / 404.2 MB, free: 28.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.3199, allocations: 0 / 404.2 MB, free: 28.34 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 6.498e-05/0.3199, allocations: 137.7 kB / 404.3 MB, free: 28.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.32, allocations: 11.84 kB / 404.4 MB, free: 28.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.32, allocations: 7.875 kB / 404.4 MB, free: 28.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.32, allocations: 0 / 404.4 MB, free: 28.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.32, allocations: 4 kB / 404.4 MB, free: 28.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.32, allocations: 0 / 404.4 MB, free: 28.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.3202, allocations: 177.7 kB / 404.5 MB, free: 27.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3202, allocations: 0 / 404.5 MB, free: 27.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.3202, allocations: 7.922 kB / 404.5 MB, free: 27.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.3202, allocations: 0 / 404.5 MB, free: 27.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3202, allocations: 4 kB / 404.6 MB, free: 27.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.3202, allocations: 0 / 404.6 MB, free: 27.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3202, allocations: 0 / 404.6 MB, free: 27.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004953/0.3207, allocations: 0.8418 MB / 405.4 MB, free: 26.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.3208, allocations: 92.97 kB / 405.5 MB, free: 26.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.3208, allocations: 4 kB / 405.5 MB, free: 26.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.485e-05/0.3209, allocations: 0 / 405.5 MB, free: 26.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.3209, allocations: 4 kB / 405.5 MB, free: 26.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.3209, allocations: 0 / 405.5 MB, free: 26.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.476e-05/0.321, allocations: 135.4 kB / 405.6 MB, free: 26.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.321, allocations: 0 / 405.6 MB, free: 26.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002404/0.3212, allocations: 20 kB / 405.6 MB, free: 26.68 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.0003133/0.3215, allocations: 183 kB / 405.8 MB, free: 26.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.166e-05/0.3216, allocations: 12 kB / 405.8 MB, free: 26.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3216, allocations: 3.938 kB / 405.8 MB, free: 26.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.458e-06/0.3216, allocations: 3.938 kB / 405.8 MB, free: 26.51 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.3218, allocations: 27.12 kB / 405.9 MB, free: 26.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.3221, allocations: 366.4 kB / 406.2 MB, free: 26.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.3223, allocations: 0.7137 MB / 406.9 MB, free: 25.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.758e-05/0.3223, allocations: 11.98 kB / 407 MB, free: 25.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.13e-05/0.3223, allocations: 11.44 kB / 407 MB, free: 25.32 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3223, allocations: 0 / 407 MB, free: 25.32 MB / 298.7 MB Notification: Performance of Templates: time 0.003293/0.3256, allocations: 1.232 MB / 408.2 MB, free: 24.11 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","../files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches