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.0009398/0.0009398, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001447/0.002387, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0009417/0.0009417, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001293/0.002235, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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/1, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1098/1.11, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.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.032e-06/1.032e-06, allocations: 0 / 245.2 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178e-05/1.281e-05, allocations: 2.312 kB / 245.2 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0009761/0.0009889, allocations: 0.5782 MB / 245.8 MB, free: 13.03 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.002465, allocations: 2.025 MB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.002493, allocations: 4 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.004357, allocations: 237.4 kB / 248 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.411e-05/0.004391, allocations: 23.97 kB / 248 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.004519, allocations: 47.81 kB / 248.1 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.102e-05/0.0046, allocations: 47.84 kB / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.96e-05/0.00463, allocations: 3.984 kB / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.269e-05/0.004722, allocations: 51.78 kB / 248.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.004781, allocations: 15.97 kB / 248.2 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.004795, allocations: 0 / 248.2 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.263e-05/0.004837, allocations: 11.98 kB / 248.2 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.456e-05/0.004902, allocations: 47.91 kB / 248.3 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.004927, allocations: 7.938 kB / 248.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.005097, allocations: 51.77 kB / 248.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.005107, allocations: 0 / 248.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005107, allocations: 0 / 248.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.005116, allocations: 0 / 248.3 MB, free: 10.52 MB / 250.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.0003163/0.005432, allocations: 298 kB / 248.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.729e-05/0.005459, allocations: 12.62 kB / 248.6 MB, free: 10.19 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.005491, allocations: 12.88 kB / 248.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.005618, allocations: 141.6 kB / 248.8 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-06/0.005625, allocations: 384 / 248.8 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.005644, allocations: 4.375 kB / 248.8 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.005748, allocations: 180.2 kB / 249 MB, free: 9.789 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.005754, allocations: 192 / 249 MB, free: 9.789 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.00576, allocations: 384 / 249 MB, free: 9.789 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.005766, allocations: 3.938 kB / 249 MB, free: 9.785 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.428e-06/0.005775, allocations: 6.766 kB / 249 MB, free: 9.777 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.005932, allocations: 74.7 kB / 249 MB, free: 9.688 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.661e-05/0.005958, allocations: 14.58 kB / 249.1 MB, free: 9.664 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.749e-06/0.005968, allocations: 8.953 kB / 249.1 MB, free: 9.652 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.949e-06/0.005973, allocations: 0 / 249.1 MB, free: 9.652 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.006001, allocations: 64.25 kB / 249.1 MB, free: 9.574 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 6.52e-07/0.006002, allocations: 4 kB / 249.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 7.723e-05/0.006079, allocations: 37.64 kB / 249.2 MB, free: 9.527 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.006124, allocations: 154.2 kB / 249.3 MB, free: 9.34 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.071e-05/0.006194, allocations: 142.6 kB / 249.5 MB, free: 9.188 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.006204, allocations: 25.7 kB / 249.5 MB, free: 9.156 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.467e-05/0.006229, allocations: 88.12 kB / 249.6 MB, free: 9.066 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.006248, allocations: 7.953 kB / 249.6 MB, free: 9.059 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.006272, allocations: 21.64 kB / 249.6 MB, free: 9.031 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.436e-05/0.006336, allocations: 322.8 kB / 249.9 MB, free: 8.707 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-06/0.006343, allocations: 2.953 kB / 249.9 MB, free: 8.703 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.958e-05/0.006392, allocations: 147.1 kB / 250.1 MB, free: 8.52 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.827e-05/0.006411, allocations: 15.62 kB / 250.1 MB, free: 8.5 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.006412, allocations: 0 / 250.1 MB, free: 8.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.714e-05/0.006449, allocations: 40.52 kB / 250.1 MB, free: 8.453 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.006459, allocations: 8 kB / 250.1 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.006463, allocations: 0 / 250.1 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.006472, allocations: 0 / 250.1 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.291e-05/0.006495, allocations: 4 kB / 250.1 MB, free: 8.441 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.006498, allocations: 0 / 250.1 MB, free: 8.441 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.515e-05/0.006533, allocations: 12.02 kB / 250.1 MB, free: 8.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.006537, allocations: 4 kB / 250.1 MB, free: 8.426 MB / 250.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 4.47e-05/0.006582, allocations: 112.7 kB / 250.2 MB, free: 8.305 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-06/0.006587, allocations: 0 / 250.2 MB, free: 8.305 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/0.006607, allocations: 15.8 kB / 250.3 MB, free: 8.289 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.31e-07/0.006608, allocations: 0 / 250.3 MB, free: 8.289 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.006609, allocations: 3.938 kB / 250.3 MB, free: 8.285 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.006611, allocations: 0 / 250.3 MB, free: 8.285 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.232e-05/0.006693, allocations: 85.81 kB / 250.4 MB, free: 8.184 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.006694, allocations: 0 / 250.4 MB, free: 8.184 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.163e-05/0.006705, allocations: 4 kB / 250.4 MB, free: 8.18 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.006721, allocations: 7.953 kB / 250.4 MB, free: 8.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.006722, allocations: 0 / 250.4 MB, free: 8.172 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.006728, allocations: 0 / 250.4 MB, free: 8.172 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.006731, allocations: 11.97 kB / 250.4 MB, free: 8.16 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.006733, allocations: 4 kB / 250.4 MB, free: 8.156 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.289e-05/0.006796, allocations: 66.72 kB / 250.4 MB, free: 8.07 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.006807, allocations: 8 kB / 250.5 MB, free: 8.062 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.957e-05/0.006827, allocations: 0 / 250.5 MB, free: 8.062 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-06/0.006835, allocations: 4 kB / 250.5 MB, free: 8.059 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-06/0.006837, allocations: 4.062 kB / 250.5 MB, free: 8.055 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.066e-05/0.006857, allocations: 28.27 kB / 250.5 MB, free: 8.027 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006857, allocations: 3.938 kB / 250.5 MB, free: 8.023 MB / 250.7 MB Notification: Performance of remove unused functions: time 9.903e-05/0.006956, allocations: 11.98 kB / 250.5 MB, free: 8.012 MB / 250.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.0002622/0.007219, allocations: 154.5 kB / 250.7 MB, free: 7.879 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.22e-05/0.007271, allocations: 12.86 kB / 250.7 MB, free: 7.863 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.007275, allocations: 7.984 kB / 250.7 MB, free: 7.855 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.734e-06/0.007283, allocations: 4.859 kB / 250.7 MB, free: 7.848 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.085e-05/0.007354, allocations: 23.92 kB / 250.7 MB, free: 7.824 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/0.007586, allocations: 229.8 kB / 250.9 MB, free: 7.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.174e-05/0.007618, allocations: 71.33 kB / 251 MB, free: 7.48 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.744e-05/0.007646, allocations: 12.17 kB / 251 MB, free: 7.469 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.007719, allocations: 71.36 kB / 251.1 MB, free: 7.398 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007719, allocations: 0 / 251.1 MB, free: 7.398 MB / 250.7 MB Notification: Performance of Templates: time 0.002437/0.01016, allocations: 1.214 MB / 252.3 MB, free: 6.227 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7231438467279077]