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.001121/0.001121, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.0052/0.0052, allocations: 160.6 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8547/0.8547, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2323/0.2323, allocations: 34.25 MB / 295.7 MB, free: 0.6836 MB / 266.7 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 1.754e-06/1.754e-06, allocations: 0 / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.639e-05, allocations: 10.16 kB / 443.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.1713/0.1713, allocations: 8.031 MB / 451.5 MB, free: 40.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006045/0.1774, allocations: 9.886 MB / 461.3 MB, free: 34.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.879e-05/0.1774, allocations: 0 / 461.3 MB, free: 34.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.1776, allocations: 25.44 kB / 461.4 MB, free: 34.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003816/0.1815, allocations: 1.876 MB / 463.2 MB, free: 33.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.103e-06/0.1815, allocations: 3.938 kB / 463.2 MB, free: 33.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.59e-05/0.1816, allocations: 56.81 kB / 463.3 MB, free: 33.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.1816, allocations: 3.312 kB / 463.3 MB, free: 33.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.1817, allocations: 34.33 kB / 463.3 MB, free: 33.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.016e-05/0.1818, allocations: 20.27 kB / 463.4 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.1818, allocations: 2.969 kB / 463.4 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005874/0.1876, allocations: 6.593 MB / 470 MB, free: 32.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.1877, allocations: 3.984 kB / 470 MB, free: 32.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.1877, allocations: 13.91 kB / 470 MB, free: 32.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007255/0.195, allocations: 5.333 MB / 475.3 MB, free: 32.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.195, allocations: 0 / 475.3 MB, free: 32.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.195, allocations: 0 / 475.3 MB, free: 32.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.195, allocations: 6.906 kB / 475.3 MB, free: 32.05 MB / 410.7 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.002466/0.1975, allocations: 0.5048 MB / 475.8 MB, free: 31.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1975, allocations: 9.188 kB / 475.8 MB, free: 31.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.153e-05/0.1976, allocations: 21.27 kB / 475.8 MB, free: 31.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.953e-05/0.1977, allocations: 101.2 kB / 475.9 MB, free: 31.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1977, allocations: 2.906 kB / 475.9 MB, free: 31.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.1977, allocations: 7.312 kB / 476 MB, free: 31.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.1978, allocations: 72.73 kB / 476 MB, free: 31.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1978, allocations: 1.812 kB / 476 MB, free: 31.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1978, allocations: 1.078 kB / 476 MB, free: 31.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.1978, allocations: 9.719 kB / 476 MB, free: 31.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.114e-05/0.1979, allocations: 79.53 kB / 476.1 MB, free: 31.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.1982, allocations: 264.5 kB / 476.4 MB, free: 31.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.518e-05/0.1983, allocations: 44.06 kB / 476.4 MB, free: 31.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.1983, allocations: 27.52 kB / 476.4 MB, free: 31.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001555/0.1999, allocations: 0.8209 MB / 477.3 MB, free: 30.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.1999, allocations: 36.06 kB / 477.3 MB, free: 30.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.914e-06/0.1999, allocations: 0 / 477.3 MB, free: 30.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002246/0.2001, allocations: 111.4 kB / 477.4 MB, free: 30.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.2001, allocations: 52.75 kB / 477.5 MB, free: 30.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.502e-05/0.2002, allocations: 105.4 kB / 477.6 MB, free: 30.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.581e-06/0.2002, allocations: 25.7 kB / 477.6 MB, free: 30.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.302e-05/0.2002, allocations: 85.34 kB / 477.7 MB, free: 30.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.2002, allocations: 30.75 kB / 477.7 MB, free: 30.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.2003, allocations: 20.44 kB / 477.7 MB, free: 30.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.727e-05/0.2003, allocations: 319.1 kB / 478 MB, free: 30.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-05/0.2003, allocations: 22.44 kB / 478.1 MB, free: 30.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.429e-05/0.2004, allocations: 35.86 kB / 478.1 MB, free: 30.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.704e-05/0.2004, allocations: 67.39 kB / 478.2 MB, free: 30.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.2004, allocations: 0.875 kB / 478.2 MB, free: 30.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001075/0.2005, allocations: 95.08 kB / 478.2 MB, free: 30.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2006, allocations: 9.594 kB / 478.3 MB, free: 30.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2006, allocations: 0 / 478.3 MB, free: 30.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2006, allocations: 1.25 kB / 478.3 MB, free: 30.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.513e-05/0.2006, allocations: 11.44 kB / 478.3 MB, free: 30.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2006, allocations: 5.344 kB / 478.3 MB, free: 30.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.2007, allocations: 12.67 kB / 478.3 MB, free: 30.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.2007, allocations: 2.656 kB / 478.3 MB, free: 30.05 MB / 410.7 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 4.134e-05/0.2007, allocations: 112.7 kB / 478.4 MB, free: 29.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.2007, allocations: 9.859 kB / 478.4 MB, free: 29.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.2009, allocations: 160.5 kB / 478.6 MB, free: 29.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.993e-05/0.201, allocations: 116.8 kB / 478.7 MB, free: 29.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.201, allocations: 1.281 kB / 478.7 MB, free: 29.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.201, allocations: 0 / 478.7 MB, free: 29.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.2013, allocations: 376.6 kB / 479.1 MB, free: 29.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2013, allocations: 1.125 kB / 479.1 MB, free: 29.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.2013, allocations: 15.62 kB / 479.1 MB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2013, allocations: 1.156 kB / 479.1 MB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.2013, allocations: 5.094 kB / 479.1 MB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2014, allocations: 4.656 kB / 479.1 MB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2014, allocations: 0 / 479.1 MB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.2015, allocations: 225.9 kB / 479.3 MB, free: 29.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.2015, allocations: 6.844 kB / 479.3 MB, free: 29.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.2015, allocations: 4 kB / 479.3 MB, free: 29.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.078e-05/0.2015, allocations: 16.53 kB / 479.3 MB, free: 29.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.2015, allocations: 5.578 kB / 479.3 MB, free: 29.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.2016, allocations: 6.844 kB / 479.3 MB, free: 29.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.3e-05/0.2016, allocations: 82.12 kB / 479.4 MB, free: 29.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2016, allocations: 0 / 479.4 MB, free: 29.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002076/0.2036, allocations: 363.1 kB / 479.8 MB, free: 29.11 MB / 410.7 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.01009/0.2137, allocations: 4.136 MB / 483.9 MB, free: 26.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.214, allocations: 107.8 kB / 484 MB, free: 26.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.214, allocations: 1.438 kB / 484 MB, free: 26.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.317e-05/0.214, allocations: 40.53 kB / 484.1 MB, free: 26.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.2143, allocations: 42.23 kB / 484.1 MB, free: 26.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003683/0.2147, allocations: 230.1 kB / 484.3 MB, free: 26.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.627e-05/0.2147, allocations: 79.61 kB / 484.4 MB, free: 26.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.2148, allocations: 17.16 kB / 484.4 MB, free: 26.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/0.2148, allocations: 0 / 484.4 MB, free: 26.6 MB / 410.7 MB Notification: Performance of Templates: time 0.02187/0.2366, allocations: 19.6 MB / 0.4922 GB, free: 19.83 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins/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: 5.429177482612431]