Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001859/0.001859, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.002306/0.002306, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.509/1.509, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2267/0.2267, allocations: 46.92 MB / 357.8 MB, free: 10.34 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,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") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.91 kB / 0.4921 GB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1353, allocations: 66 MB / 0.5565 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01322/0.1485, allocations: 8.439 MB / 0.5648 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01415/0.1627, allocations: 11.21 MB / 0.5757 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.1627, allocations: 0 / 0.5757 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.163, allocations: 47.73 kB / 0.5757 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005472/0.1684, allocations: 1.854 MB / 0.5776 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.798e-06/0.1684, allocations: 0 / 0.5776 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.1686, allocations: 55.55 kB / 0.5776 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.381e-05/0.1686, allocations: 4 kB / 0.5776 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.1688, allocations: 31.84 kB / 0.5776 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.1688, allocations: 23.92 kB / 0.5777 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.238e-06/0.1689, allocations: 0 / 0.5777 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01103/0.1799, allocations: 6.717 MB / 0.5842 GB, free: 8.898 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.1799, allocations: 0 / 0.5842 GB, free: 8.898 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.1799, allocations: 19.88 kB / 0.5842 GB, free: 8.879 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.192, allocations: 5.1 MB / 0.5892 GB, free: 3.773 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.192, allocations: 0 / 0.5892 GB, free: 3.773 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.192, allocations: 0 / 0.5892 GB, free: 3.773 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.192, allocations: 0 / 0.5892 GB, free: 3.773 MB / 446.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.002969/0.195, allocations: 0.5867 MB / 0.5898 GB, free: 3.137 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.195, allocations: 8.031 kB / 0.5898 GB, free: 3.129 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.1952, allocations: 7.984 kB / 0.5898 GB, free: 3.121 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.1953, allocations: 171 kB / 0.59 GB, free: 2.914 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1953, allocations: 7.938 kB / 0.59 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.1953, allocations: 4 kB / 0.59 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1955, allocations: 73.67 kB / 0.5901 GB, free: 2.824 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1955, allocations: 3.938 kB / 0.5901 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1955, allocations: 8 kB / 0.5901 GB, free: 2.812 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1955, allocations: 0 / 0.5901 GB, free: 2.812 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.1957, allocations: 75.95 kB / 0.5901 GB, free: 2.738 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.1961, allocations: 324.7 kB / 0.5905 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.099e-05/0.1962, allocations: 34.56 kB / 0.5905 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.1963, allocations: 32.91 kB / 0.5905 GB, free: 2.293 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00362/0.1999, allocations: 1.846 MB / 0.5923 GB, free: 192 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.1999, allocations: 30.56 kB / 0.5923 GB, free: 152 kB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.1999, allocations: 0 / 0.5923 GB, free: 152 kB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003051/0.2002, allocations: 105.7 kB / 0.5924 GB, free: 40 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2375/0.4377, allocations: 55.41 kB / 0.5925 GB, free: 33.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.4379, allocations: 100.3 kB / 0.5926 GB, free: 33.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.4379, allocations: 28.45 kB / 0.5926 GB, free: 33.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.4379, allocations: 87.44 kB / 0.5927 GB, free: 33.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.4379, allocations: 30.09 kB / 0.5927 GB, free: 33.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.438, allocations: 25.62 kB / 0.5928 GB, free: 33.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.754e-05/0.438, allocations: 316.8 kB / 0.5931 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.229e-05/0.4381, allocations: 20.88 kB / 0.5931 GB, free: 33.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.068e-05/0.4381, allocations: 35.08 kB / 0.5931 GB, free: 33.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.445e-05/0.4382, allocations: 67.2 kB / 0.5932 GB, free: 33.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4382, allocations: 3.406 kB / 0.5932 GB, free: 33.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002012/0.4384, allocations: 95.77 kB / 0.5933 GB, free: 33.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4385, allocations: 9.062 kB / 0.5933 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.4385, allocations: 2.031 kB / 0.5933 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.4385, allocations: 4.375 kB / 0.5933 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.758e-05/0.4386, allocations: 11.09 kB / 0.5933 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4386, allocations: 0.875 kB / 0.5933 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/0.4386, allocations: 5.312 kB / 0.5933 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.4386, allocations: 1.656 kB / 0.5933 GB, free: 33.13 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 (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 5.95e-05/0.4387, allocations: 117.2 kB / 0.5934 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.4387, allocations: 8.734 kB / 0.5934 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.439, allocations: 147.6 kB / 0.5936 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001336/0.4391, allocations: 123.2 kB / 0.5937 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4391, allocations: 0 / 0.5937 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4391, allocations: 2.75 kB / 0.5937 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.4396, allocations: 437.2 kB / 0.5941 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4396, allocations: 0 / 0.5941 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.458e-05/0.4396, allocations: 13.88 kB / 0.5941 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4396, allocations: 3.812 kB / 0.5941 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.4396, allocations: 5.609 kB / 0.5941 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4396, allocations: 4.094 kB / 0.5941 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4396, allocations: 3.25 kB / 0.5941 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.4398, allocations: 229.2 kB / 0.5944 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.4398, allocations: 82.91 kB / 0.5944 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.4398, allocations: 2.203 kB / 0.5944 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.222e-05/0.4399, allocations: 2.562 kB / 0.5944 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.4399, allocations: 8.25 kB / 0.5944 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.4399, allocations: 3.344 kB / 0.5944 GB, free: 32.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.919e-05/0.4399, allocations: 82.22 kB / 0.5945 GB, free: 32.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4399, allocations: 0 / 0.5945 GB, free: 32.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002403/0.4423, allocations: 362.3 kB / 0.5949 GB, free: 32.32 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.01377/0.4561, allocations: 4.091 MB / 0.5989 GB, free: 30.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003578/0.4565, allocations: 107.6 kB / 0.599 GB, free: 30.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4565, allocations: 0 / 0.599 GB, free: 30.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.57e-05/0.4566, allocations: 47.98 kB / 0.599 GB, free: 30.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.4571, allocations: 38.25 kB / 0.5991 GB, free: 30.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.4576, allocations: 252.9 kB / 0.5993 GB, free: 30.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.4577, allocations: 0.6942 MB / 0.6 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.4577, allocations: 17.12 kB / 0.6 GB, free: 29.45 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4577, allocations: 5.188 kB / 0.6 GB, free: 29.45 MB / 446.1 MB Notification: Performance of Templates: time 0.02986/0.4876, allocations: 19.48 MB / 0.619 GB, free: 23.69 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.594498308986658]