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.001775/0.001775, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002169/0.002169, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.465/1.465, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.222/0.222, allocations: 46.92 MB / 357.1 MB, free: 10.29 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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 75.88 kB / 0.4909 GB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1177, allocations: 65.99 MB / 0.5554 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01173/0.1294, allocations: 8.453 MB / 0.5636 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.1419, allocations: 11.22 MB / 0.5746 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.142, allocations: 0 / 0.5746 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.1422, allocations: 39.8 kB / 0.5746 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004892/0.1471, allocations: 1.855 MB / 0.5764 GB, free: 184 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.442e-06/0.1471, allocations: 0 / 0.5764 GB, free: 184 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.1472, allocations: 51.61 kB / 0.5765 GB, free: 132 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.1472, allocations: 4 kB / 0.5765 GB, free: 128 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.1474, allocations: 31.84 kB / 0.5765 GB, free: 96 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.852e-05/0.1474, allocations: 11.94 kB / 0.5765 GB, free: 84 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.1474, allocations: 4 kB / 0.5765 GB, free: 80 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009977/0.1574, allocations: 6.717 MB / 0.5831 GB, free: 9.348 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.1574, allocations: 11.94 kB / 0.5831 GB, free: 9.336 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.1575, allocations: 19.88 kB / 0.5831 GB, free: 9.316 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.1692, allocations: 5.096 MB / 0.5881 GB, free: 4.215 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1692, allocations: 0 / 0.5881 GB, free: 4.215 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1692, allocations: 0 / 0.5881 GB, free: 4.215 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.1692, allocations: 4 kB / 0.5881 GB, free: 4.211 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.003358/0.1726, allocations: 0.5789 MB / 0.5887 GB, free: 3.582 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.1726, allocations: 12.03 kB / 0.5887 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.84e-05/0.1727, allocations: 34.56 kB / 0.5887 GB, free: 3.527 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.1728, allocations: 11.98 kB / 0.5887 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.173, allocations: 167 kB / 0.5889 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.173, allocations: 0 / 0.5889 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.173, allocations: 8 kB / 0.5889 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1732, allocations: 85.55 kB / 0.589 GB, free: 3.215 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1732, allocations: 0 / 0.589 GB, free: 3.215 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.1732, allocations: 0 / 0.589 GB, free: 3.215 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1732, allocations: 0 / 0.589 GB, free: 3.215 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.1733, allocations: 79.95 kB / 0.589 GB, free: 3.137 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.1738, allocations: 324.7 kB / 0.5893 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.603e-05/0.1739, allocations: 34.67 kB / 0.5894 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.004e-05/0.174, allocations: 28.84 kB / 0.5894 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003787/0.1778, allocations: 1.846 MB / 0.5912 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.1778, allocations: 34.56 kB / 0.5912 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.904e-06/0.1778, allocations: 0 / 0.5912 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003461/0.1781, allocations: 113.5 kB / 0.5913 GB, free: 440 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.1782, allocations: 55.41 kB / 0.5914 GB, free: 372 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/0.1783, allocations: 97.86 kB / 0.5915 GB, free: 264 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1783, allocations: 25.7 kB / 0.5915 GB, free: 232 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.1784, allocations: 92.03 kB / 0.5916 GB, free: 136 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.1784, allocations: 31.73 kB / 0.5916 GB, free: 104 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.1784, allocations: 25.7 kB / 0.5917 GB, free: 72 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.2255/0.4039, allocations: 314.6 kB / 0.592 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.781e-05/0.404, allocations: 17.25 kB / 0.592 GB, free: 33.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.343e-05/0.4041, allocations: 39.12 kB / 0.592 GB, free: 33.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.188e-05/0.4042, allocations: 64.44 kB / 0.5921 GB, free: 33.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4042, allocations: 0.8438 kB / 0.5921 GB, free: 33.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001954/0.4044, allocations: 91.5 kB / 0.5922 GB, free: 33.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4044, allocations: 5.094 kB / 0.5922 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4044, allocations: 1.719 kB / 0.5922 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.4044, allocations: 2.25 kB / 0.5922 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.4045, allocations: 10.2 kB / 0.5922 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.4045, allocations: 9.656 kB / 0.5922 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.488e-05/0.4045, allocations: 4.641 kB / 0.5922 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.4045, allocations: 3.031 kB / 0.5922 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 6.189e-05/0.4046, allocations: 112.4 kB / 0.5923 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.4047, allocations: 9.25 kB / 0.5923 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.4049, allocations: 150.6 kB / 0.5925 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000124/0.405, allocations: 119.7 kB / 0.5926 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.405, allocations: 3.938 kB / 0.5926 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.405, allocations: 3.156 kB / 0.5926 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.4055, allocations: 442.3 kB / 0.593 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4055, allocations: 2.172 kB / 0.593 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.4055, allocations: 20.7 kB / 0.593 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4055, allocations: 1.312 kB / 0.593 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.4055, allocations: 0 / 0.593 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4055, allocations: 1.078 kB / 0.593 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4055, allocations: 0 / 0.593 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.4057, allocations: 233.9 kB / 0.5932 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.4057, allocations: 82.89 kB / 0.5933 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.4058, allocations: 5.125 kB / 0.5933 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.254e-05/0.4058, allocations: 0 / 0.5933 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.4058, allocations: 6.516 kB / 0.5933 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.4058, allocations: 3.078 kB / 0.5933 GB, free: 32.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.541e-05/0.4059, allocations: 81.84 kB / 0.5934 GB, free: 32.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4059, allocations: 0 / 0.5934 GB, free: 32.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002186/0.4081, allocations: 360.8 kB / 0.5938 GB, free: 32.33 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.01353/0.4216, allocations: 4.746 MB / 0.5984 GB, free: 29.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003223/0.4219, allocations: 107.5 kB / 0.5985 GB, free: 29.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4219, allocations: 0.7812 kB / 0.5985 GB, free: 29.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.222e-05/0.422, allocations: 48.61 kB / 0.5985 GB, free: 29.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.4225, allocations: 39.2 kB / 0.5986 GB, free: 29.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.4243, allocations: 414.5 kB / 0.599 GB, free: 29.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.4244, allocations: 0.6934 MB / 0.5997 GB, free: 28.83 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.269e-05/0.4244, allocations: 17.86 kB / 0.5997 GB, free: 28.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/0.4245, allocations: 30.31 kB / 0.5997 GB, free: 28.81 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4245, allocations: 0 / 0.5997 GB, free: 28.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0575/0.482, allocations: 20.07 MB / 0.6193 GB, free: 22.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.384/9.866, allocations: 4.062 kB / 0.6193 GB, free: 22.47 MB / 446.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] 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: 13.513544881949201]