Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001352/0.001352, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.00153/0.00153, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 8.266 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2234/0.2234, allocations: 44.92 MB / 359.6 MB, free: 6.449 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.0.0_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.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 64.09 kB / 0.4943 GB, free: 10.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3097, allocations: 65.47 MB / 0.5582 GB, free: 7.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01254/0.3222, allocations: 8.444 MB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0136/0.3358, allocations: 11.25 MB / 0.5775 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.3359, allocations: 4 kB / 0.5775 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.3361, allocations: 43.8 kB / 0.5775 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005258/0.3414, allocations: 1.877 MB / 0.5793 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.513e-06/0.3414, allocations: 0 / 0.5793 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.903e-05/0.3415, allocations: 39.73 kB / 0.5794 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.3415, allocations: 4 kB / 0.5794 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.3417, allocations: 35.78 kB / 0.5794 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.423e-05/0.3417, allocations: 11.94 kB / 0.5794 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.3417, allocations: 0 / 0.5794 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01106/0.3528, allocations: 6.76 MB / 0.586 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.3528, allocations: 0 / 0.586 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.3528, allocations: 19.77 kB / 0.5861 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0127/0.3655, allocations: 5.092 MB / 0.591 GB, free: 6.238 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3655, allocations: 0 / 0.591 GB, free: 6.238 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3655, allocations: 0 / 0.591 GB, free: 6.238 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.3656, allocations: 4 kB / 0.591 GB, free: 6.234 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.002807/0.3684, allocations: 0.492 MB / 0.5915 GB, free: 5.711 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3684, allocations: 19.97 kB / 0.5915 GB, free: 5.691 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.3685, allocations: 15.94 kB / 0.5915 GB, free: 5.676 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.636e-05/0.3686, allocations: 105.2 kB / 0.5916 GB, free: 5.547 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.3686, allocations: 4 kB / 0.5917 GB, free: 5.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.3687, allocations: 3.938 kB / 0.5917 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.3688, allocations: 85.61 kB / 0.5917 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3688, allocations: 7.875 kB / 0.5917 GB, free: 5.441 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.3689, allocations: 0 / 0.5917 GB, free: 5.441 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.3689, allocations: 3.984 kB / 0.5917 GB, free: 5.438 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.369, allocations: 83.95 kB / 0.5918 GB, free: 5.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.3695, allocations: 291.9 kB / 0.5921 GB, free: 5.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.318e-05/0.3696, allocations: 42.5 kB / 0.5921 GB, free: 4.977 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/0.3696, allocations: 24.92 kB / 0.5922 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002972/0.3726, allocations: 0.8037 MB / 0.593 GB, free: 4.145 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.3726, allocations: 30.56 kB / 0.593 GB, free: 4.105 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.3726, allocations: 0 / 0.593 GB, free: 4.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003083/0.3729, allocations: 113.7 kB / 0.5931 GB, free: 3.988 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.373, allocations: 51.41 kB / 0.5931 GB, free: 3.926 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.655e-05/0.3731, allocations: 97.86 kB / 0.5932 GB, free: 3.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.3731, allocations: 29.7 kB / 0.5933 GB, free: 3.785 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.3731, allocations: 88.03 kB / 0.5933 GB, free: 3.695 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.3732, allocations: 31.73 kB / 0.5934 GB, free: 3.664 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.3732, allocations: 21.7 kB / 0.5934 GB, free: 3.637 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3734, allocations: 322.8 kB / 0.5937 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/0.3734, allocations: 16 kB / 0.5937 GB, free: 3.297 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-05/0.3734, allocations: 37.83 kB / 0.5938 GB, free: 3.254 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.3735, allocations: 70.02 kB / 0.5938 GB, free: 3.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3735, allocations: 0 / 0.5938 GB, free: 3.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001848/0.3737, allocations: 97.52 kB / 0.5939 GB, free: 3.078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3737, allocations: 4 kB / 0.5939 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3738, allocations: 0 / 0.5939 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.3738, allocations: 4 kB / 0.5939 GB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/0.3738, allocations: 8.188 kB / 0.5939 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3738, allocations: 0 / 0.5939 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.3739, allocations: 16.02 kB / 0.5939 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.3739, allocations: 4 kB / 0.594 GB, free: 3.043 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 9.403e-05/0.374, allocations: 113.7 kB / 0.5941 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.374, allocations: 11.95 kB / 0.5941 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.3743, allocations: 145.5 kB / 0.5942 GB, free: 2.766 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001548/0.3744, allocations: 113.6 kB / 0.5943 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3744, allocations: 7.938 kB / 0.5943 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3745, allocations: 4 kB / 0.5943 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005309/0.375, allocations: 413.3 kB / 0.5947 GB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.375, allocations: 0 / 0.5947 GB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.375, allocations: 15.98 kB / 0.5947 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.375, allocations: 0 / 0.5947 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.3751, allocations: 3.938 kB / 0.5947 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3751, allocations: 4 kB / 0.5947 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3751, allocations: 3.984 kB / 0.5948 GB, free: 2.156 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.3753, allocations: 227 kB / 0.595 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.3754, allocations: 4 kB / 0.595 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.3754, allocations: 7.938 kB / 0.595 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.334e-05/0.3754, allocations: 0 / 0.595 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.3754, allocations: 7.984 kB / 0.595 GB, free: 1.902 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.3755, allocations: 4 kB / 0.595 GB, free: 1.898 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.956e-05/0.3755, allocations: 79.28 kB / 0.5951 GB, free: 1.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3755, allocations: 0 / 0.5951 GB, free: 1.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002101/0.3776, allocations: 371 kB / 0.5954 GB, free: 1.457 MB / 430.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.01472/0.3923, allocations: 4.092 MB / 0.5994 GB, free: 13.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003028/0.3926, allocations: 101.7 kB / 0.5995 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3926, allocations: 0 / 0.5995 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.874e-05/0.3927, allocations: 51.92 kB / 0.5996 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.3932, allocations: 32.03 kB / 0.5996 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.3937, allocations: 238.6 kB / 0.5998 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.394, allocations: 0.6963 MB / 0.6005 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.3941, allocations: 15.44 kB / 0.6005 GB, free: 12.16 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3941, allocations: 0 / 0.6005 GB, free: 12.16 MB / 446.1 MB Notification: Performance of Templates: time 0.02755/0.4216, allocations: 19.43 MB / 0.6195 GB, free: 8.695 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 9.024020456010476]