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.001087/0.001087, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004266/0.004266, allocations: 160.6 kB / 24.7 MB, free: 9.441 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.8543/0.8543, allocations: 177 MB / 204.9 MB, free: 5.727 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.914e-06/1.914e-06, allocations: 0 / 325.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.277e-05, allocations: 5.375 kB / 325.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0009994/0.001022, allocations: 0.5164 MB / 326.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.00267, allocations: 1.921 MB / 328.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.073e-05/0.002711, allocations: 0 / 328.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.003832, allocations: 165.1 kB / 328.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.595e-05/0.003878, allocations: 27.91 kB / 328.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.00403, allocations: 55.06 kB / 328.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.846e-05/0.004118, allocations: 39.89 kB / 328.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.004155, allocations: 8 kB / 328.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.556e-05/0.00424, allocations: 43.77 kB / 328.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.864e-05/0.004309, allocations: 19.98 kB / 328.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.004325, allocations: 4 kB / 328.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.186e-05/0.004367, allocations: 8 kB / 328.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.004442, allocations: 47.89 kB / 328.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.004473, allocations: 7.938 kB / 328.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.004632, allocations: 51.81 kB / 328.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.004634, allocations: 0 / 328.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.004635, allocations: 4 kB / 328.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.004639, allocations: 0 / 328.7 MB, free: 12.5 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.0003428/0.004982, allocations: 323.7 kB / 329 MB, free: 12.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.005018, allocations: 11.98 kB / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.005056, allocations: 12.89 kB / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.005202, allocations: 133.7 kB / 329.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.00521, allocations: 384 / 329.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.005227, allocations: 384 / 329.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.005381, allocations: 181.3 kB / 329.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.005389, allocations: 192 / 329.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.0054, allocations: 384 / 329.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.005406, allocations: 3.938 kB / 329.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.681e-05/0.005423, allocations: 4 kB / 329.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.005659, allocations: 117.3 kB / 329.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.031e-05/0.0057, allocations: 34.5 kB / 329.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.005717, allocations: 4.859 kB / 329.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.005729, allocations: 0 / 329.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/0.005779, allocations: 64.27 kB / 329.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.00578, allocations: 0 / 329.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001341/0.005914, allocations: 45.64 kB / 329.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.005975, allocations: 162.2 kB / 329.7 MB, free: 11.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.006077, allocations: 153.4 kB / 329.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.006086, allocations: 25.7 kB / 329.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.006127, allocations: 100.1 kB / 330 MB, free: 10.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.006144, allocations: 4.125 kB / 330 MB, free: 10.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.006172, allocations: 21.7 kB / 330 MB, free: 10.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.827e-05/0.00625, allocations: 318.8 kB / 330.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.006261, allocations: 0 / 330.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.648e-05/0.006317, allocations: 143.1 kB / 330.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.688e-05/0.006344, allocations: 20.8 kB / 330.5 MB, free: 10.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.006346, allocations: 0 / 330.5 MB, free: 10.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.678e-05/0.006393, allocations: 49.64 kB / 330.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.006406, allocations: 15.06 kB / 330.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.006411, allocations: 4.094 kB / 330.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.006423, allocations: 0 / 330.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.521e-05/0.006448, allocations: 4 kB / 330.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.006454, allocations: 3.938 kB / 330.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.006493, allocations: 3.984 kB / 330.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.006499, allocations: 4 kB / 330.6 MB, free: 10.29 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.022e-05/0.00656, allocations: 117.8 kB / 330.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-06/0.006567, allocations: 7.953 kB / 330.7 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.81e-05/0.006586, allocations: 19.75 kB / 330.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006587, allocations: 0 / 330.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.006592, allocations: 7.938 kB / 330.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.006594, allocations: 0 / 330.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.00673, allocations: 121.3 kB / 330.9 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006731, allocations: 0 / 330.9 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-05/0.006745, allocations: 4 kB / 330.9 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.006747, allocations: 4 kB / 330.9 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.006754, allocations: 0 / 330.9 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.006754, allocations: 0 / 330.9 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006755, allocations: 0 / 330.9 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.749e-05/0.006843, allocations: 80.95 kB / 330.9 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.006866, allocations: 16.11 kB / 331 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.006877, allocations: 4 kB / 331 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/0.0069, allocations: 3.984 kB / 331 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.006916, allocations: 4 kB / 331 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.00692, allocations: 3.938 kB / 331 MB, free: 9.844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.463e-05/0.006974, allocations: 119.2 kB / 331.1 MB, free: 9.727 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006974, allocations: 3.938 kB / 331.1 MB, free: 9.723 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001291/0.007103, allocations: 15.94 kB / 331.1 MB, free: 9.707 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 (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.0002266/0.00733, allocations: 146 kB / 331.2 MB, free: 9.574 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.644e-05/0.007406, allocations: 8 kB / 331.3 MB, free: 9.566 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.007408, allocations: 3.938 kB / 331.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.011e-06/0.007414, allocations: 7.938 kB / 331.3 MB, free: 9.555 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/0.007523, allocations: 11.94 kB / 331.3 MB, free: 9.543 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.007785, allocations: 203 kB / 331.5 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.196e-05/0.007837, allocations: 83.25 kB / 331.6 MB, free: 9.211 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.007862, allocations: 16.5 kB / 331.6 MB, free: 9.191 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.007863, allocations: 0 / 331.6 MB, free: 9.191 MB / 298.7 MB Notification: Performance of Templates: time 0.002162/0.01002, allocations: 1.438 MB / 333 MB, free: 7.773 MB / 298.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.412811663933098]