Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.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.001684/0.001684, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001537/0.001537, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.422/1.422, allocations: 230.3 MB / 258 MB, free: 8.254 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2368/0.2368, allocations: 46.89 MB / 361.3 MB, free: 4.441 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
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(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile")
translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 79.86 kB / 0.497 GB, free: 7.609 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3834, allocations: 66.03 MB / 0.5615 GB, free: 4.613 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001723/0.3852, allocations: 493 kB / 0.562 GB, free: 4.133 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001396/0.3866, allocations: 0.8707 MB / 0.5628 GB, free: 3.262 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.772e-05/0.3866, allocations: 4 kB / 0.5628 GB, free: 3.258 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.3866, allocations: 0 / 0.5628 GB, free: 3.258 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.3868, allocations: 7.984 kB / 0.5628 GB, free: 3.25 MB / 398.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:333:3-373:15:writable] Warning: Pure function 'ModelicaTest.Utilities.ReadFile' contains a call to impure function 'Modelica.Utilities.Streams.print'.
Notification: Performance of NFTyping.typeClassSections: time 0.0007059/0.3875, allocations: 60.09 kB / 0.5629 GB, free: 3.195 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 6.849e-05/0.3876, allocations: 4 kB / 0.5629 GB, free: 3.191 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.3876, allocations: 7.984 kB / 0.5629 GB, free: 3.184 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.847e-05/0.3876, allocations: 0 / 0.5629 GB, free: 3.184 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.3878, allocations: 11.92 kB / 0.5629 GB, free: 3.172 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.3878, allocations: 0 / 0.5629 GB, free: 3.172 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.3879, allocations: 55.95 kB / 0.563 GB, free: 3.117 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.3879, allocations: 0 / 0.563 GB, free: 3.117 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.388, allocations: 15.92 kB / 0.563 GB, free: 3.102 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.3881, allocations: 43.73 kB / 0.563 GB, free: 3.062 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3881, allocations: 0 / 0.563 GB, free: 3.062 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.373e-06/0.3881, allocations: 0 / 0.563 GB, free: 3.062 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.13e-06/0.3881, allocations: 4 kB / 0.563 GB, free: 3.059 MB / 398.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.0003701/0.3885, allocations: 282.7 kB / 0.5633 GB, free: 2.75 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3885, allocations: 8.031 kB / 0.5633 GB, free: 2.742 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.3885, allocations: 0.9375 kB / 0.5633 GB, free: 2.742 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.3887, allocations: 106.5 kB / 0.5634 GB, free: 2.613 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3887, allocations: 4.375 kB / 0.5634 GB, free: 2.609 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.3887, allocations: 384 / 0.5634 GB, free: 2.609 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.331e-05/0.3888, allocations: 38.19 kB / 0.5635 GB, free: 2.566 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3888, allocations: 192 / 0.5635 GB, free: 2.566 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3888, allocations: 3.938 kB / 0.5635 GB, free: 2.562 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3888, allocations: 3.938 kB / 0.5635 GB, free: 2.559 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.068e-05/0.3888, allocations: 4 kB / 0.5635 GB, free: 2.555 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.389, allocations: 116.8 kB / 0.5636 GB, free: 2.398 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 5.189e-05/0.389, allocations: 26.5 kB / 0.5636 GB, free: 2.363 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.389, allocations: 4.859 kB / 0.5636 GB, free: 2.355 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.389, allocations: 4.094 kB / 0.5636 GB, free: 2.352 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.833e-05/0.3891, allocations: 64.2 kB / 0.5637 GB, free: 2.273 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 1.422e-06/0.3891, allocations: 0 / 0.5637 GB, free: 2.273 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.000175/0.3893, allocations: 63.34 kB / 0.5637 GB, free: 2.199 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.3894, allocations: 81.09 kB / 0.5638 GB, free: 2.102 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.699e-05/0.3894, allocations: 97.98 kB / 0.5639 GB, free: 1.996 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.3894, allocations: 25.7 kB / 0.5639 GB, free: 1.965 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.3895, allocations: 84.14 kB / 0.564 GB, free: 1.879 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.3895, allocations: 0 / 0.564 GB, free: 1.879 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.3895, allocations: 13.72 kB / 0.564 GB, free: 1.859 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.000136/0.3897, allocations: 310.8 kB / 0.5643 GB, free: 1.547 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.898e-06/0.3897, allocations: 0 / 0.5643 GB, free: 1.547 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-06/0.3897, allocations: 0 / 0.5643 GB, free: 1.547 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.915e-05/0.3897, allocations: 76.38 kB / 0.5644 GB, free: 1.457 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3897, allocations: 0 / 0.5644 GB, free: 1.457 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 7.081e-05/0.3898, allocations: 59.41 kB / 0.5645 GB, free: 1.387 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/0.3898, allocations: 33.7 kB / 0.5645 GB, free: 1.348 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3899, allocations: 3.938 kB / 0.5645 GB, free: 1.344 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3899, allocations: 0 / 0.5645 GB, free: 1.344 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.515e-06/0.3899, allocations: 4 kB / 0.5645 GB, free: 1.34 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3899, allocations: 3.984 kB / 0.5645 GB, free: 1.336 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.3899, allocations: 0 / 0.5645 GB, free: 1.336 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3899, allocations: 4.031 kB / 0.5645 GB, free: 1.332 MB / 398.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: 1 (result)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (1):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.712e-05/0.39, allocations: 135.5 kB / 0.5646 GB, free: 1.184 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-06/0.39, allocations: 0 / 0.5646 GB, free: 1.184 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.331e-05/0.39, allocations: 6.938 kB / 0.5646 GB, free: 1.176 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.39, allocations: 0 / 0.5646 GB, free: 1.176 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.39, allocations: 4 kB / 0.5646 GB, free: 1.172 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.39, allocations: 0 / 0.5646 GB, free: 1.172 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.3901, allocations: 124.7 kB / 0.5648 GB, free: 1.008 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.3901, allocations: 0 / 0.5648 GB, free: 1.008 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.3901, allocations: 7.938 kB / 0.5648 GB, free: 1 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3901, allocations: 4 kB / 0.5648 GB, free: 0.9961 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3901, allocations: 3.938 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.3901, allocations: 0 / 0.5648 GB, free: 0.9922 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3901, allocations: 0 / 0.5648 GB, free: 0.9922 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.3902, allocations: 90.83 kB / 0.5649 GB, free: 0.8789 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.214e-06/0.3903, allocations: 3.953 kB / 0.5649 GB, free: 0.875 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.3903, allocations: 3.938 kB / 0.5649 GB, free: 0.8711 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.859e-06/0.3903, allocations: 8.031 kB / 0.5649 GB, free: 0.8633 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.019e-05/0.3903, allocations: 3.938 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.3903, allocations: 0 / 0.5649 GB, free: 0.8594 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 4.055e-05/0.3903, allocations: 79.27 kB / 0.565 GB, free: 0.7812 MB / 398.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3903, allocations: 0 / 0.565 GB, free: 0.7812 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002054/0.3905, allocations: 23.94 kB / 0.565 GB, free: 0.7578 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 1 (result)
 * Number of discrete states: 1 (result)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (1):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0004275/0.391, allocations: 176.7 kB / 0.5651 GB, free: 0.5977 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001093/0.3911, allocations: 67.33 kB / 0.5652 GB, free: 0.5195 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3911, allocations: 4.062 kB / 0.5652 GB, free: 0.5156 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.684e-05/0.3911, allocations: 51.41 kB / 0.5653 GB, free: 464 kB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.3912, allocations: 7.938 kB / 0.5653 GB, free: 456 kB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001896/0.3914, allocations: 88.98 kB / 0.5654 GB, free: 340 kB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.3917, allocations: 0.6729 MB / 0.566 GB, free: 15.63 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.61e-06/0.3917, allocations: 0 / 0.566 GB, free: 15.63 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.266e-05/0.3918, allocations: 11.44 kB / 0.566 GB, free: 15.62 MB / 414.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.3918, allocations: 0 / 0.566 GB, free: 15.62 MB / 414.1 MB
Notification: Performance of Templates: time 0.003138/0.3949, allocations: 0.6498 MB / 0.5667 GB, free: 14.97 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.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: 5.13544606603682]