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.001583/0.001583, allocations: 113.1 kB / 21.85 MB, free: 68 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.001677/0.001677, allocations: 216.4 kB / 25.13 MB, free: 3.582 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.2 MB / 258.5 MB, free: 8.25 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.2264/0.2264, allocations: 46.89 MB / 361.7 MB, free: 4.449 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.00238/0.00238, allocations: 91.83 kB / 0.4974 GB, free: 7.688 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3915, allocations: 66.04 MB / 0.5619 GB, free: 4.609 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01274/0.4043, allocations: 8.421 MB / 0.5701 GB, free: 12.15 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01601/0.4203, allocations: 12.99 MB / 0.5828 GB, free: 15.12 MB / 430.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.751e-05/0.4203, allocations: 3.938 kB / 0.5828 GB, free: 15.11 MB / 430.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.4206, allocations: 47.72 kB / 0.5828 GB, free: 15.07 MB / 430.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.006708/0.4273, allocations: 2.152 MB / 0.5849 GB, free: 12.91 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 7.073e-06/0.4273, allocations: 0 / 0.5849 GB, free: 12.91 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001106/0.4274, allocations: 51.61 kB / 0.585 GB, free: 12.86 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.171e-05/0.4275, allocations: 4 kB / 0.585 GB, free: 12.86 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.4276, allocations: 39.78 kB / 0.585 GB, free: 12.82 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 3.997e-05/0.4276, allocations: 15.94 kB / 0.585 GB, free: 12.8 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.4277, allocations: 0 / 0.585 GB, free: 12.8 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01012/0.4378, allocations: 6.004 MB / 0.5909 GB, free: 6.785 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.805e-05/0.4378, allocations: 7.938 kB / 0.5909 GB, free: 6.777 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.707e-05/0.4379, allocations: 15.94 kB / 0.5909 GB, free: 6.762 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01178/0.4496, allocations: 4.783 MB / 0.5956 GB, free: 1.973 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.4496, allocations: 0 / 0.5956 GB, free: 1.973 MB / 430.1 MB
Notification: Performance of FrontEnd: time 1.833e-06/0.4496, allocations: 4 kB / 0.5956 GB, free: 1.969 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 1.364e-05/0.4497, allocations: 0 / 0.5956 GB, free: 1.969 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.002936/0.4526, allocations: 0.5619 MB / 0.5962 GB, free: 1.375 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4526, allocations: 8.031 kB / 0.5962 GB, free: 1.367 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.4528, allocations: 16 kB / 0.5962 GB, free: 1.352 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.4529, allocations: 105.2 kB / 0.5963 GB, free: 1.223 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.4529, allocations: 4 kB / 0.5963 GB, free: 1.219 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.4529, allocations: 8 kB / 0.5963 GB, free: 1.211 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.4532, allocations: 121.5 kB / 0.5964 GB, free: 1.086 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4533, allocations: 3.938 kB / 0.5964 GB, free: 1.082 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.4533, allocations: 4 kB / 0.5964 GB, free: 1.078 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4533, allocations: 0 / 0.5964 GB, free: 1.078 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.4536, allocations: 123.9 kB / 0.5965 GB, free: 0.957 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.000613/0.4542, allocations: 379 kB / 0.5969 GB, free: 0.5312 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.4545, allocations: 70.52 kB / 0.597 GB, free: 464 kB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.4546, allocations: 36.84 kB / 0.597 GB, free: 424 kB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.003079/0.4577, allocations: 0.8663 MB / 0.5978 GB, free: 15.55 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.4577, allocations: 30.56 kB / 0.5979 GB, free: 15.51 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.4577, allocations: 4 kB / 0.5979 GB, free: 15.5 MB / 446.1 MB
Notification: Performance of matching and sorting (n=7): time 0.0006511/0.4584, allocations: 145.5 kB / 0.598 GB, free: 15.36 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.4584, allocations: 51.41 kB / 0.5981 GB, free: 15.29 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.4585, allocations: 93.86 kB / 0.5982 GB, free: 15.19 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4585, allocations: 29.7 kB / 0.5982 GB, free: 15.16 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.4586, allocations: 99.97 kB / 0.5983 GB, free: 15.05 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.4586, allocations: 19.86 kB / 0.5983 GB, free: 15.04 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.4587, allocations: 25.7 kB / 0.5983 GB, free: 15 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001368/0.4588, allocations: 322.8 kB / 0.5986 GB, free: 14.68 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.4589, allocations: 19.98 kB / 0.5986 GB, free: 14.66 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.459, allocations: 49.92 kB / 0.5987 GB, free: 14.61 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.4592, allocations: 77.61 kB / 0.5988 GB, free: 14.52 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4592, allocations: 0 / 0.5988 GB, free: 14.52 MB / 446.1 MB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.000283/0.4595, allocations: 93.67 kB / 0.5989 GB, free: 14.43 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.4595, allocations: 8 kB / 0.5989 GB, free: 14.42 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4595, allocations: 3.984 kB / 0.5989 GB, free: 14.41 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.4595, allocations: 0 / 0.5989 GB, free: 14.41 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.4596, allocations: 27.95 kB / 0.5989 GB, free: 14.39 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.4597, allocations: 0 / 0.5989 GB, free: 14.39 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.763e-05/0.4597, allocations: 11.89 kB / 0.5989 GB, free: 14.38 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.4597, allocations: 4 kB / 0.5989 GB, free: 14.37 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 8.865e-05/0.4598, allocations: 113.8 kB / 0.599 GB, free: 14.25 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.4599, allocations: 4 kB / 0.599 GB, free: 14.25 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004862/0.4604, allocations: 261.3 kB / 0.5993 GB, free: 13.99 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.4604, allocations: 4 kB / 0.5993 GB, free: 13.98 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4604, allocations: 0 / 0.5993 GB, free: 13.98 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4604, allocations: 0 / 0.5993 GB, free: 13.98 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.4606, allocations: 212.5 kB / 0.5995 GB, free: 13.73 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4606, allocations: 0 / 0.5995 GB, free: 13.73 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.778e-05/0.4607, allocations: 19.98 kB / 0.5995 GB, free: 13.71 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4607, allocations: 4 kB / 0.5995 GB, free: 13.71 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.4607, allocations: 0 / 0.5995 GB, free: 13.71 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.4607, allocations: 3.984 kB / 0.5995 GB, free: 13.71 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4607, allocations: 4 kB / 0.5995 GB, free: 13.7 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.4611, allocations: 261.8 kB / 0.5998 GB, free: 13.43 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.4611, allocations: 11.89 kB / 0.5998 GB, free: 13.42 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.4611, allocations: 0 / 0.5998 GB, free: 13.42 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.4612, allocations: 8 kB / 0.5998 GB, free: 13.41 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.4612, allocations: 15.97 kB / 0.5998 GB, free: 13.4 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.4613, allocations: 4 kB / 0.5998 GB, free: 13.39 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 4.264e-05/0.4613, allocations: 79.47 kB / 0.5999 GB, free: 13.32 MB / 446.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4613, allocations: 0 / 0.5999 GB, free: 13.32 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.002158/0.4635, allocations: 382.8 kB / 0.6002 GB, free: 12.94 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.01159/0.475, allocations: 3.563 MB / 0.6037 GB, free: 9.363 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004543/0.4755, allocations: 95.81 kB / 0.6038 GB, free: 9.27 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.4755, allocations: 0 / 0.6038 GB, free: 9.27 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.4757, allocations: 63.97 kB / 0.6039 GB, free: 9.207 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.476, allocations: 18.88 kB / 0.6039 GB, free: 9.191 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005823/0.4766, allocations: 254.3 kB / 0.6041 GB, free: 8.914 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.4769, allocations: 0.7002 MB / 0.6048 GB, free: 8.188 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.0001213/0.477, allocations: 43.67 kB / 0.6049 GB, free: 8.145 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.4771, allocations: 19.44 kB / 0.6049 GB, free: 8.125 MB / 446.1 MB
Notification: Performance of SimCode: time 7.31e-07/0.4771, allocations: 4 kB / 0.6049 GB, free: 8.121 MB / 446.1 MB
Notification: Performance of Templates: time 0.02446/0.5015, allocations: 16.37 MB / 0.6209 GB, free: 7.719 MB / 462.1 MB
"
[Timeout remaining time 659]
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 cvode -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.3339337832294405]