Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002231/0.002231, allocations: 210.4 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2248/0.2248, allocations: 46.96 MB / 360.9 MB, free: 4.016 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 67.91 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3485, allocations: 66.03 MB / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01283/0.3613, allocations: 8.043 MB / 0.5689 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01481/0.3761, allocations: 11.48 MB / 0.5801 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.3762, allocations: 3.938 kB / 0.5801 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.3764, allocations: 31.81 kB / 0.5802 GB, free: 0.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007708/0.3841, allocations: 2.141 MB / 0.5823 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.716e-06/0.3841, allocations: 0 / 0.5823 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.3843, allocations: 55.55 kB / 0.5823 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.057e-05/0.3843, allocations: 4 kB / 0.5823 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.3845, allocations: 31.84 kB / 0.5823 GB, free: 14.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.3845, allocations: 15.92 kB / 0.5824 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.3845, allocations: 4 kB / 0.5824 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0109/0.3954, allocations: 5.871 MB / 0.5881 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.3955, allocations: 4 kB / 0.5881 GB, free: 8.406 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.3955, allocations: 23.86 kB / 0.5881 GB, free: 8.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01391/0.4094, allocations: 4.783 MB / 0.5928 GB, free: 3.594 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.4094, allocations: 0 / 0.5928 GB, free: 3.594 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4094, allocations: 4 kB / 0.5928 GB, free: 3.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.4094, allocations: 0 / 0.5928 GB, free: 3.59 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.003163/0.4126, allocations: 0.5657 MB / 0.5933 GB, free: 2.992 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.4127, allocations: 8.031 kB / 0.5934 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.4128, allocations: 15.98 kB / 0.5934 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.4129, allocations: 109.2 kB / 0.5935 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.413, allocations: 8 kB / 0.5935 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.413, allocations: 4 kB / 0.5935 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.4134, allocations: 109.6 kB / 0.5936 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4134, allocations: 3.938 kB / 0.5936 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.4134, allocations: 4 kB / 0.5936 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.4134, allocations: 7.938 kB / 0.5936 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003628/0.4138, allocations: 127.8 kB / 0.5937 GB, free: 2.57 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.0006194/0.4144, allocations: 300.2 kB / 0.594 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.4147, allocations: 70.52 kB / 0.5941 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.4148, allocations: 32.84 kB / 0.5941 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003261/0.418, allocations: 0.8662 MB / 0.595 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.4181, allocations: 34.5 kB / 0.595 GB, free: 1.223 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.4181, allocations: 0 / 0.595 GB, free: 1.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007018/0.4188, allocations: 145.6 kB / 0.5951 GB, free: 1.074 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.4188, allocations: 51.41 kB / 0.5952 GB, free: 1.012 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.164e-05/0.4189, allocations: 105.8 kB / 0.5953 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.419, allocations: 25.7 kB / 0.5953 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.419, allocations: 96.03 kB / 0.5954 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.419, allocations: 23.83 kB / 0.5954 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.4191, allocations: 29.7 kB / 0.5954 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4193, allocations: 314.8 kB / 0.5957 GB, free: 404 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.4194, allocations: 24.09 kB / 0.5958 GB, free: 380 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.4195, allocations: 49.62 kB / 0.5958 GB, free: 324 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.4197, allocations: 65.64 kB / 0.5959 GB, free: 252 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4197, allocations: 0 / 0.5959 GB, free: 252 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003088/0.42, allocations: 101.6 kB / 0.596 GB, free: 144 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.42, allocations: 4 kB / 0.596 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.42, allocations: 4.031 kB / 0.596 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.42, allocations: 4 kB / 0.596 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.4201, allocations: 19.98 kB / 0.596 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.4202, allocations: 3.984 kB / 0.596 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.4202, allocations: 11.89 kB / 0.596 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.4202, allocations: 4 kB / 0.596 GB, free: 92 kB / 430.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.0001142/0.4203, allocations: 117.8 kB / 0.5961 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.4204, allocations: 0 / 0.5961 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005085/0.4209, allocations: 264.1 kB / 0.5964 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.4209, allocations: 4 kB / 0.5964 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4209, allocations: 0 / 0.5964 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4209, allocations: 0 / 0.5964 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.4212, allocations: 173.1 kB / 0.5966 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.4212, allocations: 0 / 0.5966 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.767e-05/0.4213, allocations: 27.98 kB / 0.5966 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4213, allocations: 0 / 0.5966 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.4213, allocations: 4 kB / 0.5966 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4213, allocations: 0 / 0.5966 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4213, allocations: 4 kB / 0.5966 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.4217, allocations: 267.2 kB / 0.5968 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.4217, allocations: 7.891 kB / 0.5969 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.4217, allocations: 4 kB / 0.5969 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.4218, allocations: 7.984 kB / 0.5969 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.4218, allocations: 11.98 kB / 0.5969 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.4219, allocations: 4 kB / 0.5969 GB, free: 15.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.788e-05/0.4219, allocations: 83.27 kB / 0.597 GB, free: 15.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4219, allocations: 0 / 0.597 GB, free: 15.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002374/0.4243, allocations: 375 kB / 0.5973 GB, free: 14.71 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.01376/0.438, allocations: 3.565 MB / 0.6008 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004089/0.4384, allocations: 95.88 kB / 0.6009 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4385, allocations: 0 / 0.6009 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.4386, allocations: 59.91 kB / 0.6009 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.439, allocations: 27.98 kB / 0.601 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.4396, allocations: 253.1 kB / 0.6012 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.907e-05/0.4397, allocations: 87.02 kB / 0.6013 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.4398, allocations: 51.61 kB / 0.6013 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.4399, allocations: 23.42 kB / 0.6014 GB, free: 10.5 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4399, allocations: 0 / 0.6014 GB, free: 10.5 MB / 446.1 MB Notification: Performance of Templates: time 0.02714/0.467, allocations: 16.4 MB / 0.6174 GB, free: 10.09 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.818345492705703]