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.001663/0.001663, 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.002046/0.002046, allocations: 212.9 kB / 25.13 MB, free: 3.605 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.454/1.454, allocations: 230.4 MB / 258.7 MB, free: 8.031 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.2282/0.2282, allocations: 46.93 MB / 362 MB, free: 4.227 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.002403/0.002403, allocations: 75.88 kB / 0.4978 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3449, allocations: 66.09 MB / 0.5623 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.0116/0.3565, allocations: 8.423 MB / 0.5705 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01479/0.3713, allocations: 12.98 MB / 0.5832 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-05/0.3713, allocations: 0 / 0.5832 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.3716, allocations: 39.8 kB / 0.5832 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005971/0.3775, allocations: 2.166 MB / 0.5854 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.051e-06/0.3775, allocations: 0 / 0.5854 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.71e-05/0.3776, allocations: 47.67 kB / 0.5854 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.3777, allocations: 4 kB / 0.5854 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.3778, allocations: 35.84 kB / 0.5854 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.495e-05/0.3779, allocations: 11.94 kB / 0.5855 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.3779, allocations: 0 / 0.5855 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009825/0.3877, allocations: 6.012 MB / 0.5913 GB, free: 6.461 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.3877, allocations: 7.875 kB / 0.5913 GB, free: 6.453 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.259e-05/0.3878, allocations: 15.94 kB / 0.5914 GB, free: 6.438 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01325/0.401, allocations: 4.795 MB / 0.596 GB, free: 1.637 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.401, allocations: 0 / 0.596 GB, free: 1.637 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.401, allocations: 4 kB / 0.596 GB, free: 1.633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.401, allocations: 0 / 0.596 GB, free: 1.633 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.002997/0.404, allocations: 0.5619 MB / 0.5966 GB, free: 1.039 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.4041, allocations: 12.03 kB / 0.5966 GB, free: 1.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.4042, allocations: 4 kB / 0.5966 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.4043, allocations: 109.2 kB / 0.5967 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.4043, allocations: 7.984 kB / 0.5967 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.4044, allocations: 4 kB / 0.5967 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.4047, allocations: 125.5 kB / 0.5968 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4047, allocations: 3.938 kB / 0.5968 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.4047, allocations: 0 / 0.5968 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.4047, allocations: 0 / 0.5968 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.405, allocations: 127.9 kB / 0.597 GB, free: 0.6211 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.0006058/0.4056, allocations: 375.1 kB / 0.5973 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.4059, allocations: 74.47 kB / 0.5974 GB, free: 120 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.406, allocations: 28.84 kB / 0.5974 GB, free: 88 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003049/0.4091, allocations: 0.8624 MB / 0.5983 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.4091, allocations: 34.56 kB / 0.5983 GB, free: 15.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.4091, allocations: 4 kB / 0.5983 GB, free: 15.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006503/0.4098, allocations: 145.6 kB / 0.5984 GB, free: 15.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.4098, allocations: 55.34 kB / 0.5985 GB, free: 14.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.978e-05/0.4099, allocations: 97.86 kB / 0.5986 GB, free: 14.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.4099, allocations: 25.7 kB / 0.5986 GB, free: 14.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.41, allocations: 99.97 kB / 0.5987 GB, free: 14.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.41, allocations: 23.86 kB / 0.5987 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.4101, allocations: 29.64 kB / 0.5988 GB, free: 14.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4102, allocations: 318.8 kB / 0.5991 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.4103, allocations: 23.98 kB / 0.5991 GB, free: 14.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.4104, allocations: 41.69 kB / 0.5991 GB, free: 14.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.4106, allocations: 65.69 kB / 0.5992 GB, free: 14.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4106, allocations: 0 / 0.5992 GB, free: 14.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002899/0.4109, allocations: 105.6 kB / 0.5993 GB, free: 14.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.4109, allocations: 7.984 kB / 0.5993 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4109, allocations: 0 / 0.5993 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.411, allocations: 0 / 0.5993 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.4111, allocations: 24.02 kB / 0.5993 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.4111, allocations: 0 / 0.5993 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/0.4111, allocations: 19.83 kB / 0.5993 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.4112, allocations: 7.938 kB / 0.5993 GB, free: 14.04 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.085e-05/0.4112, allocations: 113.8 kB / 0.5995 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/0.4113, allocations: 4 kB / 0.5995 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.4118, allocations: 249.5 kB / 0.5997 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.4118, allocations: 11.94 kB / 0.5997 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4118, allocations: 0 / 0.5997 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4118, allocations: 0 / 0.5997 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.412, allocations: 200.5 kB / 0.5999 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.412, allocations: 0 / 0.5999 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/0.4121, allocations: 23.92 kB / 0.5999 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4121, allocations: 4.188 kB / 0.5999 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.4122, allocations: 7.984 kB / 0.5999 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.4122, allocations: 4 kB / 0.5999 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4122, allocations: 0 / 0.5999 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.4125, allocations: 257.7 kB / 0.6002 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.55e-05/0.4125, allocations: 11.95 kB / 0.6002 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.4126, allocations: 0 / 0.6002 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/0.4126, allocations: 8 kB / 0.6002 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.4127, allocations: 19.91 kB / 0.6002 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.4127, allocations: 0 / 0.6002 GB, free: 13.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.029e-05/0.4127, allocations: 79.28 kB / 0.6003 GB, free: 12.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4127, allocations: 0 / 0.6003 GB, free: 12.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002007/0.4147, allocations: 386.8 kB / 0.6007 GB, free: 12.61 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.01173/0.4265, allocations: 3.577 MB / 0.6042 GB, free: 9.023 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003955/0.4269, allocations: 87.95 kB / 0.6042 GB, free: 8.938 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4269, allocations: 0 / 0.6042 GB, free: 8.938 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.427, allocations: 67.97 kB / 0.6043 GB, free: 8.871 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.4273, allocations: 16.42 kB / 0.6043 GB, free: 8.855 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/0.4279, allocations: 250.3 kB / 0.6046 GB, free: 8.582 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.4283, allocations: 0.7002 MB / 0.6052 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.4284, allocations: 43.67 kB / 0.6053 GB, free: 7.812 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.4284, allocations: 19.38 kB / 0.6053 GB, free: 7.793 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4284, allocations: 4 kB / 0.6053 GB, free: 7.789 MB / 446.1 MB Notification: Performance of Templates: time 0.02442/0.4528, allocations: 16.38 MB / 0.6213 GB, free: 7.379 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.403423605021089]