Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001395/0.001395, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001597/0.001597, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile")
translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 68.77 kB / 379 MB, free: 2.742 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2589, allocations: 53.37 MB / 432.4 MB, free: 6.945 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001613/0.2605, allocations: 0.5238 MB / 432.9 MB, free: 6.426 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00251/0.263, allocations: 1.945 MB / 434.9 MB, free: 4.465 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.263, allocations: 0 / 434.9 MB, free: 4.465 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001962/0.265, allocations: 169.4 kB / 435 MB, free: 4.328 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 6.248e-05/0.2651, allocations: 27.91 kB / 435.1 MB, free: 4.301 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.2652, allocations: 39.94 kB / 435.1 MB, free: 4.262 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001025/0.2653, allocations: 43.78 kB / 435.1 MB, free: 4.219 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.2654, allocations: 11.98 kB / 435.1 MB, free: 4.207 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.984e-05/0.2655, allocations: 31.91 kB / 435.2 MB, free: 4.176 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.345e-05/0.2655, allocations: 23.86 kB / 435.2 MB, free: 4.152 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.2656, allocations: 4 kB / 435.2 MB, free: 4.148 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.963e-05/0.2656, allocations: 8 kB / 435.2 MB, free: 4.141 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.95e-05/0.2657, allocations: 51.89 kB / 435.3 MB, free: 4.09 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.2657, allocations: 11.88 kB / 435.3 MB, free: 4.078 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.2659, allocations: 53.44 kB / 435.3 MB, free: 4.031 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.266, allocations: 4 kB / 435.3 MB, free: 4.027 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.984e-06/0.266, allocations: 0 / 435.3 MB, free: 4.027 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 4.929e-06/0.266, allocations: 0 / 435.3 MB, free: 4.027 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.0004452/0.2664, allocations: 323.8 kB / 435.6 MB, free: 3.676 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2664, allocations: 8.031 kB / 435.7 MB, free: 3.668 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.2665, allocations: 8.891 kB / 435.7 MB, free: 3.66 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.2667, allocations: 138.4 kB / 435.8 MB, free: 3.5 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.2667, allocations: 8.312 kB / 435.8 MB, free: 3.492 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.2667, allocations: 384 / 435.8 MB, free: 3.492 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.2669, allocations: 90.22 kB / 435.9 MB, free: 3.383 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2669, allocations: 0 / 435.9 MB, free: 3.383 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.2669, allocations: 0 / 435.9 MB, free: 3.383 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2669, allocations: 0 / 435.9 MB, free: 3.383 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.1e-05/0.2669, allocations: 7.984 kB / 435.9 MB, free: 3.375 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.2672, allocations: 140.8 kB / 436 MB, free: 3.195 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 5.039e-05/0.2672, allocations: 22.5 kB / 436.1 MB, free: 3.164 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.2673, allocations: 8.922 kB / 436.1 MB, free: 3.152 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.2673, allocations: 4 kB / 436.1 MB, free: 3.148 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.2673, allocations: 60.2 kB / 436.1 MB, free: 3.074 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.2673, allocations: 0 / 436.1 MB, free: 3.074 MB / 334.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0001439/0.2675, allocations: 49.64 kB / 436.2 MB, free: 3.02 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.2676, allocations: 158.2 kB / 436.3 MB, free: 2.828 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.2678, allocations: 156.8 kB / 436.5 MB, free: 2.664 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.2678, allocations: 25.7 kB / 436.5 MB, free: 2.633 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.2679, allocations: 96.27 kB / 436.6 MB, free: 2.535 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.2679, allocations: 4 kB / 436.6 MB, free: 2.531 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.268, allocations: 21.66 kB / 436.6 MB, free: 2.504 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.000141/0.2682, allocations: 318.8 kB / 436.9 MB, free: 2.184 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.2682, allocations: 4 kB / 437 MB, free: 2.18 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.141e-05/0.2682, allocations: 40.28 kB / 437 MB, free: 2.125 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 3.219e-05/0.2683, allocations: 20.86 kB / 437 MB, free: 2.102 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2683, allocations: 0 / 437 MB, free: 2.102 MB / 334.1 MB
Notification: Performance of matching and sorting (n=2) (initialization): time 7.647e-05/0.2684, allocations: 49.62 kB / 437.1 MB, free: 2.047 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.2684, allocations: 11.94 kB / 437.1 MB, free: 2.035 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2684, allocations: 0 / 437.1 MB, free: 2.035 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2684, allocations: 0 / 437.1 MB, free: 2.035 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.891e-05/0.2684, allocations: 4 kB / 437.1 MB, free: 2.031 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2684, allocations: 0 / 437.1 MB, free: 2.031 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.2685, allocations: 3.984 kB / 437.1 MB, free: 2.027 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.2685, allocations: 4.031 kB / 437.1 MB, free: 2.023 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.856e-05/0.2686, allocations: 125.8 kB / 437.2 MB, free: 1.891 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.2686, allocations: 11.89 kB / 437.2 MB, free: 1.879 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.2686, allocations: 15.75 kB / 437.2 MB, free: 1.863 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.2686, allocations: 3.938 kB / 437.2 MB, free: 1.859 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2686, allocations: 0 / 437.2 MB, free: 1.859 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2686, allocations: 0 / 437.2 MB, free: 1.859 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.2688, allocations: 144.7 kB / 437.4 MB, free: 1.676 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2688, allocations: 0 / 437.4 MB, free: 1.676 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.2689, allocations: 8 kB / 437.4 MB, free: 1.668 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2689, allocations: 3.938 kB / 437.4 MB, free: 1.664 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.2689, allocations: 0 / 437.4 MB, free: 1.664 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2689, allocations: 0 / 437.4 MB, free: 1.664 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.2689, allocations: 0 / 437.4 MB, free: 1.664 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.269, allocations: 81.02 kB / 437.5 MB, free: 1.566 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.269, allocations: 15.91 kB / 437.5 MB, free: 1.551 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.2691, allocations: 4.094 kB / 437.5 MB, free: 1.547 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.128e-05/0.2691, allocations: 4 kB / 437.5 MB, free: 1.543 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.2691, allocations: 0 / 437.5 MB, free: 1.543 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.2691, allocations: 0 / 437.5 MB, free: 1.543 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 9.25e-05/0.2692, allocations: 119.2 kB / 437.6 MB, free: 1.426 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2692, allocations: 0 / 437.6 MB, free: 1.426 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0001981/0.2694, allocations: 11.94 kB / 437.6 MB, free: 1.414 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.0003732/0.2698, allocations: 154.7 kB / 437.8 MB, free: 1.277 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 9.154e-05/0.2699, allocations: 8 kB / 437.8 MB, free: 1.27 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2699, allocations: 0 / 437.8 MB, free: 1.27 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 1.23e-05/0.2699, allocations: 7.938 kB / 437.8 MB, free: 1.262 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.27, allocations: 14.39 kB / 437.8 MB, free: 1.25 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.2704, allocations: 245.8 kB / 438 MB, free: 0.9805 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.2708, allocations: 0.708 MB / 438.7 MB, free: 252 kB / 334.1 MB
Notification: Performance of simCode: alias equations: time 3.695e-05/0.2708, allocations: 11.98 kB / 438.8 MB, free: 240 kB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.2708, allocations: 11.44 kB / 438.8 MB, free: 228 kB / 334.1 MB
Notification: Performance of SimCode: time 2.7e-07/0.2708, allocations: 0 / 438.8 MB, free: 228 kB / 334.1 MB
Notification: Performance of Templates: time 0.004189/0.275, allocations: 1.054 MB / 439.8 MB, free: 15.2 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.423126118257642]