Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001443/0.001443, allocations: 111.1 kB / 20.44 MB, free: 1.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001524/0.001524, allocations: 213.3 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2371/0.2371, allocations: 46.96 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002581/0.002581, allocations: 75.88 kB / 0.4961 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3745, allocations: 66.08 MB / 0.5607 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01348/0.3879, allocations: 8.055 MB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01544/0.4034, allocations: 11.47 MB / 0.5798 GB, free: 456 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.4034, allocations: 0 / 0.5798 GB, free: 456 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.4037, allocations: 35.83 kB / 0.5798 GB, free: 420 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0064/0.4101, allocations: 2.143 MB / 0.5819 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.287e-06/0.4101, allocations: 0 / 0.5819 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.4102, allocations: 51.61 kB / 0.5819 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.976e-05/0.4102, allocations: 0 / 0.5819 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.4104, allocations: 35.84 kB / 0.582 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.084e-05/0.4104, allocations: 15.92 kB / 0.582 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.4104, allocations: 0 / 0.582 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009975/0.4204, allocations: 5.879 MB / 0.5877 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.4205, allocations: 11.97 kB / 0.5877 GB, free: 8.258 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.4205, allocations: 19.88 kB / 0.5877 GB, free: 8.238 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.434, allocations: 4.783 MB / 0.5924 GB, free: 3.449 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.865e-05/0.4341, allocations: 3.984 kB / 0.5924 GB, free: 3.445 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4341, allocations: 0 / 0.5924 GB, free: 3.445 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.4341, allocations: 0 / 0.5924 GB, free: 3.445 MB / 430.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.002915/0.437, allocations: 0.5618 MB / 0.593 GB, free: 2.852 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.437, allocations: 16.03 kB / 0.593 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.923e-05/0.4371, allocations: 38.55 kB / 0.593 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.4372, allocations: 8 kB / 0.593 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.4373, allocations: 105.2 kB / 0.5931 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.4373, allocations: 8 kB / 0.5931 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.4373, allocations: 4 kB / 0.5931 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.4376, allocations: 109.6 kB / 0.5932 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.036e-06/0.4377, allocations: 0 / 0.5932 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.4377, allocations: 8 kB / 0.5933 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4377, allocations: 0 / 0.5933 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.438, allocations: 135.8 kB / 0.5934 GB, free: 2.387 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.4386, allocations: 315.7 kB / 0.5937 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.4388, allocations: 70.52 kB / 0.5938 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.4389, allocations: 36.78 kB / 0.5938 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003002/0.442, allocations: 0.8584 MB / 0.5946 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.442, allocations: 42.55 kB / 0.5947 GB, free: 1.008 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.442, allocations: 0 / 0.5947 GB, free: 1.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006487/0.4426, allocations: 141.6 kB / 0.5948 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.4427, allocations: 51.41 kB / 0.5949 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.188e-05/0.4428, allocations: 105.8 kB / 0.595 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.4428, allocations: 25.7 kB / 0.595 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.4428, allocations: 92.03 kB / 0.5951 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.4429, allocations: 23.89 kB / 0.5951 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.4429, allocations: 29.66 kB / 0.5951 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4431, allocations: 330.7 kB / 0.5954 GB, free: 176 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.4432, allocations: 27.92 kB / 0.5955 GB, free: 148 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.4433, allocations: 37.7 kB / 0.5955 GB, free: 104 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.4435, allocations: 61.69 kB / 0.5956 GB, free: 36 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4435, allocations: 4 kB / 0.5956 GB, free: 32 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003104/0.4438, allocations: 109.6 kB / 0.5957 GB, free: 15.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.4438, allocations: 4 kB / 0.5957 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4438, allocations: 0 / 0.5957 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.4438, allocations: 0 / 0.5957 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.4439, allocations: 19.98 kB / 0.5957 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.4439, allocations: 0 / 0.5957 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.146e-05/0.444, allocations: 12.12 kB / 0.5957 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.444, allocations: 8 kB / 0.5957 GB, free: 15.88 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.374e-05/0.4441, allocations: 121.8 kB / 0.5958 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.4442, allocations: 7.984 kB / 0.5958 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/0.4446, allocations: 248.2 kB / 0.5961 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.4446, allocations: 3.984 kB / 0.5961 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4446, allocations: 7.938 kB / 0.5961 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4446, allocations: 0 / 0.5961 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.4449, allocations: 200.6 kB / 0.5963 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4449, allocations: 0 / 0.5963 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.075e-05/0.445, allocations: 19.98 kB / 0.5963 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.445, allocations: 4 kB / 0.5963 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.445, allocations: 7.938 kB / 0.5963 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.445, allocations: 0 / 0.5963 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.445, allocations: 3.938 kB / 0.5963 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.4454, allocations: 259.3 kB / 0.5965 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.4454, allocations: 15.88 kB / 0.5966 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.4454, allocations: 4 kB / 0.5966 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.4455, allocations: 4 kB / 0.5966 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.4455, allocations: 11.97 kB / 0.5966 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.4455, allocations: 8 kB / 0.5966 GB, free: 14.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.265e-05/0.4456, allocations: 79.28 kB / 0.5967 GB, free: 14.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4456, allocations: 0 / 0.5967 GB, free: 14.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001965/0.4475, allocations: 370.9 kB / 0.597 GB, free: 14.46 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: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.01284/0.4604, allocations: 4.252 MB / 0.6012 GB, free: 10.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003867/0.4608, allocations: 106.1 kB / 0.6013 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4608, allocations: 0 / 0.6013 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.4609, allocations: 59.97 kB / 0.6013 GB, free: 10.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.4612, allocations: 19.98 kB / 0.6013 GB, free: 9.992 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.463, allocations: 454.8 kB / 0.6018 GB, free: 9.504 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.224e-05/0.4631, allocations: 83.08 kB / 0.6019 GB, free: 9.402 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.4633, allocations: 59.58 kB / 0.6019 GB, free: 9.344 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.4633, allocations: 31.38 kB / 0.6019 GB, free: 9.312 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4633, allocations: 0 / 0.6019 GB, free: 9.312 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05122/0.5145, allocations: 18.69 MB / 0.6202 GB, free: 6.691 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.52, allocations: 0 / 0.6202 GB, free: 6.691 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv failed! Error: Could not read variable rho in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv. Warning: Get data of variable rho from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.925166643690318]