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.001422/0.001422, allocations: 105.1 kB / 21.22 MB, free: 0.5117 MB / 14.72 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.001461/0.001461, allocations: 214 kB / 24.54 MB, free: 3.875 MB / 14.72 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.421/1.421, allocations: 230.3 MB / 258 MB, free: 8.211 MB / 206.1 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 0.001789/0.001789, allocations: 59.91 kB / 378.7 MB, free: 2.789 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2214, allocations: 53.37 MB / 432.1 MB, free: 7.062 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001556/0.223, allocations: 0.52 MB / 432.6 MB, free: 6.547 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002322/0.2253, allocations: 1.956 MB / 434.6 MB, free: 4.574 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.2253, allocations: 0 / 434.6 MB, free: 4.574 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001975/0.2273, allocations: 153.9 kB / 434.7 MB, free: 4.453 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 5.359e-05/0.2274, allocations: 27.95 kB / 434.8 MB, free: 4.426 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.2275, allocations: 47.64 kB / 434.8 MB, free: 4.383 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 9.132e-05/0.2276, allocations: 47.83 kB / 434.8 MB, free: 4.336 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.275e-05/0.2276, allocations: 4 kB / 434.9 MB, free: 4.332 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.434e-05/0.2277, allocations: 31.84 kB / 434.9 MB, free: 4.301 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.863e-05/0.2278, allocations: 19.92 kB / 434.9 MB, free: 4.281 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.2278, allocations: 4 kB / 434.9 MB, free: 4.277 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.137e-05/0.2279, allocations: 15.98 kB / 434.9 MB, free: 4.262 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.551e-05/0.2279, allocations: 47.89 kB / 435 MB, free: 4.215 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.228, allocations: 15.88 kB / 435 MB, free: 4.199 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.2282, allocations: 51.48 kB / 435 MB, free: 4.152 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2282, allocations: 7.984 kB / 435 MB, free: 4.145 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.233e-06/0.2282, allocations: 0 / 435 MB, free: 4.145 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 4.909e-06/0.2282, allocations: 0 / 435 MB, free: 4.145 MB / 334.1 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.0004048/0.2286, allocations: 317.7 kB / 435.4 MB, free: 3.801 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.2286, allocations: 8.031 kB / 435.4 MB, free: 3.793 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.2286, allocations: 8.891 kB / 435.4 MB, free: 3.785 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.2288, allocations: 149 kB / 435.5 MB, free: 3.617 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.438e-06/0.2288, allocations: 384 / 435.5 MB, free: 3.617 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.2289, allocations: 384 / 435.5 MB, free: 3.617 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.229, allocations: 90.28 kB / 435.6 MB, free: 3.508 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.229, allocations: 0 / 435.6 MB, free: 3.508 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.229, allocations: 0 / 435.6 MB, free: 3.508 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.229, allocations: 0 / 435.6 MB, free: 3.508 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.576e-05/0.229, allocations: 7.938 kB / 435.6 MB, free: 3.5 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.2293, allocations: 144.8 kB / 435.8 MB, free: 3.316 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 4.761e-05/0.2294, allocations: 22.52 kB / 435.8 MB, free: 3.285 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.2294, allocations: 12.91 kB / 435.8 MB, free: 3.27 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.169e-06/0.2294, allocations: 0 / 435.8 MB, free: 3.27 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.674e-05/0.2295, allocations: 64.2 kB / 435.9 MB, free: 3.191 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.2295, allocations: 0 / 435.9 MB, free: 3.191 MB / 334.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0001279/0.2296, allocations: 45.59 kB / 435.9 MB, free: 3.141 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.576e-05/0.2297, allocations: 166.3 kB / 436.1 MB, free: 2.941 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.2298, allocations: 146.2 kB / 436.2 MB, free: 2.785 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.2298, allocations: 25.7 kB / 436.2 MB, free: 2.754 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.2299, allocations: 100.1 kB / 436.3 MB, free: 2.652 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.2299, allocations: 0 / 436.3 MB, free: 2.652 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.2299, allocations: 17.67 kB / 436.3 MB, free: 2.629 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001374/0.2301, allocations: 322.8 kB / 436.7 MB, free: 2.305 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.2301, allocations: 4 kB / 436.7 MB, free: 2.301 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.176e-05/0.2301, allocations: 44.28 kB / 436.7 MB, free: 2.242 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 2.979e-05/0.2302, allocations: 16.8 kB / 436.7 MB, free: 2.223 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2302, allocations: 0 / 436.7 MB, free: 2.223 MB / 334.1 MB
Notification: Performance of matching and sorting (n=2) (initialization): time 7.238e-05/0.2303, allocations: 45.69 kB / 436.8 MB, free: 2.172 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2303, allocations: 11.94 kB / 436.8 MB, free: 2.16 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.2303, allocations: 0 / 436.8 MB, free: 2.16 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2303, allocations: 4.094 kB / 436.8 MB, free: 2.156 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.629e-05/0.2303, allocations: 4 kB / 436.8 MB, free: 2.152 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.2303, allocations: 0 / 436.8 MB, free: 2.152 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.742e-05/0.2304, allocations: 0 / 436.8 MB, free: 2.152 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.2304, allocations: 0 / 436.8 MB, free: 2.152 MB / 334.1 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 9.531e-05/0.2305, allocations: 129.8 kB / 436.9 MB, free: 2.016 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.2305, allocations: 15.83 kB / 436.9 MB, free: 2 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.2305, allocations: 15.75 kB / 436.9 MB, free: 1.984 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.2305, allocations: 0 / 436.9 MB, free: 1.984 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2305, allocations: 0 / 436.9 MB, free: 1.984 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.2305, allocations: 4 kB / 436.9 MB, free: 1.98 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.2307, allocations: 144.7 kB / 437.1 MB, free: 1.797 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2307, allocations: 0 / 437.1 MB, free: 1.797 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.507e-05/0.2307, allocations: 7.938 kB / 437.1 MB, free: 1.789 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.2307, allocations: 3.938 kB / 437.1 MB, free: 1.785 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.2307, allocations: 0 / 437.1 MB, free: 1.785 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.2307, allocations: 0 / 437.1 MB, free: 1.785 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2307, allocations: 0 / 437.1 MB, free: 1.785 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.2308, allocations: 77.08 kB / 437.2 MB, free: 1.691 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.2309, allocations: 11.92 kB / 437.2 MB, free: 1.68 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.2309, allocations: 4 kB / 437.2 MB, free: 1.676 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.196e-05/0.2309, allocations: 7.984 kB / 437.2 MB, free: 1.668 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.231, allocations: 3.938 kB / 437.2 MB, free: 1.664 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.231, allocations: 0 / 437.2 MB, free: 1.664 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 8.917e-05/0.2311, allocations: 122 kB / 437.3 MB, free: 1.547 MB / 334.1 MB
Notification: Performance of sort global known variables: time 6.1e-08/0.2311, allocations: 0 / 437.3 MB, free: 1.547 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0001892/0.2312, allocations: 15.94 kB / 437.3 MB, free: 1.531 MB / 334.1 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.0003095/0.2316, allocations: 150.2 kB / 437.5 MB, free: 1.395 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 7.889e-05/0.2316, allocations: 15.88 kB / 437.5 MB, free: 1.379 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2316, allocations: 4.062 kB / 437.5 MB, free: 1.375 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 1.068e-05/0.2316, allocations: 4 kB / 437.5 MB, free: 1.371 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.2318, allocations: 8 kB / 437.5 MB, free: 1.363 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.2322, allocations: 241.7 kB / 437.7 MB, free: 1.098 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.2325, allocations: 0.7119 MB / 438.5 MB, free: 368 kB / 334.1 MB
Notification: Performance of simCode: alias equations: time 3.155e-05/0.2325, allocations: 4 kB / 438.5 MB, free: 364 kB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.2326, allocations: 27.48 kB / 438.5 MB, free: 336 kB / 334.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.2326, allocations: 0 / 438.5 MB, free: 336 kB / 334.1 MB
Notification: Performance of Templates: time 0.00359/0.2361, allocations: 1.037 MB / 439.5 MB, free: 15.32 MB / 350.1 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.015945723280311]