Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.001807/0.001807, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.002343/0.002343, allocations: 213.1 kB / 25.13 MB, free: 3.594 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.455/1.455, allocations: 230.2 MB / 258.5 MB, free: 8.23 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2352/0.2352, allocations: 46.94 MB / 361.8 MB, free: 4.512 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX")
translateModel(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660]
"Warning: Requested package Modelica 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.002405/0.002405, allocations: 83.86 kB / 0.4975 GB, free: 7.648 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3619, allocations: 66.03 MB / 0.562 GB, free: 4.539 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01302/0.3749, allocations: 8.448 MB / 0.5702 GB, free: 12.05 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01619/0.3911, allocations: 13 MB / 0.5829 GB, free: 15.02 MB / 430.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.3911, allocations: 0 / 0.5829 GB, free: 15.02 MB / 430.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.3914, allocations: 39.8 kB / 0.583 GB, free: 14.98 MB / 430.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005972/0.3973, allocations: 2.155 MB / 0.5851 GB, free: 12.82 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 7.424e-06/0.3973, allocations: 0 / 0.5851 GB, free: 12.82 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000112/0.3974, allocations: 51.61 kB / 0.5851 GB, free: 12.77 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.477e-05/0.3975, allocations: 8 kB / 0.5851 GB, free: 12.76 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.3976, allocations: 35.78 kB / 0.5852 GB, free: 12.73 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 3.943e-05/0.3977, allocations: 15.94 kB / 0.5852 GB, free: 12.71 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.3977, allocations: 0 / 0.5852 GB, free: 12.71 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.009554/0.4072, allocations: 6.012 MB / 0.591 GB, free: 6.688 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.4072, allocations: 3.938 kB / 0.591 GB, free: 6.684 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.4073, allocations: 11.94 kB / 0.5911 GB, free: 6.672 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01144/0.4187, allocations: 4.787 MB / 0.5957 GB, free: 1.879 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4187, allocations: 0 / 0.5957 GB, free: 1.879 MB / 430.1 MB
Notification: Performance of FrontEnd: time 1.673e-06/0.4187, allocations: 0 / 0.5957 GB, free: 1.879 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 6.162e-06/0.4188, allocations: 0 / 0.5957 GB, free: 1.879 MB / 430.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 12
 * Number of variables: 12
