Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008418/0.0008418, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 171.9 kB / 24.82 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9379/0.9379, allocations: 177 MB / 205.1 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 273.3 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.193e-05/1.336e-05, allocations: 6.312 kB / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0009957/0.001009, allocations: 0.53 MB / 273.8 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.002745, allocations: 1.992 MB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.985e-05/0.002785, allocations: 0 / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.00462, allocations: 250 kB / 276.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.206e-05/0.004662, allocations: 19.92 kB / 276.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.004806, allocations: 51.86 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.395e-05/0.00488, allocations: 43.83 kB / 276.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.54e-05/0.004906, allocations: 4 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.00611, allocations: 386.4 kB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.305e-05/0.006183, allocations: 15.92 kB / 276.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.006197, allocations: 0 / 276.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.026e-05/0.006227, allocations: 0 / 276.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.693e-05/0.006274, allocations: 27.92 kB / 276.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.006296, allocations: 19.86 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.006456, allocations: 47.72 kB / 276.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.006458, allocations: 0 / 276.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.006458, allocations: 0 / 276.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.006462, allocations: 0 / 276.7 MB, free: 14.1 MB / 266.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.0002962/0.006758, allocations: 465.6 kB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.00679, allocations: 11.98 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.006817, allocations: 12.89 kB / 277.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.006951, allocations: 175.9 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.006958, allocations: 384 / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.006969, allocations: 4.375 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.735e-05/0.007037, allocations: 79.27 kB / 277.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-06/0.007042, allocations: 192 / 277.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.1e-06/0.007047, allocations: 384 / 277.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.007052, allocations: 3.938 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.083e-06/0.007059, allocations: 7.984 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.00725, allocations: 125.2 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.653e-05/0.007277, allocations: 27 kB / 277.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.123e-05/0.007288, allocations: 19.73 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-06/0.007293, allocations: 4 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.00732, allocations: 59.09 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.007321, allocations: 0 / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 8.005e-05/0.007401, allocations: 45.61 kB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.007429, allocations: 77.11 kB / 277.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.007543, allocations: 263.6 kB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.007551, allocations: 25.7 kB / 278 MB, free: 12.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.007607, allocations: 166.8 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.007622, allocations: 4 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.007646, allocations: 23.3 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.007758, allocations: 0.5041 MB / 278.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.561e-06/0.007763, allocations: 0 / 278.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.007789, allocations: 49.06 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.713e-05/0.007806, allocations: 11.69 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.007807, allocations: 0 / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.289e-05/0.00785, allocations: 53.61 kB / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.007859, allocations: 8 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.007863, allocations: 0 / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.007871, allocations: 0 / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.892e-05/0.00789, allocations: 12.06 kB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.007893, allocations: 3.984 kB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.154e-05/0.007905, allocations: 3.938 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-06/0.007908, allocations: 0 / 278.9 MB, free: 11.64 MB / 266.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.642e-05/0.007964, allocations: 160.6 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.007973, allocations: 11.91 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/0.007994, allocations: 12.5 kB / 279 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.007996, allocations: 4 kB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.007998, allocations: 3.984 kB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.008001, allocations: 3.938 kB / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.008114, allocations: 129.2 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.008115, allocations: 0 / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.088e-05/0.008126, allocations: 0 / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.82e-07/0.008127, allocations: 0 / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.008134, allocations: 4 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.008136, allocations: 3.984 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.008136, allocations: 0 / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.985e-05/0.008206, allocations: 84.23 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.008225, allocations: 15.94 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.008236, allocations: 4 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-06/0.008244, allocations: 4.062 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-06/0.008252, allocations: 0 / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.11e-07/0.008253, allocations: 3.938 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.337e-05/0.008316, allocations: 176.4 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008316, allocations: 0 / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001121/0.008428, allocations: 8 kB / 279.5 MB, free: 10.97 MB / 266.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.0001349/0.008563, allocations: 106.1 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.954e-05/0.008613, allocations: 27.62 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.008614, allocations: 0 / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.333e-06/0.008621, allocations: 11.62 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.493e-05/0.008716, allocations: 11.98 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/0.008927, allocations: 214.4 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.944e-05/0.008967, allocations: 71.33 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.617e-05/0.008993, allocations: 13.09 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.464e-05/0.009048, allocations: 90.19 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of SimCode: time 3.61e-07/0.009048, allocations: 0 / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of Templates: time 0.001897/0.01094, allocations: 0.602 MB / 280.6 MB, free: 9.793 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4830026901327074]