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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 104 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 192.1 kB / 18.56 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.208/0.208, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 62.97 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1236, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01239/0.136, allocations: 8.317 MB / 477.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.1492, allocations: 11.09 MB / 488.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.1493, allocations: 0 / 488.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.1496, allocations: 39.73 kB / 488.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006211/0.1558, allocations: 1.789 MB / 490.6 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.526e-06/0.1558, allocations: 0 / 490.6 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.156, allocations: 47.73 kB / 490.6 MB, free: 8.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.156, allocations: 3.938 kB / 490.6 MB, free: 8.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.1562, allocations: 31.84 kB / 490.7 MB, free: 8.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.664e-05/0.1562, allocations: 11.94 kB / 490.7 MB, free: 8.875 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.1563, allocations: 4 kB / 490.7 MB, free: 8.871 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01133/0.1676, allocations: 6.616 MB / 497.3 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.1677, allocations: 7.922 kB / 497.3 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.17e-05/0.1677, allocations: 19.92 kB / 497.3 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01452/0.1823, allocations: 4.624 MB / 0.4902 GB, free: 13.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.1823, allocations: 0 / 0.4902 GB, free: 13.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1823, allocations: 0 / 0.4902 GB, free: 13.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1823, allocations: 0 / 0.4902 GB, free: 13.59 MB / 382.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.002992/0.1853, allocations: 0.5498 MB / 0.4907 GB, free: 12.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.1854, allocations: 12.02 kB / 0.4907 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.284e-05/0.1855, allocations: 38.56 kB / 0.4908 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.1856, allocations: 7.906 kB / 0.4908 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.1857, allocations: 167 kB / 0.4909 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.1857, allocations: 12 kB / 0.491 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.1858, allocations: 4 kB / 0.491 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.1859, allocations: 81.61 kB / 0.491 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1859, allocations: 0 / 0.491 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.186, allocations: 0 / 0.491 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.186, allocations: 4 kB / 0.491 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.829e-05/0.1861, allocations: 67.97 kB / 0.4911 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.1865, allocations: 316.7 kB / 0.4914 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.338e-05/0.1866, allocations: 50.5 kB / 0.4915 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.1867, allocations: 32.92 kB / 0.4915 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002968/0.1896, allocations: 1.713 MB / 0.4932 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.1897, allocations: 34.56 kB / 0.4932 GB, free: 10.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.934e-06/0.1897, allocations: 0 / 0.4932 GB, free: 10.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002978/0.19, allocations: 113.6 kB / 0.4933 GB, free: 9.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.19, allocations: 51.41 kB / 0.4934 GB, free: 9.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/0.1901, allocations: 97.86 kB / 0.4934 GB, free: 9.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1901, allocations: 29.7 kB / 0.4935 GB, free: 9.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.1902, allocations: 84.05 kB / 0.4936 GB, free: 9.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.1902, allocations: 31.55 kB / 0.4936 GB, free: 9.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.1903, allocations: 21.72 kB / 0.4936 GB, free: 9.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.431e-05/0.1904, allocations: 318.8 kB / 0.4939 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.569e-05/0.1904, allocations: 20 kB / 0.4939 GB, free: 9.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.143e-05/0.1905, allocations: 37.7 kB / 0.494 GB, free: 9.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.763e-05/0.1906, allocations: 69.77 kB / 0.494 GB, free: 9.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1906, allocations: 0 / 0.494 GB, free: 9.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001501/0.1907, allocations: 89.62 kB / 0.4941 GB, free: 9.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1908, allocations: 4 kB / 0.4941 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1908, allocations: 4 kB / 0.4941 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1908, allocations: 384 / 0.4941 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.235e-05/0.1909, allocations: 8 kB / 0.4941 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1909, allocations: 0 / 0.4941 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.1909, allocations: 15.81 kB / 0.4941 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.1909, allocations: 11.94 kB / 0.4942 GB, free: 9.039 MB / 382.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 7.527e-05/0.191, allocations: 121.7 kB / 0.4943 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.1911, allocations: 0 / 0.4943 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.1913, allocations: 145.6 kB / 0.4944 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001505/0.1915, allocations: 121.6 kB / 0.4945 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1915, allocations: 0 / 0.4945 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1915, allocations: 4 kB / 0.4945 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.192, allocations: 434.2 kB / 0.4949 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.192, allocations: 4 kB / 0.4949 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.192, allocations: 19.98 kB / 0.495 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.192, allocations: 3.938 kB / 0.495 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.1921, allocations: 0 / 0.495 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1921, allocations: 0 / 0.495 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1921, allocations: 8.25 kB / 0.495 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.1923, allocations: 221.4 kB / 0.4952 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.1923, allocations: 84.95 kB / 0.4953 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.1924, allocations: 7.938 kB / 0.4953 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.456e-05/0.1924, allocations: 7.984 kB / 0.4953 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.1924, allocations: 4 kB / 0.4953 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.1925, allocations: 4 kB / 0.4953 GB, free: 7.762 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.795e-05/0.1925, allocations: 79.28 kB / 0.4954 GB, free: 7.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1925, allocations: 0 / 0.4954 GB, free: 7.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002183/0.1947, allocations: 347.8 kB / 0.4957 GB, free: 7.344 MB / 382.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.01802/0.2127, allocations: 4.354 MB / 0.5 GB, free: 2.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.2131, allocations: 117.9 kB / 0.5001 GB, free: 2.836 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.2131, allocations: 4.062 kB / 0.5001 GB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.511e-05/0.2132, allocations: 59.86 kB / 0.5001 GB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.2137, allocations: 31.95 kB / 0.5002 GB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.2157, allocations: 394.1 kB / 0.5005 GB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.216, allocations: 0.6924 MB / 0.5012 GB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.984e-05/0.2161, allocations: 16.11 kB / 0.5012 GB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.779e-05/0.2161, allocations: 31.42 kB / 0.5013 GB, free: 1.551 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2161, allocations: 0 / 0.5013 GB, free: 1.551 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3447/0.5609, allocations: 19.69 MB / 0.5205 GB, free: 41.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.663/9.224, allocations: 5.859 kB / 0.5205 GB, free: 41.62 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) 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) Reference file matches