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.00134/0.00134, allocations: 116.3 kB / 17.33 MB, free: 6.02 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.001318/0.001319, allocations: 193.3 kB / 18.25 MB, free: 5.109 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.422/1.422, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.233/0.233, allocations: 44.18 MB / 336.3 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.5 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1218, allocations: 60.82 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01239/0.1342, allocations: 8.327 MB / 477.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.1456, allocations: 11.04 MB / 488.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.1456, allocations: 0 / 488.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.1459, allocations: 35.81 kB / 488.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005068/0.151, allocations: 1.573 MB / 489.8 MB, free: 9.598 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.043e-06/0.151, allocations: 4 kB / 489.8 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.341e-05/0.1511, allocations: 51.66 kB / 489.8 MB, free: 9.543 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.1511, allocations: 0 / 489.8 MB, free: 9.543 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1513, allocations: 27.86 kB / 489.9 MB, free: 9.516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.683e-05/0.1513, allocations: 19.92 kB / 489.9 MB, free: 9.496 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.534e-06/0.1513, allocations: 0 / 489.9 MB, free: 9.496 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01671/0.168, allocations: 14.56 MB / 0.4926 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.1681, allocations: 7.922 kB / 0.4926 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.1681, allocations: 15.94 kB / 0.4927 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01766/0.1858, allocations: 8.168 MB / 0.5006 GB, free: 2.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.1859, allocations: 0 / 0.5006 GB, free: 2.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1859, allocations: 0 / 0.5006 GB, free: 2.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1859, allocations: 0 / 0.5006 GB, free: 2.66 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.003017/0.1889, allocations: 0.5576 MB / 0.5012 GB, free: 2.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.189, allocations: 8.031 kB / 0.5012 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.189, allocations: 34.56 kB / 0.5012 GB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.1892, allocations: 15.89 kB / 0.5012 GB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.637e-05/0.1893, allocations: 159.1 kB / 0.5014 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1893, allocations: 15.94 kB / 0.5014 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.1893, allocations: 0 / 0.5014 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.1895, allocations: 85.59 kB / 0.5015 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.1895, allocations: 0 / 0.5015 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1896, allocations: 0 / 0.5015 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1896, allocations: 4 kB / 0.5015 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1897, allocations: 75.95 kB / 0.5016 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.1902, allocations: 320.7 kB / 0.5019 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.018e-05/0.1903, allocations: 46.5 kB / 0.5019 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.712e-05/0.1903, allocations: 32.91 kB / 0.5019 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1876/0.3779, allocations: 1.7 MB / 0.5036 GB, free: 49.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.378, allocations: 32.2 kB / 0.5036 GB, free: 49.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.794e-06/0.378, allocations: 1.812 kB / 0.5036 GB, free: 49.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002874/0.3783, allocations: 109.6 kB / 0.5037 GB, free: 49.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.3783, allocations: 54.81 kB / 0.5038 GB, free: 49.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.768e-05/0.3784, allocations: 96.61 kB / 0.5039 GB, free: 49.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.3784, allocations: 26.39 kB / 0.5039 GB, free: 48.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.999e-05/0.3784, allocations: 85.97 kB / 0.504 GB, free: 48.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.3784, allocations: 28.25 kB / 0.504 GB, free: 48.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.3785, allocations: 27.05 kB / 0.504 GB, free: 48.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.428e-05/0.3785, allocations: 316.2 kB / 0.5043 GB, free: 48.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.884e-05/0.3786, allocations: 22.41 kB / 0.5044 GB, free: 48.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.617e-05/0.3786, allocations: 38.45 kB / 0.5044 GB, free: 48.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.404e-05/0.3787, allocations: 65.69 kB / 0.5045 GB, free: 48.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3787, allocations: 6.266 kB / 0.5045 GB, free: 48.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001333/0.3789, allocations: 89.67 kB / 0.5045 GB, free: 48.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3789, allocations: 10.45 kB / 0.5046 GB, free: 48.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3789, allocations: 0 / 0.5046 GB, free: 48.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3789, allocations: 5.656 kB / 0.5046 GB, free: 48.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.332e-05/0.379, allocations: 9.391 kB / 0.5046 GB, free: 48.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.379, allocations: 0.7969 kB / 0.5046 GB, free: 48.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.211e-05/0.379, allocations: 7.062 kB / 0.5046 GB, free: 48.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.379, allocations: 7.891 kB / 0.5046 GB, free: 48.5 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 5.029e-05/0.3791, allocations: 113.2 kB / 0.5047 GB, free: 48.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.3791, allocations: 1.922 kB / 0.5047 GB, free: 48.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.3794, allocations: 157.5 kB / 0.5048 GB, free: 48.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001281/0.3795, allocations: 115.9 kB / 0.505 GB, free: 48.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3795, allocations: 1.141 kB / 0.505 GB, free: 48.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3795, allocations: 1.391 kB / 0.505 GB, free: 48.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.3799, allocations: 439.7 kB / 0.5054 GB, free: 47.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3799, allocations: 0.875 kB / 0.5054 GB, free: 47.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.38, allocations: 14.45 kB / 0.5054 GB, free: 47.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.38, allocations: 0.9062 kB / 0.5054 GB, free: 47.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.38, allocations: 5.719 kB / 0.5054 GB, free: 47.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.38, allocations: 8.656 kB / 0.5054 GB, free: 47.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.38, allocations: 0 / 0.5054 GB, free: 47.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.3802, allocations: 215.5 kB / 0.5056 GB, free: 47.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.3802, allocations: 88.48 kB / 0.5057 GB, free: 47.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.3802, allocations: 1.984 kB / 0.5057 GB, free: 47.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.736e-05/0.3803, allocations: 11.06 kB / 0.5057 GB, free: 47.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.3803, allocations: 6.797 kB / 0.5057 GB, free: 47.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.3803, allocations: 2.25 kB / 0.5057 GB, free: 47.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.488e-05/0.3804, allocations: 77.67 kB / 0.5058 GB, free: 47.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3804, allocations: 1.531 kB / 0.5058 GB, free: 47.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00173/0.3821, allocations: 348.5 kB / 0.5061 GB, free: 47.66 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.01702/0.3991, allocations: 4.367 MB / 0.5104 GB, free: 45.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002427/0.3994, allocations: 115.5 kB / 0.5105 GB, free: 45.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3994, allocations: 1.188 kB / 0.5105 GB, free: 45.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.671e-05/0.3995, allocations: 54.03 kB / 0.5106 GB, free: 45.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.3999, allocations: 46.61 kB / 0.5106 GB, free: 45.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.4013, allocations: 414.1 kB / 0.511 GB, free: 44.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.973e-05/0.4014, allocations: 0.6917 MB / 0.5117 GB, free: 44.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.536e-05/0.4015, allocations: 15.05 kB / 0.5117 GB, free: 44.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.4015, allocations: 25.86 kB / 0.5117 GB, free: 44.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4015, allocations: 1.312 kB / 0.5117 GB, free: 44.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/0.437, allocations: 19.66 MB / 0.5309 GB, free: 33.27 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001285/0.4372, allocations: 199.2 kB / 0.5311 GB, free: 33.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/3.157, allocations: 0 / 0.5311 GB, free: 33.01 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