Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 177.6 kB / 17.36 MB, free: 4.324 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007725/0.0007725, allocations: 90.53 kB / 272.1 MB, free: 8.105 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002519/0.0002519, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.247, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0007888/0.2478, allocations: 263 kB / 376.8 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003204/0.251, allocations: 1.925 MB / 378.8 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.2511, allocations: 8.875 kB / 378.8 MB, free: 43.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002988/0.2541, allocations: 124.6 kB / 378.9 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.112e-05/0.2542, allocations: 26.53 kB / 378.9 MB, free: 43.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.2545, allocations: 49.27 kB / 379 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2546, allocations: 50.42 kB / 379 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.2547, allocations: 2.938 kB / 379 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.244e-05/0.2548, allocations: 24.61 kB / 379.1 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.2549, allocations: 34.38 kB / 379.1 MB, free: 43.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.2549, allocations: 1.031 kB / 379.1 MB, free: 43.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.567e-05/0.255, allocations: 18.14 kB / 379.1 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.2552, allocations: 47.05 kB / 379.2 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.2552, allocations: 47.22 kB / 379.2 MB, free: 43.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.2554, allocations: 55.06 kB / 379.3 MB, free: 43.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2554, allocations: 1.219 kB / 379.3 MB, free: 43.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2554, allocations: 0 / 379.3 MB, free: 43.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.2554, allocations: 4 kB / 379.3 MB, free: 43.47 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.0003968/0.2559, allocations: 384.3 kB / 379.6 MB, free: 43.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.2559, allocations: 10.06 kB / 379.6 MB, free: 43.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.256, allocations: 8.125 kB / 379.6 MB, free: 43.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/0.2565, allocations: 320.2 kB / 380 MB, free: 42.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.2565, allocations: 384 / 380 MB, free: 42.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.2566, allocations: 5.188 kB / 380 MB, free: 42.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.2567, allocations: 81.42 kB / 380 MB, free: 42.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2567, allocations: 0 / 380 MB, free: 42.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.2568, allocations: 1.062 kB / 380 MB, free: 42.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2568, allocations: 0 / 380 MB, free: 42.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.094e-05/0.2568, allocations: 6.625 kB / 380.1 MB, free: 42.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.2571, allocations: 178.6 kB / 380.2 MB, free: 42.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.278e-05/0.2572, allocations: 22.02 kB / 380.2 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.2572, allocations: 7.297 kB / 380.3 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.2572, allocations: 0 / 380.3 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.2573, allocations: 61.64 kB / 380.3 MB, free: 42.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.2573, allocations: 0 / 380.3 MB, free: 42.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001506/0.2575, allocations: 53.94 kB / 380.4 MB, free: 42.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.2575, allocations: 159.6 kB / 380.5 MB, free: 42.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.2577, allocations: 164.1 kB / 380.7 MB, free: 41.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.2577, allocations: 26.86 kB / 380.7 MB, free: 41.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.2578, allocations: 96.12 kB / 380.8 MB, free: 41.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.2578, allocations: 5.125 kB / 380.8 MB, free: 41.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.2578, allocations: 0 / 380.8 MB, free: 41.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.921e-05/0.2579, allocations: 321 kB / 381.1 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.2579, allocations: 2.25 kB / 381.1 MB, free: 41.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.264e-05/0.258, allocations: 42.95 kB / 381.2 MB, free: 41.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.478e-05/0.258, allocations: 15.81 kB / 381.2 MB, free: 41.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.258, allocations: 0 / 381.2 MB, free: 41.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.231e-05/0.2581, allocations: 53.89 kB / 381.2 MB, free: 41.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2581, allocations: 6.25 kB / 381.2 MB, free: 41.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2582, allocations: 4 kB / 381.2 MB, free: 41.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2582, allocations: 1.156 kB / 381.2 MB, free: 41.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.658e-05/0.2582, allocations: 6.266 kB / 381.3 MB, free: 41.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.2582, allocations: 8.078 kB / 381.3 MB, free: 41.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.92e-05/0.2583, allocations: 3.406 kB / 381.3 MB, free: 41.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.2584, allocations: 0 / 381.3 MB, free: 41.41 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 8.676e-05/0.2585, allocations: 125.5 kB / 381.4 MB, free: 41.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.2585, allocations: 11.75 kB / 381.4 MB, free: 41.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.2585, allocations: 13.92 kB / 381.4 MB, free: 41.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2585, allocations: 1.047 kB / 381.4 MB, free: 41.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2586, allocations: 3.984 kB / 381.4 MB, free: 41.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2586, allocations: 5.031 kB / 381.4 MB, free: 41.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.2587, allocations: 176.5 kB / 381.6 MB, free: 41.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2588, allocations: 0 / 381.6 MB, free: 41.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.2588, allocations: 9.375 kB / 381.6 MB, free: 41.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.2588, allocations: 1.188 kB / 381.6 MB, free: 41.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.2588, allocations: 0 / 381.6 MB, free: 41.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.2588, allocations: 0 / 381.6 MB, free: 41.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2589, allocations: 5.594 kB / 381.6 MB, free: 41.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.259, allocations: 66.88 kB / 381.7 MB, free: 40.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.2591, allocations: 103.6 kB / 381.8 MB, free: 40.87 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.2591, allocations: 1.219 kB / 381.8 MB, free: 40.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.021e-05/0.2592, allocations: 2.344 kB / 381.8 MB, free: 40.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.2592, allocations: 0 / 381.8 MB, free: 40.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.2592, allocations: 1.375 kB / 381.8 MB, free: 40.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.2593, allocations: 135.4 kB / 381.9 MB, free: 40.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2593, allocations: 1.031 kB / 381.9 MB, free: 40.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003217/0.2597, allocations: 19.62 kB / 381.9 MB, free: 40.76 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.0004337/0.2601, allocations: 196.2 kB / 382.1 MB, free: 40.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.2602, allocations: 20.78 kB / 382.1 MB, free: 40.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2603, allocations: 0 / 382.1 MB, free: 40.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.619e-05/0.2603, allocations: 3.531 kB / 382.1 MB, free: 40.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.2605, allocations: 11.91 kB / 382.2 MB, free: 40.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.2611, allocations: 274.6 kB / 382.4 MB, free: 40.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.2613, allocations: 0.7097 MB / 383.1 MB, free: 39.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.786e-05/0.2613, allocations: 7.219 kB / 383.1 MB, free: 39.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.2614, allocations: 16.78 kB / 383.2 MB, free: 39.66 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2614, allocations: 0 / 383.2 MB, free: 39.66 MB / 298.7 MB Notification: Performance of Templates: time 0.005121/0.2665, allocations: 1.188 MB / 384.4 MB, free: 39.06 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/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