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.001977/0.001977, allocations: 96.25 kB / 20.96 MB, free: 3.449 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.002579/0.002579, allocations: 156.9 kB / 24.26 MB, free: 160 kB / 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 1.557/1.557, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.533e-06/1.533e-06, allocations: 0 / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.798e-05, allocations: 2.312 kB / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0016/0.001628, allocations: 0.5347 MB / 272.7 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002817/0.004445, allocations: 1.927 MB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.004488, allocations: 0 / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002371/0.006859, allocations: 246.2 kB / 274.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.467e-05/0.006924, allocations: 23.97 kB / 274.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.007122, allocations: 47.88 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.007227, allocations: 47.83 kB / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.237e-05/0.00726, allocations: 3.938 kB / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.007371, allocations: 39.84 kB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.781e-05/0.007449, allocations: 19.97 kB / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.007468, allocations: 0 / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.988e-05/0.007518, allocations: 8 kB / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.007625, allocations: 47.89 kB / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.65e-05/0.007672, allocations: 15.94 kB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.007877, allocations: 55.75 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.007879, allocations: 0 / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.00788, allocations: 0 / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.007884, allocations: 0 / 275.2 MB, free: 14.89 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.0004459/0.00833, allocations: 315.8 kB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.008368, allocations: 15.98 kB / 275.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.008419, allocations: 12.83 kB / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.008625, allocations: 133.7 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.008636, allocations: 4.375 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.008659, allocations: 384 / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.008874, allocations: 189.3 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.008881, allocations: 192 / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.008896, allocations: 8.359 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.008902, allocations: 3.938 kB / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.56e-05/0.008918, allocations: 0 / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.00921, allocations: 117.3 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.497e-05/0.009265, allocations: 26.56 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.188e-05/0.009286, allocations: 8.922 kB / 276 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.009296, allocations: 0 / 276 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.009348, allocations: 60.2 kB / 276 MB, free: 13.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.009349, allocations: 4 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.000159/0.009508, allocations: 45.64 kB / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.009634, allocations: 166.2 kB / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.009803, allocations: 153.2 kB / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.009827, allocations: 25.7 kB / 276.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.009899, allocations: 92.14 kB / 276.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.009915, allocations: 0 / 276.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.009965, allocations: 25.7 kB / 276.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.01014, allocations: 314.8 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.01016, allocations: 4.125 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.01029, allocations: 151 kB / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.337e-05/0.01032, allocations: 12.86 kB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01032, allocations: 4 kB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.022e-05/0.01041, allocations: 49.64 kB / 277.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.01043, allocations: 7.938 kB / 277.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.01043, allocations: 0 / 277.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.01045, allocations: 0 / 277.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.741e-05/0.01047, allocations: 4 kB / 277.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.01048, allocations: 3.938 kB / 277.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.01055, allocations: 12.08 kB / 277.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.01056, allocations: 3.938 kB / 277.1 MB, free: 12.66 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 0.0001107/0.01067, allocations: 121.8 kB / 277.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.381e-05/0.01069, allocations: 7.953 kB / 277.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.01072, allocations: 15.8 kB / 277.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.01072, allocations: 0 / 277.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.01072, allocations: 3.938 kB / 277.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.01072, allocations: 0 / 277.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.01091, allocations: 121.3 kB / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01091, allocations: 0 / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.502e-05/0.01094, allocations: 4 kB / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01094, allocations: 0 / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.01094, allocations: 4 kB / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01095, allocations: 0 / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01095, allocations: 0 / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.01109, allocations: 77.02 kB / 277.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.01112, allocations: 11.92 kB / 277.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.01114, allocations: 4 kB / 277.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.97e-05/0.0112, allocations: 11.98 kB / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.117e-05/0.01121, allocations: 0 / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.01122, allocations: 8.031 kB / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.01134, allocations: 119.2 kB / 277.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01134, allocations: 0 / 277.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.01155, allocations: 15.94 kB / 277.6 MB, free: 12.09 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.0004068/0.01195, allocations: 146.5 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.258e-05/0.01203, allocations: 8 kB / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01203, allocations: 0 / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.01204, allocations: 4 kB / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.0122, allocations: 15.92 kB / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.01266, allocations: 252.2 kB / 278 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.01277, allocations: 100.7 kB / 278.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.303e-05/0.01283, allocations: 16.11 kB / 278.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.01287, allocations: 12.5 kB / 278.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01287, allocations: 0 / 278.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of Templates: time 0.004407/0.01728, allocations: 1.09 MB / 279.3 MB, free: 10.46 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.459029344958253]