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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 109.2 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009731/0.0009731, allocations: 43.45 kB / 299.9 MB, free: 6.262 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08257/0.08356, allocations: 49.45 MB / 349.4 MB, free: 4.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001536/0.08513, allocations: 0.5829 MB / 350 MB, free: 4.219 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.08692, allocations: 1.778 MB / 351.7 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/0.08696, allocations: 0 / 351.7 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.08891, allocations: 120.1 kB / 351.9 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.532e-05/0.08898, allocations: 35.89 kB / 351.9 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.08915, allocations: 51.31 kB / 351.9 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.249e-05/0.08923, allocations: 47.78 kB / 352 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.557e-05/0.08927, allocations: 7.984 kB / 352 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.679e-05/0.08932, allocations: 19.94 kB / 352 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.08944, allocations: 38.33 kB / 352.1 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.08947, allocations: 4 kB / 352.1 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.215e-05/0.08953, allocations: 12 kB / 352.1 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.504e-05/0.08963, allocations: 59.83 kB / 352.1 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.08969, allocations: 23.84 kB / 352.2 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.08981, allocations: 55.81 kB / 352.2 MB, free: 1.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.08982, allocations: 0 / 352.2 MB, free: 1.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.08983, allocations: 0 / 352.2 MB, free: 1.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.08984, allocations: 4 kB / 352.2 MB, free: 1.977 MB / 286.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.0003927/0.09024, allocations: 397.2 kB / 352.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.09028, allocations: 12.02 kB / 352.6 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.09032, allocations: 8.844 kB / 352.6 MB, free: 1.516 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.09055, allocations: 208.2 kB / 352.8 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.09057, allocations: 4.375 kB / 352.8 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.09058, allocations: 384 / 352.8 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.0907, allocations: 74.23 kB / 352.9 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.09071, allocations: 0 / 352.9 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.09073, allocations: 3.984 kB / 352.9 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.09074, allocations: 0 / 352.9 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.731e-05/0.09076, allocations: 12 kB / 352.9 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000262/0.09103, allocations: 169.7 kB / 353.1 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.72e-05/0.09108, allocations: 22.52 kB / 353.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/0.0911, allocations: 16.84 kB / 353.1 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.09112, allocations: 0 / 353.1 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.09116, allocations: 64.27 kB / 353.2 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.09116, allocations: 4 kB / 353.2 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001126/0.09128, allocations: 45.55 kB / 353.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.09136, allocations: 162.2 kB / 353.4 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.0915, allocations: 161.8 kB / 353.5 MB, free: 408 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.09152, allocations: 25.7 kB / 353.6 MB, free: 376 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.09157, allocations: 96.08 kB / 353.7 MB, free: 276 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.09159, allocations: 3.906 kB / 353.7 MB, free: 272 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.09163, allocations: 21.7 kB / 353.7 MB, free: 244 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.09174, allocations: 319 kB / 354 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.09176, allocations: 7.984 kB / 354 MB, free: 15.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.413e-05/0.09181, allocations: 40.3 kB / 354.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.805e-05/0.09184, allocations: 16.84 kB / 354.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.09185, allocations: 0 / 354.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.271e-05/0.09193, allocations: 57.55 kB / 354.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.09195, allocations: 6.188 kB / 354.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.09195, allocations: 0 / 354.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.09197, allocations: 0 / 354.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.596e-05/0.092, allocations: 4 kB / 354.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.09201, allocations: 0 / 354.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.188e-05/0.09208, allocations: 11.92 kB / 354.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.0921, allocations: 3.938 kB / 354.2 MB, free: 15.75 MB / 302.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 8.367e-05/0.09219, allocations: 125.8 kB / 354.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.09221, allocations: 15.83 kB / 354.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.09224, allocations: 7.906 kB / 354.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.09225, allocations: 0 / 354.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.09225, allocations: 0 / 354.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.09226, allocations: 0 / 354.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.09243, allocations: 173.7 kB / 354.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.09244, allocations: 0 / 354.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.928e-05/0.09247, allocations: 11.92 kB / 354.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.09248, allocations: 0 / 354.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.09249, allocations: 0 / 354.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.0925, allocations: 0 / 354.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.0925, allocations: 4 kB / 354.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.09262, allocations: 76.97 kB / 354.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.09268, allocations: 85.08 kB / 354.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.0927, allocations: 0 / 354.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.268e-05/0.09277, allocations: 7.984 kB / 354.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.09279, allocations: 0 / 354.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.09279, allocations: 48 / 354.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.09291, allocations: 139.3 kB / 354.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.09292, allocations: 3.938 kB / 354.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002034/0.09312, allocations: 8 kB / 354.8 MB, free: 15 MB / 302.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.0003133/0.09344, allocations: 181.8 kB / 355 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.137e-05/0.09353, allocations: 11.94 kB / 355 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.09353, allocations: 0 / 355 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.374e-05/0.09355, allocations: 11.98 kB / 355 MB, free: 14.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.09371, allocations: 7.938 kB / 355 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.09405, allocations: 267.7 kB / 355.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.09428, allocations: 0.7082 MB / 356 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.862e-05/0.09432, allocations: 15.98 kB / 356 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.09435, allocations: 11.44 kB / 356 MB, free: 13.77 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.09436, allocations: 0 / 356 MB, free: 13.77 MB / 302.1 MB Notification: Performance of Templates: time 0.003358/0.09772, allocations: 1.196 MB / 357.2 MB, free: 12.59 MB / 302.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches