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_pTX.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.001358/0.001358, 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.001611/0.001611, allocations: 212.3 kB / 24.54 MB, free: 4.02 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.478/1.478, allocations: 230.3 MB / 258 MB, free: 8.172 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.2411/0.2411, allocations: 46.93 MB / 361.4 MB, free: 4.383 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_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX")
translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [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.002852/0.002852, allocations: 83.84 kB / 0.4972 GB, free: 7.512 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.298, allocations: 66.03 MB / 0.5616 GB, free: 4.512 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01322/0.3112, allocations: 8.487 MB / 0.5699 GB, free: 11.98 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01376/0.3249, allocations: 11.27 MB / 0.5809 GB, free: 0.6836 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.325, allocations: 0 / 0.5809 GB, free: 0.6836 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.3252, allocations: 51.73 kB / 0.581 GB, free: 0.6328 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005716/0.331, allocations: 1.863 MB / 0.5828 GB, free: 14.77 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 8.636e-06/0.331, allocations: 0 / 0.5828 GB, free: 14.77 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000142/0.3311, allocations: 47.62 kB / 0.5828 GB, free: 14.72 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 6.872e-05/0.3312, allocations: 11.97 kB / 0.5829 GB, free: 14.71 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.3313, allocations: 27.86 kB / 0.5829 GB, free: 14.68 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 4.031e-05/0.3314, allocations: 11.94 kB / 0.5829 GB, free: 14.67 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.3314, allocations: 4 kB / 0.5829 GB, free: 14.66 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01116/0.3425, allocations: 6.752 MB / 0.5895 GB, free: 7.898 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.3426, allocations: 11.98 kB / 0.5895 GB, free: 7.887 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.3426, allocations: 23.81 kB / 0.5895 GB, free: 7.863 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01245/0.3551, allocations: 5.092 MB / 0.5945 GB, free: 2.766 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3551, allocations: 0 / 0.5945 GB, free: 2.766 MB / 430.1 MB
Notification: Performance of FrontEnd: time 2.004e-06/0.3551, allocations: 0 / 0.5945 GB, free: 2.766 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 6.301e-06/0.3551, allocations: 0 / 0.5945 GB, free: 2.766 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.002721/0.3578, allocations: 0.5113 MB / 0.595 GB, free: 2.223 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3578, allocations: 12.03 kB / 0.595 GB, free: 2.211 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.358, allocations: 11.92 kB / 0.595 GB, free: 2.199 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.3581, allocations: 113.2 kB / 0.5951 GB, free: 2.062 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.3581, allocations: 4 kB / 0.5951 GB, free: 2.059 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.3581, allocations: 4 kB / 0.5951 GB, free: 2.055 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.3583, allocations: 73.67 kB / 0.5952 GB, free: 1.977 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3583, allocations: 3.938 kB / 0.5952 GB, free: 1.973 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3583, allocations: 8 kB / 0.5952 GB, free: 1.965 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3583, allocations: 0 / 0.5952 GB, free: 1.965 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.3584, allocations: 83.89 kB / 0.5953 GB, free: 1.883 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.3589, allocations: 295.8 kB / 0.5956 GB, free: 1.551 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 7.799e-05/0.359, allocations: 34.58 kB / 0.5956 GB, free: 1.508 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/0.359, allocations: 28.91 kB / 0.5956 GB, free: 1.477 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.002915/0.3619, allocations: 0.8153 MB / 0.5964 GB, free: 0.6602 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.362, allocations: 34.56 kB / 0.5965 GB, free: 0.6172 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.362, allocations: 96 / 0.5965 GB, free: 0.6172 MB / 430.1 MB
Notification: Performance of matching and sorting (n=9): time 0.0002916/0.3623, allocations: 109.6 kB / 0.5966 GB, free: 0.5039 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.3623, allocations: 51.41 kB / 0.5966 GB, free: 452 kB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.841e-05/0.3624, allocations: 97.84 kB / 0.5967 GB, free: 344 kB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.3624, allocations: 29.7 kB / 0.5967 GB, free: 308 kB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.3625, allocations: 96.03 kB / 0.5968 GB, free: 208 kB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.3625, allocations: 27.73 kB / 0.5969 GB, free: 180 kB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.3625, allocations: 21.72 kB / 0.5969 GB, free: 152 kB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001576/0.3627, allocations: 318.8 kB / 0.5972 GB, free: 15.83 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.203e-05/0.3627, allocations: 24 kB / 0.5972 GB, free: 15.8 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.308e-05/0.3628, allocations: 33.7 kB / 0.5972 GB, free: 15.77 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.3629, allocations: 65.72 kB / 0.5973 GB, free: 15.7 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3629, allocations: 0 / 0.5973 GB, free: 15.7 MB / 446.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001727/0.3631, allocations: 97.94 kB / 0.5974 GB, free: 15.59 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3631, allocations: 7.938 kB / 0.5974 GB, free: 15.59 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3631, allocations: 0 / 0.5974 GB, free: 15.59 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3631, allocations: 0 / 0.5974 GB, free: 15.59 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.676e-05/0.3632, allocations: 11.94 kB / 0.5974 GB, free: 15.57 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3632, allocations: 4 kB / 0.5974 GB, free: 15.57 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/0.3632, allocations: 7.938 kB / 0.5974 GB, free: 15.56 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.3632, allocations: 4 kB / 0.5974 GB, free: 15.56 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 (6):
 * Single equations (assignments): 5
 * 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 prepare postOptimizeDAE: time 9.15e-05/0.3633, allocations: 113.8 kB / 0.5975 GB, free: 15.44 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-05/0.3634, allocations: 11.94 kB / 0.5976 GB, free: 15.43 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.3637, allocations: 157.1 kB / 0.5977 GB, free: 15.27 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001533/0.3638, allocations: 117.6 kB / 0.5978 GB, free: 15.15 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3638, allocations: 0 / 0.5978 GB, free: 15.15 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3638, allocations: 0 / 0.5978 GB, free: 15.15 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005218/0.3643, allocations: 409.3 kB / 0.5982 GB, free: 14.7 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3643, allocations: 4 kB / 0.5982 GB, free: 14.7 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.229e-05/0.3644, allocations: 15.94 kB / 0.5982 GB, free: 14.68 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3644, allocations: 256 / 0.5982 GB, free: 14.68 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3644, allocations: 11.92 kB / 0.5982 GB, free: 14.67 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3644, allocations: 4 kB / 0.5982 GB, free: 14.67 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3644, allocations: 0 / 0.5982 GB, free: 14.67 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.3647, allocations: 223.5 kB / 0.5985 GB, free: 14.43 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.155e-05/0.3647, allocations: 3.938 kB / 0.5985 GB, free: 14.43 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.3647, allocations: 15.94 kB / 0.5985 GB, free: 14.41 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.501e-05/0.3648, allocations: 3.938 kB / 0.5985 GB, free: 14.41 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.3648, allocations: 3.984 kB / 0.5985 GB, free: 14.41 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.3648, allocations: 4 kB / 0.5985 GB, free: 14.4 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 4.452e-05/0.3648, allocations: 83.28 kB / 0.5986 GB, free: 14.32 MB / 446.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3648, allocations: 0 / 0.5986 GB, free: 14.32 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.00199/0.3668, allocations: 362.9 kB / 0.5989 GB, free: 13.96 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: 2 (state.phase,$cse1.phase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (10):
 * Single equations (assignments): 9
 * 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.0141/0.3809, allocations: 4.085 MB / 0.6029 GB, free: 9.863 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003368/0.3813, allocations: 101.9 kB / 0.603 GB, free: 9.758 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3813, allocations: 7.938 kB / 0.603 GB, free: 9.75 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.092e-05/0.3814, allocations: 47.98 kB / 0.603 GB, free: 9.703 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.3818, allocations: 40.14 kB / 0.6031 GB, free: 9.664 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.3823, allocations: 225.6 kB / 0.6033 GB, free: 9.414 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.3827, allocations: 0.6924 MB / 0.604 GB, free: 8.695 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 6.047e-05/0.3827, allocations: 23.86 kB / 0.604 GB, free: 8.672 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.3828, allocations: 15.44 kB / 0.604 GB, free: 8.656 MB / 446.1 MB
Notification: Performance of SimCode: time 3.41e-07/0.3828, allocations: 3.938 kB / 0.604 GB, free: 8.652 MB / 446.1 MB
Notification: Performance of Templates: time 0.02825/0.411, allocations: 18.3 MB / 0.6219 GB, free: 6.316 MB / 462.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.686869108118117]