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.0008644/0.0008644, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0009512/0.0009512, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8954/0.8954, allocations: 177.1 MB / 204.3 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.2342/0.2342, allocations: 34.25 MB / 294.9 MB, free: 0.7148 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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 442.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.371e-05, allocations: 2.281 kB / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.1677/0.1677, allocations: 8.029 MB / 450.2 MB, free: 40.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005599/0.1733, allocations: 9.872 MB / 460.1 MB, free: 34.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.931e-05/0.1734, allocations: 3.938 kB / 460.1 MB, free: 34.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.1736, allocations: 42.89 kB / 460.1 MB, free: 34.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003233/0.1768, allocations: 1.88 MB / 462 MB, free: 33.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.521e-06/0.1768, allocations: 0 / 462 MB, free: 33.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.044e-05/0.1769, allocations: 56.08 kB / 462.1 MB, free: 33.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.1769, allocations: 6.359 kB / 462.1 MB, free: 33.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1771, allocations: 37.89 kB / 462.1 MB, free: 33.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.261e-05/0.1771, allocations: 20.72 kB / 462.1 MB, free: 33.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.297e-06/0.1771, allocations: 0 / 462.1 MB, free: 33.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004667/0.1818, allocations: 6.597 MB / 468.7 MB, free: 32.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.1818, allocations: 0 / 468.7 MB, free: 32.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.1818, allocations: 18.28 kB / 468.7 MB, free: 32.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004993/0.1868, allocations: 5.331 MB / 474.1 MB, free: 32.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1868, allocations: 3.938 kB / 474.1 MB, free: 32.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1868, allocations: 0 / 474.1 MB, free: 32.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1868, allocations: 0 / 474.1 MB, free: 32.17 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.001527/0.1883, allocations: 0.5056 MB / 474.6 MB, free: 31.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1884, allocations: 13 kB / 474.6 MB, free: 31.74 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.322e-05/0.1884, allocations: 33.59 kB / 474.6 MB, free: 31.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.906e-05/0.1884, allocations: 14.59 kB / 474.6 MB, free: 31.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.598e-05/0.1885, allocations: 111.3 kB / 474.7 MB, free: 31.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.1885, allocations: 0 / 474.7 MB, free: 31.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.1885, allocations: 2.969 kB / 474.7 MB, free: 31.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.1886, allocations: 79.61 kB / 474.8 MB, free: 31.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1886, allocations: 0 / 474.8 MB, free: 31.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1887, allocations: 0 / 474.8 MB, free: 31.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.1887, allocations: 10.94 kB / 474.8 MB, free: 31.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.798e-05/0.1887, allocations: 80.7 kB / 474.9 MB, free: 31.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.189, allocations: 275.3 kB / 475.2 MB, free: 31.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.126e-05/0.1891, allocations: 44.75 kB / 475.2 MB, free: 31.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.886e-05/0.1891, allocations: 28.03 kB / 475.2 MB, free: 31.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001521/0.1906, allocations: 0.8129 MB / 476.1 MB, free: 31.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1907, allocations: 40.08 kB / 476.1 MB, free: 30.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.1907, allocations: 0 / 476.1 MB, free: 30.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002346/0.1909, allocations: 114.1 kB / 476.2 MB, free: 30.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.846e-05/0.1909, allocations: 56.44 kB / 476.3 MB, free: 30.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.217e-05/0.191, allocations: 101.5 kB / 476.4 MB, free: 30.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.171e-06/0.191, allocations: 26.77 kB / 476.4 MB, free: 30.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.44e-05/0.191, allocations: 89.31 kB / 476.5 MB, free: 30.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.191, allocations: 34.7 kB / 476.5 MB, free: 30.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.191, allocations: 24.47 kB / 476.5 MB, free: 30.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.4e-05/0.1911, allocations: 320.7 kB / 476.9 MB, free: 30.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.753e-05/0.1911, allocations: 21.02 kB / 476.9 MB, free: 30.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.625e-05/0.1911, allocations: 33.56 kB / 476.9 MB, free: 30.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.084e-05/0.1912, allocations: 69.81 kB / 477 MB, free: 30.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1912, allocations: 0 / 477 MB, free: 30.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001083/0.1913, allocations: 96.28 kB / 477.1 MB, free: 30.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1913, allocations: 7.25 kB / 477.1 MB, free: 30.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1913, allocations: 0 / 477.1 MB, free: 30.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1913, allocations: 1.062 kB / 477.1 MB, free: 30.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.2e-05/0.1914, allocations: 14.75 kB / 477.1 MB, free: 30.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1914, allocations: 0 / 477.1 MB, free: 30.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.1914, allocations: 8.859 kB / 477.1 MB, free: 30.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1914, allocations: 3.125 kB / 477.1 MB, free: 30.1 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.971e-05/0.1915, allocations: 116.6 kB / 477.2 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.1915, allocations: 5.125 kB / 477.2 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.1917, allocations: 159.7 kB / 477.4 MB, free: 29.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.493e-05/0.1918, allocations: 119.2 kB / 477.5 MB, free: 29.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1918, allocations: 1.375 kB / 477.5 MB, free: 29.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1918, allocations: 6.953 kB / 477.5 MB, free: 29.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.192, allocations: 393 kB / 477.9 MB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.192, allocations: 5.219 kB / 477.9 MB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.1921, allocations: 11.69 kB / 477.9 MB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1921, allocations: 1.438 kB / 477.9 MB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.1921, allocations: 1 kB / 477.9 MB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1921, allocations: 1.094 kB / 477.9 MB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1921, allocations: 3.938 kB / 477.9 MB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.1922, allocations: 227.1 kB / 478.1 MB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.787e-06/0.1922, allocations: 8.094 kB / 478.1 MB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.1922, allocations: 8.438 kB / 478.1 MB, free: 29.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.92e-05/0.1923, allocations: 5.062 kB / 478.2 MB, free: 29.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.1923, allocations: 10.44 kB / 478.2 MB, free: 29.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1923, allocations: 2.688 kB / 478.2 MB, free: 29.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.548e-05/0.1923, allocations: 78.44 kB / 478.2 MB, free: 29.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1923, allocations: 0 / 478.2 MB, free: 29.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001122/0.1934, allocations: 362.7 kB / 478.6 MB, free: 29.12 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.008234/0.2017, allocations: 4.8 MB / 483.4 MB, free: 26.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.2018, allocations: 104.1 kB / 483.5 MB, free: 26.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2018, allocations: 1.375 kB / 483.5 MB, free: 26.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.2019, allocations: 51.47 kB / 483.5 MB, free: 26.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.2022, allocations: 44.16 kB / 483.6 MB, free: 26.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000819/0.203, allocations: 386.5 kB / 484 MB, free: 26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.203, allocations: 78.7 kB / 484 MB, free: 25.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.243e-05/0.203, allocations: 11.95 kB / 484.1 MB, free: 25.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.2031, allocations: 31.86 kB / 484.1 MB, free: 25.91 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2031, allocations: 4 kB / 484.1 MB, free: 25.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.2308, allocations: 20.99 MB / 0.4932 GB, free: 17.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/7.784, allocations: 3.438 kB / 0.4933 GB, free: 17.98 MB / 410.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins/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/jenkins/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: 10.037482453510165]