Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.001936/0.001936, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002522/0.002522, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.499/1.499, allocations: 230.6 MB / 258.2 MB, free: 7.758 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.2271/0.2271, allocations: 46.98 MB / 361.6 MB, free: 4.027 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_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003154/0.003154, allocations: 63.89 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3664, allocations: 66.04 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01275/0.3791, allocations: 8.059 MB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01284/0.392, allocations: 9.893 MB / 0.5793 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.544e-05/0.3921, allocations: 4 kB / 0.5794 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.3923, allocations: 35.81 kB / 0.5794 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005487/0.3978, allocations: 1.852 MB / 0.5812 GB, free: 284 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.146e-06/0.3978, allocations: 4 kB / 0.5812 GB, free: 280 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.3979, allocations: 47.67 kB / 0.5812 GB, free: 232 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.3979, allocations: 0 / 0.5812 GB, free: 232 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.3981, allocations: 35.84 kB / 0.5813 GB, free: 196 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.419e-05/0.3981, allocations: 15.92 kB / 0.5813 GB, free: 180 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.749e-06/0.3982, allocations: 0 / 0.5813 GB, free: 180 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01063/0.4088, allocations: 6.69 MB / 0.5878 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.841e-05/0.4088, allocations: 7.922 kB / 0.5878 GB, free: 9.465 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.788e-05/0.4089, allocations: 15.92 kB / 0.5878 GB, free: 9.449 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0135/0.4224, allocations: 5.092 MB / 0.5928 GB, free: 4.352 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.276e-05/0.4224, allocations: 7.922 kB / 0.5928 GB, free: 4.344 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4224, allocations: 0 / 0.5928 GB, free: 4.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.4224, allocations: 0 / 0.5928 GB, free: 4.344 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.003226/0.4256, allocations: 0.5036 MB / 0.5933 GB, free: 3.809 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.4257, allocations: 12.03 kB / 0.5933 GB, free: 3.797 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.4258, allocations: 11.98 kB / 0.5933 GB, free: 3.785 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.4259, allocations: 117.1 kB / 0.5935 GB, free: 3.645 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.426, allocations: 3.938 kB / 0.5935 GB, free: 3.641 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.426, allocations: 4 kB / 0.5935 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.4262, allocations: 81.67 kB / 0.5935 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.4262, allocations: 3.938 kB / 0.5935 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.4262, allocations: 0 / 0.5935 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.4262, allocations: 4 kB / 0.5935 GB, free: 3.543 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.4263, allocations: 71.97 kB / 0.5936 GB, free: 3.473 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.4269, allocations: 272.4 kB / 0.5939 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.417e-05/0.427, allocations: 42.61 kB / 0.5939 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.309e-05/0.427, allocations: 32.86 kB / 0.5939 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003244/0.4302, allocations: 0.7997 MB / 0.5947 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.4303, allocations: 38.56 kB / 0.5948 GB, free: 2.242 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.4303, allocations: 0 / 0.5948 GB, free: 2.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003425/0.4306, allocations: 113.7 kB / 0.5949 GB, free: 2.125 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.4307, allocations: 51.41 kB / 0.5949 GB, free: 2.062 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.4308, allocations: 97.86 kB / 0.595 GB, free: 1.957 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.4308, allocations: 29.7 kB / 0.595 GB, free: 1.922 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.566e-05/0.4309, allocations: 96.02 kB / 0.5951 GB, free: 1.824 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.4309, allocations: 27.75 kB / 0.5952 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.431, allocations: 21.7 kB / 0.5952 GB, free: 1.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4311, allocations: 318.8 kB / 0.5955 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.377e-05/0.4312, allocations: 23.98 kB / 0.5955 GB, free: 1.426 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.4313, allocations: 37.66 kB / 0.5955 GB, free: 1.383 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.4314, allocations: 66.02 kB / 0.5956 GB, free: 1.312 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4314, allocations: 0 / 0.5956 GB, free: 1.312 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000196/0.4316, allocations: 101.5 kB / 0.5957 GB, free: 1.207 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4316, allocations: 8 kB / 0.5957 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4316, allocations: 0 / 0.5957 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.4316, allocations: 0 / 0.5957 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.4317, allocations: 12.17 kB / 0.5957 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4317, allocations: 0 / 0.5957 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.78e-05/0.4317, allocations: 15.94 kB / 0.5957 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.4318, allocations: 0 / 0.5957 GB, free: 1.172 MB / 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 (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 0.0001089/0.4319, allocations: 113.8 kB / 0.5958 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.4319, allocations: 7.953 kB / 0.5959 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.4322, allocations: 149.7 kB / 0.596 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001551/0.4324, allocations: 121.5 kB / 0.5961 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4324, allocations: 0 / 0.5961 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4324, allocations: 0 / 0.5961 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005074/0.4329, allocations: 385.7 kB / 0.5965 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4329, allocations: 0 / 0.5965 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.826e-05/0.4329, allocations: 12 kB / 0.5965 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4329, allocations: 192 / 0.5965 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.4329, allocations: 4 kB / 0.5965 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4329, allocations: 3.984 kB / 0.5965 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.433, allocations: 7.938 kB / 0.5965 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.4332, allocations: 231.4 kB / 0.5967 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.4332, allocations: 7.891 kB / 0.5967 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.4332, allocations: 8 kB / 0.5967 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.48e-05/0.4333, allocations: 0 / 0.5967 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.4333, allocations: 7.922 kB / 0.5968 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.4333, allocations: 8 kB / 0.5968 GB, free: 60 kB / 430.1 MB Notification: Performance of sorting global known variables: time 7.71e-05/0.4334, allocations: 79.28 kB / 0.5968 GB, free: 15.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4334, allocations: 0 / 0.5968 GB, free: 15.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002789/0.4362, allocations: 362.9 kB / 0.5972 GB, free: 15.62 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.01443/0.4506, allocations: 4.092 MB / 0.6012 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003066/0.4509, allocations: 105.7 kB / 0.6013 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4509, allocations: 0 / 0.6013 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.775e-05/0.451, allocations: 43.92 kB / 0.6013 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.4515, allocations: 32.5 kB / 0.6014 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.452, allocations: 259.2 kB / 0.6016 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.671e-05/0.4521, allocations: 79.08 kB / 0.6017 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.4522, allocations: 23.44 kB / 0.6017 GB, free: 10.92 MB / 446.1 MB Notification: Performance of SimCode: time 1.372e-06/0.4522, allocations: 0 / 0.6017 GB, free: 10.92 MB / 446.1 MB Notification: Performance of Templates: time 0.02701/0.4792, allocations: 19.52 MB / 0.6208 GB, free: 7.367 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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: 9.379999330005376]