Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.001285/0.001285, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001419/0.001419, allocations: 214.6 kB / 23.74 MB, free: 4.656 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2524/0.2524, allocations: 46.93 MB / 360.9 MB, free: 4.262 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_phX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00295/0.00295, allocations: 71.89 kB / 0.4962 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3452, allocations: 66.03 MB / 0.5606 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01184/0.357, allocations: 8.487 MB / 0.5689 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01486/0.3719, allocations: 13.1 MB / 0.5817 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.3719, allocations: 0 / 0.5817 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.3722, allocations: 43.73 kB / 0.5818 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005749/0.3779, allocations: 2.155 MB / 0.5839 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.346e-06/0.3779, allocations: 0 / 0.5839 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.378, allocations: 55.66 kB / 0.5839 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.3781, allocations: 3.938 kB / 0.5839 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.3783, allocations: 35.86 kB / 0.584 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.788e-05/0.3783, allocations: 19.86 kB / 0.584 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.3783, allocations: 0 / 0.584 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01052/0.3888, allocations: 6.078 MB / 0.5899 GB, free: 6.375 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.3889, allocations: 4 kB / 0.5899 GB, free: 6.371 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.395e-05/0.3889, allocations: 23.86 kB / 0.5899 GB, free: 6.348 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01126/0.4002, allocations: 4.791 MB / 0.5946 GB, free: 1.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4002, allocations: 0 / 0.5946 GB, free: 1.551 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4002, allocations: 0 / 0.5946 GB, free: 1.551 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.4002, allocations: 7.938 kB / 0.5946 GB, free: 1.543 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.003041/0.4032, allocations: 0.5619 MB / 0.5952 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.4033, allocations: 12.03 kB / 0.5952 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.4033, allocations: 38.5 kB / 0.5952 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.4035, allocations: 7.984 kB / 0.5952 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.4036, allocations: 117.2 kB / 0.5953 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.4036, allocations: 4 kB / 0.5953 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.4036, allocations: 4 kB / 0.5953 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.404, allocations: 117.6 kB / 0.5955 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.404, allocations: 0 / 0.5955 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.404, allocations: 0 / 0.5955 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.404, allocations: 4 kB / 0.5955 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.4043, allocations: 131.8 kB / 0.5956 GB, free: 492 kB / 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.0006344/0.405, allocations: 371.1 kB / 0.5959 GB, free: 64 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.4053, allocations: 74.5 kB / 0.596 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.4054, allocations: 32.84 kB / 0.596 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003106/0.4085, allocations: 0.8623 MB / 0.5969 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.4085, allocations: 34.56 kB / 0.5969 GB, free: 15.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.4085, allocations: 4 kB / 0.5969 GB, free: 15.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006341/0.4092, allocations: 141.6 kB / 0.5971 GB, free: 14.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.4092, allocations: 51.52 kB / 0.5971 GB, free: 14.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.132e-05/0.4093, allocations: 101.8 kB / 0.5972 GB, free: 14.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.4093, allocations: 25.7 kB / 0.5972 GB, free: 14.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.4094, allocations: 99.98 kB / 0.5973 GB, free: 14.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.4094, allocations: 31.77 kB / 0.5974 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.4094, allocations: 21.72 kB / 0.5974 GB, free: 14.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4096, allocations: 318.8 kB / 0.5977 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.763e-05/0.4097, allocations: 27.98 kB / 0.5977 GB, free: 14.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.4098, allocations: 41.64 kB / 0.5977 GB, free: 14.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.41, allocations: 69.69 kB / 0.5978 GB, free: 14.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.41, allocations: 0 / 0.5978 GB, free: 14.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002814/0.4103, allocations: 98.06 kB / 0.5979 GB, free: 13.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4103, allocations: 8 kB / 0.5979 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.4103, allocations: 0 / 0.5979 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4103, allocations: 0 / 0.5979 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.4104, allocations: 28.02 kB / 0.5979 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4104, allocations: 0 / 0.5979 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.626e-05/0.4105, allocations: 7.938 kB / 0.5979 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.4105, allocations: 4.078 kB / 0.598 GB, free: 13.91 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.769e-05/0.4106, allocations: 117.8 kB / 0.5981 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.4106, allocations: 3.938 kB / 0.5981 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.4111, allocations: 257.4 kB / 0.5983 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.4111, allocations: 4 kB / 0.5983 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.4111, allocations: 3.984 kB / 0.5983 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4111, allocations: 0 / 0.5983 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.4114, allocations: 208.5 kB / 0.5985 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.4114, allocations: 0 / 0.5985 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-05/0.4115, allocations: 27.98 kB / 0.5985 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4115, allocations: 4 kB / 0.5985 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.4115, allocations: 0 / 0.5985 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.4115, allocations: 3.984 kB / 0.5986 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4115, allocations: 3.938 kB / 0.5986 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.4119, allocations: 261.5 kB / 0.5988 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.4119, allocations: 7.891 kB / 0.5988 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.4119, allocations: 11.98 kB / 0.5988 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.412, allocations: 4 kB / 0.5988 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.412, allocations: 7.984 kB / 0.5988 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.412, allocations: 7.984 kB / 0.5988 GB, free: 12.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.25e-05/0.4121, allocations: 83.28 kB / 0.5989 GB, free: 12.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4121, allocations: 3.938 kB / 0.5989 GB, free: 12.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001965/0.414, allocations: 374.9 kB / 0.5993 GB, free: 12.47 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.01248/0.4265, allocations: 4.24 MB / 0.6034 GB, free: 8.199 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003761/0.4269, allocations: 99.88 kB / 0.6035 GB, free: 8.102 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4269, allocations: 0 / 0.6035 GB, free: 8.102 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.427, allocations: 67.86 kB / 0.6036 GB, free: 8.035 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.4274, allocations: 22.48 kB / 0.6036 GB, free: 8.016 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.4292, allocations: 462.8 kB / 0.604 GB, free: 7.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.4295, allocations: 0.6924 MB / 0.6047 GB, free: 6.801 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.4297, allocations: 53.67 kB / 0.6048 GB, free: 6.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.4297, allocations: 27.42 kB / 0.6048 GB, free: 6.723 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4297, allocations: 0 / 0.6048 GB, free: 6.723 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05302/0.4827, allocations: 18.31 MB / 0.6227 GB, free: 4.492 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.34, allocations: 11.88 kB / 0.6227 GB, free: 4.48 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv failed! Error: Could not read variable rho in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv. Warning: Get data of variable rho from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.659439858995029]