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.001837/0.001837, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002194/0.002194, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.449/1.449, allocations: 230.3 MB / 258 MB, free: 8.184 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.2321/0.2321, allocations: 46.94 MB / 361.4 MB, free: 4.363 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.002255/0.002255, allocations: 83.86 kB / 0.4972 GB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.379, allocations: 66.04 MB / 0.5616 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01274/0.3917, allocations: 8.479 MB / 0.5699 GB, free: 12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01601/0.4077, allocations: 13.11 MB / 0.5827 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.913e-05/0.4078, allocations: 0 / 0.5827 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.408, allocations: 43.78 kB / 0.5828 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006708/0.4147, allocations: 2.163 MB / 0.5849 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.364e-06/0.4148, allocations: 0 / 0.5849 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.4149, allocations: 43.69 kB / 0.5849 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.58e-05/0.4149, allocations: 7.984 kB / 0.5849 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.4151, allocations: 27.84 kB / 0.585 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.132e-05/0.4151, allocations: 19.94 kB / 0.585 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.4151, allocations: 0 / 0.585 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01054/0.4256, allocations: 6.078 MB / 0.5909 GB, free: 6.449 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.4257, allocations: 11.94 kB / 0.5909 GB, free: 6.438 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.875e-05/0.4257, allocations: 15.94 kB / 0.5909 GB, free: 6.422 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01164/0.4374, allocations: 4.799 MB / 0.5956 GB, free: 1.617 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4374, allocations: 0 / 0.5956 GB, free: 1.617 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4374, allocations: 0 / 0.5956 GB, free: 1.617 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.4374, allocations: 0 / 0.5956 GB, free: 1.617 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.003585/0.441, allocations: 0.5619 MB / 0.5962 GB, free: 1.023 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.441, allocations: 8.031 kB / 0.5962 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.4412, allocations: 11.98 kB / 0.5962 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.4413, allocations: 105.2 kB / 0.5963 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.4413, allocations: 7.938 kB / 0.5963 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.4413, allocations: 8 kB / 0.5963 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.4417, allocations: 109.6 kB / 0.5964 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.4417, allocations: 7.922 kB / 0.5964 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.4417, allocations: 8 kB / 0.5964 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.4417, allocations: 0 / 0.5964 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003823/0.4421, allocations: 135.8 kB / 0.5966 GB, free: 0.5977 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.0006817/0.4428, allocations: 375 kB / 0.5969 GB, free: 180 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.4431, allocations: 70.52 kB / 0.597 GB, free: 100 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.4432, allocations: 32.84 kB / 0.597 GB, free: 64 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003105/0.4463, allocations: 0.8702 MB / 0.5979 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.4463, allocations: 30.56 kB / 0.5979 GB, free: 15.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.4463, allocations: 0 / 0.5979 GB, free: 15.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006605/0.447, allocations: 141.6 kB / 0.598 GB, free: 15.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.447, allocations: 55.39 kB / 0.5981 GB, free: 14.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.545e-05/0.4471, allocations: 101.9 kB / 0.5982 GB, free: 14.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.4472, allocations: 25.7 kB / 0.5982 GB, free: 14.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.4472, allocations: 95.98 kB / 0.5983 GB, free: 14.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.4472, allocations: 19.84 kB / 0.5983 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.4473, allocations: 21.72 kB / 0.5983 GB, free: 14.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4474, allocations: 326.8 kB / 0.5986 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.4475, allocations: 23.98 kB / 0.5987 GB, free: 14.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.4476, allocations: 45.69 kB / 0.5987 GB, free: 14.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.4478, allocations: 70.08 kB / 0.5988 GB, free: 14.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4478, allocations: 0 / 0.5988 GB, free: 14.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002943/0.4481, allocations: 101.7 kB / 0.5989 GB, free: 14.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4482, allocations: 12.03 kB / 0.5989 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4482, allocations: 0 / 0.5989 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.4482, allocations: 0 / 0.5989 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.4483, allocations: 23.92 kB / 0.5989 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4483, allocations: 0 / 0.5989 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.4484, allocations: 23.81 kB / 0.5989 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.4484, allocations: 0 / 0.5989 GB, free: 14.02 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 9.452e-05/0.4485, allocations: 117.8 kB / 0.599 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.4485, allocations: 4 kB / 0.599 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004807/0.449, allocations: 249.4 kB / 0.5993 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.449, allocations: 7.984 kB / 0.5993 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.449, allocations: 3.938 kB / 0.5993 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.449, allocations: 0 / 0.5993 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.4493, allocations: 212.5 kB / 0.5995 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4493, allocations: 0 / 0.5995 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.038e-05/0.4494, allocations: 19.98 kB / 0.5995 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4494, allocations: 0 / 0.5995 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.4494, allocations: 4 kB / 0.5995 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.4494, allocations: 4 kB / 0.5995 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.4494, allocations: 0 / 0.5995 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.4497, allocations: 261.8 kB / 0.5998 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.4498, allocations: 8.141 kB / 0.5998 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.4498, allocations: 4 kB / 0.5998 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.4499, allocations: 3.938 kB / 0.5998 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.4499, allocations: 27.89 kB / 0.5998 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.4499, allocations: 0 / 0.5998 GB, free: 13.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.09e-05/0.45, allocations: 79.28 kB / 0.5999 GB, free: 12.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.45, allocations: 0 / 0.5999 GB, free: 12.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002053/0.452, allocations: 382.9 kB / 0.6003 GB, free: 12.59 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.01263/0.4646, allocations: 3.569 MB / 0.6037 GB, free: 9.004 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004229/0.4651, allocations: 99.94 kB / 0.6038 GB, free: 8.906 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4651, allocations: 0 / 0.6038 GB, free: 8.906 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.4652, allocations: 59.97 kB / 0.6039 GB, free: 8.848 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.4655, allocations: 15.98 kB / 0.6039 GB, free: 8.832 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005837/0.4661, allocations: 254.3 kB / 0.6042 GB, free: 8.555 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.4665, allocations: 0.6963 MB / 0.6048 GB, free: 7.832 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.4666, allocations: 51.61 kB / 0.6049 GB, free: 7.781 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.876e-05/0.4666, allocations: 15.44 kB / 0.6049 GB, free: 7.766 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4666, allocations: 0 / 0.6049 GB, free: 7.766 MB / 446.1 MB Notification: Performance of Templates: time 0.02599/0.4926, allocations: 16.37 MB / 0.6209 GB, free: 7.367 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.463976335711777]