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.001731/0.001731, allocations: 110.4 kB / 21.1 MB, free: 0.7891 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.002387/0.002387, allocations: 205.5 kB / 24.38 MB, free: 4.203 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.625/1.625, allocations: 230.2 MB / 257.7 MB, free: 8.309 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.2542/0.2542, allocations: 46.89 MB / 361 MB, free: 4.527 MB / 286.1 MB
"
[Timeout remaining time 179]
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.002652/0.002652, allocations: 79.86 kB / 0.4966 GB, free: 7.754 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.34, allocations: 66.02 MB / 0.5611 GB, free: 4.676 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01314/0.3532, allocations: 8.435 MB / 0.5694 GB, free: 12.2 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01608/0.3692, allocations: 12.99 MB / 0.5821 GB, free: 15.17 MB / 430.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.3693, allocations: 0 / 0.5821 GB, free: 15.17 MB / 430.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000217/0.3695, allocations: 43.8 kB / 0.5821 GB, free: 15.12 MB / 430.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.006524/0.376, allocations: 2.162 MB / 0.5842 GB, free: 12.96 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 8.155e-06/0.376, allocations: 0 / 0.5842 GB, free: 12.96 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001125/0.3762, allocations: 55.61 kB / 0.5843 GB, free: 12.91 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.3762, allocations: 0 / 0.5843 GB, free: 12.91 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.3763, allocations: 31.86 kB / 0.5843 GB, free: 12.88 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 4.28e-05/0.3764, allocations: 19.86 kB / 0.5843 GB, free: 12.86 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.854e-06/0.3764, allocations: 0 / 0.5843 GB, free: 12.86 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.009712/0.3861, allocations: 6.012 MB / 0.5902 GB, free: 6.832 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.474e-05/0.3861, allocations: 3.938 kB / 0.5902 GB, free: 6.828 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.3862, allocations: 15.94 kB / 0.5902 GB, free: 6.812 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01116/0.3973, allocations: 4.783 MB / 0.5949 GB, free: 2.023 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3973, allocations: 0 / 0.5949 GB, free: 2.023 MB / 430.1 MB
Notification: Performance of FrontEnd: time 3.757e-06/0.3973, allocations: 7.938 kB / 0.5949 GB, free: 2.016 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 7.204e-06/0.3974, allocations: 0 / 0.5949 GB, free: 2.016 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.002704/0.4001, allocations: 0.5541 MB / 0.5954 GB, free: 1.43 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4001, allocations: 16.03 kB / 0.5954 GB, free: 1.414 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.4002, allocations: 15.98 kB / 0.5954 GB, free: 1.398 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.4003, allocations: 105.2 kB / 0.5955 GB, free: 1.27 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.4004, allocations: 0 / 0.5955 GB, free: 1.27 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.4004, allocations: 8 kB / 0.5956 GB, free: 1.262 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.4007, allocations: 121.4 kB / 0.5957 GB, free: 1.137 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4007, allocations: 3.938 kB / 0.5957 GB, free: 1.133 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.4007, allocations: 4 kB / 0.5957 GB, free: 1.129 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4007, allocations: 0 / 0.5957 GB, free: 1.129 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.4011, allocations: 131.9 kB / 0.5958 GB, free: 1 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.0006338/0.4017, allocations: 371.1 kB / 0.5962 GB, free: 0.582 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.402, allocations: 74.45 kB / 0.5962 GB, free: 0.5 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.4021, allocations: 36.84 kB / 0.5963 GB, free: 472 kB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.003059/0.4052, allocations: 0.8624 MB / 0.5971 GB, free: 15.6 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.4052, allocations: 30.56 kB / 0.5971 GB, free: 15.56 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=7): time 1.552e-06/0.4052, allocations: 0 / 0.5971 GB, free: 15.56 MB / 446.1 MB
Notification: Performance of matching and sorting (n=7): time 0.0006902/0.4059, allocations: 145.5 kB / 0.5973 GB, free: 15.41 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.4059, allocations: 55.41 kB / 0.5973 GB, free: 15.34 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.609e-05/0.406, allocations: 101.8 kB / 0.5974 GB, free: 15.23 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.4061, allocations: 29.7 kB / 0.5975 GB, free: 15.2 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.4061, allocations: 91.98 kB / 0.5975 GB, free: 15.11 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.4062, allocations: 23.84 kB / 0.5976 GB, free: 15.08 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.4062, allocations: 21.72 kB / 0.5976 GB, free: 15.05 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001603/0.4064, allocations: 322.8 kB / 0.5979 GB, free: 14.73 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.69e-05/0.4065, allocations: 23.98 kB / 0.5979 GB, free: 14.71 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.4066, allocations: 41.69 kB / 0.598 GB, free: 14.66 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.4068, allocations: 62.17 kB / 0.598 GB, free: 14.59 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4068, allocations: 0 / 0.598 GB, free: 14.59 MB / 446.1 MB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003067/0.4071, allocations: 117.6 kB / 0.5981 GB, free: 14.47 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.4071, allocations: 6.344 kB / 0.5981 GB, free: 14.47 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.4071, allocations: 0 / 0.5981 GB, free: 14.47 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.4071, allocations: 0 / 0.5981 GB, free: 14.47 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.4073, allocations: 19.98 kB / 0.5982 GB, free: 14.45 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4073, allocations: 3.938 kB / 0.5982 GB, free: 14.45 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.4073, allocations: 15.88 kB / 0.5982 GB, free: 14.43 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.4073, allocations: 8.188 kB / 0.5982 GB, free: 14.42 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.0001153/0.4075, allocations: 113.8 kB / 0.5983 GB, free: 14.3 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.4075, allocations: 4 kB / 0.5983 GB, free: 14.3 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005258/0.408, allocations: 257.3 kB / 0.5985 GB, free: 14.04 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.408, allocations: 7.984 kB / 0.5985 GB, free: 14.04 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4081, allocations: 4 kB / 0.5985 GB, free: 14.03 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.4081, allocations: 0 / 0.5985 GB, free: 14.03 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.4083, allocations: 204.5 kB / 0.5987 GB, free: 13.79 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4083, allocations: 0 / 0.5987 GB, free: 13.79 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.27e-05/0.4084, allocations: 23.92 kB / 0.5988 GB, free: 13.77 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4084, allocations: 0 / 0.5988 GB, free: 13.77 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.4085, allocations: 4 kB / 0.5988 GB, free: 13.76 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4085, allocations: 0 / 0.5988 GB, free: 13.76 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4085, allocations: 4 kB / 0.5988 GB, free: 13.76 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00044/0.4089, allocations: 265.7 kB / 0.599 GB, free: 13.48 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.4089, allocations: 7.953 kB / 0.599 GB, free: 13.48 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.4089, allocations: 4 kB / 0.599 GB, free: 13.47 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.701e-05/0.409, allocations: 4 kB / 0.599 GB, free: 13.47 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.4091, allocations: 11.97 kB / 0.5991 GB, free: 13.46 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.4091, allocations: 11.94 kB / 0.5991 GB, free: 13.45 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 4.963e-05/0.4091, allocations: 75.28 kB / 0.5991 GB, free: 13.37 MB / 446.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4091, allocations: 7.938 kB / 0.5991 GB, free: 13.36 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.002645/0.4118, allocations: 378.9 kB / 0.5995 GB, free: 12.99 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.01254/0.4243, allocations: 3.559 MB / 0.603 GB, free: 9.418 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004507/0.4248, allocations: 99.81 kB / 0.6031 GB, free: 9.32 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4248, allocations: 0 / 0.6031 GB, free: 9.32 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.4249, allocations: 55.98 kB / 0.6031 GB, free: 9.266 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.4253, allocations: 22.92 kB / 0.6032 GB, free: 9.246 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000601/0.4259, allocations: 258.3 kB / 0.6034 GB, free: 8.965 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.4263, allocations: 0.6924 MB / 0.6041 GB, free: 8.246 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.0001392/0.4264, allocations: 55.59 kB / 0.6041 GB, free: 8.191 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.4264, allocations: 19.44 kB / 0.6041 GB, free: 8.172 MB / 446.1 MB
Notification: Performance of SimCode: time 1.102e-06/0.4264, allocations: 0 / 0.6041 GB, free: 8.172 MB / 446.1 MB
Notification: Performance of Templates: time 0.02582/0.4523, allocations: 16.37 MB / 0.6201 GB, free: 7.762 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  -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.csv","/var/lib/jenkins/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.910886426456273]