Notification: Performance of Generate backend data structure: time 0.002513/0.4213, allocations: 0.5619 MB / 0.5963 GB, free: 1.285 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.4213, allocations: 16.02 kB / 0.5963 GB, free: 1.27 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.4215, allocations: 4 kB / 0.5963 GB, free: 1.266 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.4216, allocations: 117.1 kB / 0.5964 GB, free: 1.125 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.4216, allocations: 4 kB / 0.5964 GB, free: 1.121 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.4217, allocations: 4 kB / 0.5964 GB, free: 1.117 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.422, allocations: 121.5 kB / 0.5965 GB, free: 0.9922 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.422, allocations: 3.938 kB / 0.5965 GB, free: 0.9883 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.4221, allocations: 4 kB / 0.5965 GB, free: 0.9844 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4221, allocations: 0 / 0.5965 GB, free: 0.9844 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004183/0.4225, allocations: 131.9 kB / 0.5967 GB, free: 0.8555 MB / 430.1 MB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007359/0.4232, allocations: 371 kB / 0.597 GB, free: 448 kB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.4235, allocations: 78.52 kB / 0.5971 GB, free: 360 kB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.4236, allocations: 28.84 kB / 0.5971 GB, free: 328 kB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.003165/0.4268, allocations: 0.8624 MB / 0.598 GB, free: 15.46 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.4268, allocations: 34.56 kB / 0.598 GB, free: 15.41 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=7): time 1.934e-06/0.4268, allocations: 0 / 0.598 GB, free: 15.41 MB / 446.1 MB
Notification: Performance of matching and sorting (n=7): time 0.0006895/0.4275, allocations: 149.5 kB / 0.5981 GB, free: 15.26 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.4275, allocations: 55.39 kB / 0.5982 GB, free: 15.2 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.809e-05/0.4276, allocations: 97.86 kB / 0.5983 GB, free: 15.09 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.4277, allocations: 25.7 kB / 0.5983 GB, free: 15.06 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.4277, allocations: 99.98 kB / 0.5984 GB, free: 14.96 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.4277, allocations: 15.84 kB / 0.5984 GB, free: 14.94 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.4278, allocations: 25.72 kB / 0.5984 GB, free: 14.91 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001464/0.4279, allocations: 322.8 kB / 0.5988 GB, free: 14.59 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-05/0.428, allocations: 27.98 kB / 0.5988 GB, free: 14.56 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.4281, allocations: 41.69 kB / 0.5988 GB, free: 14.51 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.4284, allocations: 65.64 kB / 0.5989 GB, free: 14.44 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4284, allocations: 0 / 0.5989 GB, free: 14.44 MB / 446.1 MB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.000299/0.4287, allocations: 105.6 kB / 0.599 GB, free: 14.33 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.4287, allocations: 10.5 kB / 0.599 GB, free: 14.32 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4287, allocations: 0 / 0.599 GB, free: 14.32 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.4287, allocations: 0 / 0.599 GB, free: 14.32 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.4288, allocations: 23.98 kB / 0.599 GB, free: 14.3 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4288, allocations: 0 / 0.599 GB, free: 14.3 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.4289, allocations: 15.88 kB / 0.599 GB, free: 14.29 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.4289, allocations: 0 / 0.599 GB, free: 14.29 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 1 (state.phase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (8):
 * Single equations (assignments): 8
 * 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 0.0001165/0.429, allocations: 121.8 kB / 0.5991 GB, free: 14.16 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.4291, allocations: 4 kB / 0.5991 GB, free: 14.15 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005137/0.4296, allocations: 257.3 kB / 0.5994 GB, free: 13.9 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.4296, allocations: 11.98 kB / 0.5994 GB, free: 13.89 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4296, allocations: 0 / 0.5994 GB, free: 13.89 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4296, allocations: 0 / 0.5994 GB, free: 13.89 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.4299, allocations: 200.5 kB / 0.5996 GB, free: 13.65 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.299e-06/0.4299, allocations: 4 kB / 0.5996 GB, free: 13.64 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/0.43, allocations: 24.17 kB / 0.5996 GB, free: 13.62 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.43, allocations: 0 / 0.5996 GB, free: 13.62 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.43, allocations: 0 / 0.5996 GB, free: 13.62 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.43, allocations: 4 kB / 0.5996 GB, free: 13.62 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.43, allocations: 3.984 kB / 0.5996 GB, free: 13.61 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.4304, allocations: 269.6 kB / 0.5999 GB, free: 13.34 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.4304, allocations: 7.953 kB / 0.5999 GB, free: 13.33 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.4305, allocations: 0 / 0.5999 GB, free: 13.33 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.4305, allocations: 0 / 0.5999 GB, free: 13.33 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.4306, allocations: 19.97 kB / 0.5999 GB, free: 13.31 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.4306, allocations: 0 / 0.5999 GB, free: 13.31 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 5.379e-05/0.4307, allocations: 83.28 kB / 0.6 GB, free: 13.23 MB / 446.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4307, allocations: 0 / 0.6 GB, free: 13.23 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.002437/0.4331, allocations: 386.8 kB / 0.6004 GB, free: 12.85 MB / 446.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: 3 ($cse3.phase,$cse4,state.phase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (11):
 * Single equations (assignments): 10
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * 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.0121/0.4452, allocations: 3.559 MB / 0.6038 GB, free: 9.273 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004335/0.4456, allocations: 100.4 kB / 0.6039 GB, free: 9.176 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4456, allocations: 0 / 0.6039 GB, free: 9.176 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.4458, allocations: 63.91 kB / 0.604 GB, free: 9.113 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.4461, allocations: 24.12 kB / 0.604 GB, free: 9.09 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006091/0.4467, allocations: 250.4 kB / 0.6043 GB, free: 8.816 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.4471, allocations: 0.6963 MB / 0.6049 GB, free: 8.094 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.0001303/0.4472, allocations: 55.55 kB / 0.605 GB, free: 8.039 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.4473, allocations: 19.44 kB / 0.605 GB, free: 8.02 MB / 446.1 MB
Notification: Performance of SimCode: time 5.21e-07/0.4473, allocations: 0 / 0.605 GB, free: 8.02 MB / 446.1 MB
Notification: Performance of Templates: time 0.02581/0.4731, allocations: 16.37 MB / 0.621 GB, free: 7.621 MB / 462.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX  -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.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: 6.662681782996515]