Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_cpp_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.001341/0.001341, allocations: 175 kB / 16.72 MB, free: 5.082 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.498/1.498, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007149/0.0007147, allocations: 92.95 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003776, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2342, allocations: 47.58 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0006564/0.235, allocations: 250.2 kB / 375.3 MB, free: 45.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.237, allocations: 1.779 MB / 377.1 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.788e-05/0.237, allocations: 4.938 kB / 377.1 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.2385, allocations: 103.4 kB / 377.2 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.993e-05/0.2386, allocations: 34.55 kB / 377.2 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.2388, allocations: 45.44 kB / 377.3 MB, free: 43.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.315e-05/0.2388, allocations: 36.06 kB / 377.3 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.2389, allocations: 2.188 kB / 377.3 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.175e-05/0.2389, allocations: 24.98 kB / 377.3 MB, free: 43.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.2391, allocations: 30.97 kB / 377.4 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.2391, allocations: 0.9688 kB / 377.4 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.441e-05/0.2391, allocations: 25.52 kB / 377.4 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.724e-05/0.2392, allocations: 49.55 kB / 377.5 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.28e-05/0.2393, allocations: 46.59 kB / 377.5 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.2394, allocations: 39.41 kB / 377.5 MB, free: 43.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2394, allocations: 0 / 377.5 MB, free: 43.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2394, allocations: 0 / 377.5 MB, free: 43.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.2394, allocations: 1.031 kB / 377.5 MB, free: 43.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.0003368/0.2398, allocations: 391.5 kB / 377.9 MB, free: 43.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2398, allocations: 9.375 kB / 377.9 MB, free: 43.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.2399, allocations: 12.91 kB / 377.9 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.2403, allocations: 311.6 kB / 378.2 MB, free: 42.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.2403, allocations: 384 / 378.2 MB, free: 42.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.2403, allocations: 1.5 kB / 378.2 MB, free: 42.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.2404, allocations: 72.86 kB / 378.3 MB, free: 42.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.2405, allocations: 1.062 kB / 378.3 MB, free: 42.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.2405, allocations: 9.234 kB / 378.3 MB, free: 42.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2405, allocations: 0 / 378.3 MB, free: 42.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.734e-05/0.2405, allocations: 6.625 kB / 378.3 MB, free: 42.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.2408, allocations: 170 kB / 378.5 MB, free: 42.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.62e-05/0.2408, allocations: 26.23 kB / 378.5 MB, free: 42.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.2408, allocations: 14.25 kB / 378.5 MB, free: 42.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.2409, allocations: 1.125 kB / 378.5 MB, free: 42.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.2409, allocations: 69.23 kB / 378.6 MB, free: 42.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2409, allocations: 0 / 378.6 MB, free: 42.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.000124/0.241, allocations: 41.45 kB / 378.7 MB, free: 42.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.2411, allocations: 167.4 kB / 378.8 MB, free: 42.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.2412, allocations: 163.8 kB / 379 MB, free: 42.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.2412, allocations: 26.77 kB / 379 MB, free: 42.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.2413, allocations: 91.58 kB / 379.1 MB, free: 41.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.2413, allocations: 5.062 kB / 379.1 MB, free: 41.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.2413, allocations: 4.125 kB / 379.1 MB, free: 41.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.094e-05/0.2414, allocations: 321 kB / 379.4 MB, free: 41.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/0.2414, allocations: 2.531 kB / 379.4 MB, free: 41.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.2414, allocations: 39.03 kB / 379.5 MB, free: 41.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.8e-05/0.2415, allocations: 14.89 kB / 379.5 MB, free: 41.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2415, allocations: 5.281 kB / 379.5 MB, free: 41.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.501e-05/0.2415, allocations: 57.66 kB / 379.5 MB, free: 41.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2416, allocations: 5.031 kB / 379.5 MB, free: 41.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2416, allocations: 1.031 kB / 379.5 MB, free: 41.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.2416, allocations: 0 / 379.5 MB, free: 41.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.82e-05/0.2416, allocations: 3.188 kB / 379.5 MB, free: 41.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2416, allocations: 0 / 379.5 MB, free: 41.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.455e-05/0.2417, allocations: 2.156 kB / 379.5 MB, free: 41.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.2417, allocations: 1.062 kB / 379.5 MB, free: 41.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.227e-05/0.2418, allocations: 129.1 kB / 379.7 MB, free: 41.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.2418, allocations: 12.22 kB / 379.7 MB, free: 41.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.2418, allocations: 13.92 kB / 379.7 MB, free: 41.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2419, allocations: 4.984 kB / 379.7 MB, free: 41.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2419, allocations: 0 / 379.7 MB, free: 41.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2419, allocations: 0 / 379.7 MB, free: 41.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.242, allocations: 169 kB / 379.9 MB, free: 41.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.242, allocations: 0 / 379.9 MB, free: 41.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.713e-05/0.242, allocations: 9.969 kB / 379.9 MB, free: 41.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2421, allocations: 0 / 379.9 MB, free: 41.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.2421, allocations: 5.25 kB / 379.9 MB, free: 41.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2421, allocations: 3.938 kB / 379.9 MB, free: 41.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2421, allocations: 0 / 379.9 MB, free: 41.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.2422, allocations: 72.86 kB / 380 MB, free: 41.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.2422, allocations: 106.5 kB / 380.1 MB, free: 40.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.2423, allocations: 1.188 kB / 380.1 MB, free: 40.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.605e-05/0.2423, allocations: 6.047 kB / 380.1 MB, free: 40.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.2424, allocations: 5.219 kB / 380.1 MB, free: 40.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.2424, allocations: 1.062 kB / 380.1 MB, free: 40.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.074e-05/0.2424, allocations: 128.2 kB / 380.2 MB, free: 40.85 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2425, allocations: 3.938 kB / 380.2 MB, free: 40.85 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.2427, allocations: 20.22 kB / 380.2 MB, free: 40.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003201/0.243, allocations: 169.1 kB / 380.4 MB, free: 40.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.273e-05/0.2431, allocations: 9.219 kB / 380.4 MB, free: 40.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2431, allocations: 0 / 380.4 MB, free: 40.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.01e-05/0.2431, allocations: 7.438 kB / 380.4 MB, free: 40.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.2433, allocations: 20.83 kB / 380.4 MB, free: 40.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.2435, allocations: 194.5 kB / 380.6 MB, free: 40.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.2436, allocations: 0.6882 MB / 381.3 MB, free: 39.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.2437, allocations: 13.06 kB / 381.3 MB, free: 39.8 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2437, allocations: 0 / 381.3 MB, free: 39.8 MB / 298.7 MB Notification: Performance of Templates: time 0.002838/0.2465, allocations: 1.462 MB / 382.8 MB, free: 39.05 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_3.2.3_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches