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.0008467/0.0008467, allocations: 91.61 kB / 21.19 MB, free: 3.383 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.0009108/0.0009108, allocations: 160.5 kB / 24.56 MB, free: 24 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 0.9358/0.9358, allocations: 177 MB / 204.8 MB, free: 5.195 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.453e-06/1.453e-06, allocations: 0 / 272.9 MB, free: 1.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.155e-05, allocations: 2.312 kB / 272.9 MB, free: 1.336 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001006/0.001028, allocations: 0.5444 MB / 273.4 MB, free: 0.793 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.002646, allocations: 1.984 MB / 275.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.32e-05/0.002689, allocations: 0 / 275.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.004841, allocations: 248.1 kB / 275.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.998e-05/0.00489, allocations: 27.91 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.005042, allocations: 39.88 kB / 275.7 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.117e-05/0.005123, allocations: 47.84 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.151e-05/0.005155, allocations: 0 / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.006322, allocations: 392.7 kB / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.831e-05/0.00639, allocations: 15.92 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.006407, allocations: 0 / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.396e-05/0.006441, allocations: 0 / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.006494, allocations: 31.91 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.006522, allocations: 7.938 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.006719, allocations: 51.66 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.006722, allocations: 4 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.006723, allocations: 4 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.006727, allocations: 4 kB / 276.3 MB, free: 14.16 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.000383/0.00711, allocations: 461.6 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.007151, allocations: 11.98 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.007199, allocations: 12.89 kB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.007375, allocations: 171.9 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.007384, allocations: 384 / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.007408, allocations: 4.359 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.007519, allocations: 75.28 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.007525, allocations: 192 / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.007535, allocations: 384 / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.007543, allocations: 15.92 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.215e-05/0.007556, allocations: 0 / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.007848, allocations: 164.6 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.103e-05/0.007889, allocations: 31 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.007906, allocations: 7.688 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.007912, allocations: 0 / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.007946, allocations: 63.16 kB / 277.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.007947, allocations: 0 / 277.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001142/0.008062, allocations: 49.72 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.008096, allocations: 89.05 kB / 277.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.008382, allocations: 247.8 kB / 277.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.008392, allocations: 25.7 kB / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.008454, allocations: 166.9 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.008473, allocations: 7.938 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.008499, allocations: 23.36 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.008699, allocations: 0.5001 MB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-06/0.008707, allocations: 0 / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.508e-05/0.008732, allocations: 49.08 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.303e-05/0.008755, allocations: 19.72 kB / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.008757, allocations: 0 / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.01e-05/0.008807, allocations: 49.59 kB / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.008819, allocations: 4 kB / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.008822, allocations: 4 kB / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.008833, allocations: 0 / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.776e-05/0.008861, allocations: 7.938 kB / 278.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.008868, allocations: 7.938 kB / 278.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.324e-05/0.008882, allocations: 0 / 278.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.008885, allocations: 0 / 278.5 MB, free: 11.68 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.722e-05/0.008943, allocations: 160.6 kB / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-06/0.008952, allocations: 11.91 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.008976, allocations: 16.48 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.008977, allocations: 0 / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.008982, allocations: 3.938 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.008985, allocations: 0 / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.009113, allocations: 164.6 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.009114, allocations: 0 / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.009129, allocations: 8 kB / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.00913, allocations: 0 / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.009141, allocations: 4 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.009142, allocations: 0 / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.009143, allocations: 0 / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.009281, allocations: 96.22 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.009301, allocations: 7.953 kB / 278.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.009311, allocations: 0 / 278.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-06/0.009319, allocations: 0 / 278.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.009332, allocations: 0 / 278.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.009334, allocations: 7.938 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.691e-05/0.009401, allocations: 180.4 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009401, allocations: 4.062 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001174/0.009518, allocations: 8 kB / 279.1 MB, free: 10.95 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.000203/0.009721, allocations: 117.7 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.161e-05/0.009803, allocations: 15.69 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.009805, allocations: 0 / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.785e-06/0.009812, allocations: 15.56 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/0.009926, allocations: 20.12 kB / 279.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.01023, allocations: 210.4 kB / 279.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.755e-05/0.01027, allocations: 75.27 kB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.914e-05/0.0103, allocations: 8.969 kB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.01033, allocations: 16.5 kB / 279.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01033, allocations: 0 / 279.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of Templates: time 0.002309/0.01264, allocations: 0.5791 MB / 280.2 MB, free: 9.863 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.560026586987078]