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.00161/0.00161, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002006/0.002006, allocations: 213.6 kB / 23.72 MB, free: 4.531 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.406/1.406, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2352/0.2352, allocations: 46.96 MB / 360.9 MB, free: 4.055 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.001948/0.001948, allocations: 67.89 kB / 0.4961 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3531, allocations: 66.04 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01225/0.3653, allocations: 8.059 MB / 0.5685 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01489/0.3802, allocations: 11.46 MB / 0.5796 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.3803, allocations: 4 kB / 0.5797 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.3805, allocations: 31.77 kB / 0.5797 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006854/0.3873, allocations: 2.132 MB / 0.5818 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.434e-06/0.3873, allocations: 4 kB / 0.5818 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.3874, allocations: 55.61 kB / 0.5818 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.563e-05/0.3875, allocations: 7.984 kB / 0.5818 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.3877, allocations: 27.86 kB / 0.5819 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.329e-05/0.3877, allocations: 23.86 kB / 0.5819 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.3877, allocations: 0 / 0.5819 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01071/0.3984, allocations: 6.008 MB / 0.5877 GB, free: 8.324 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.3985, allocations: 3.938 kB / 0.5877 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.392e-05/0.3985, allocations: 11.94 kB / 0.5878 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01379/0.4123, allocations: 4.803 MB / 0.5924 GB, free: 3.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4123, allocations: 0 / 0.5924 GB, free: 3.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4123, allocations: 0 / 0.5924 GB, free: 3.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.4123, allocations: 0 / 0.5924 GB, free: 3.5 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.002857/0.4152, allocations: 0.558 MB / 0.593 GB, free: 2.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.4152, allocations: 12.03 kB / 0.593 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.4153, allocations: 34.55 kB / 0.593 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.4154, allocations: 8 kB / 0.593 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.4155, allocations: 117.1 kB / 0.5932 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.4155, allocations: 8 kB / 0.5932 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.4155, allocations: 4 kB / 0.5932 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.4158, allocations: 113.6 kB / 0.5933 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4159, allocations: 0 / 0.5933 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.4159, allocations: 4 kB / 0.5933 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.4159, allocations: 4 kB / 0.5933 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.4162, allocations: 119.9 kB / 0.5934 GB, free: 2.453 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.0005964/0.4168, allocations: 331.7 kB / 0.5937 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.4171, allocations: 66.52 kB / 0.5938 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.4172, allocations: 40.78 kB / 0.5938 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003212/0.4204, allocations: 0.8623 MB / 0.5947 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.4204, allocations: 34.56 kB / 0.5947 GB, free: 1.062 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 2.555e-06/0.4204, allocations: 0 / 0.5947 GB, free: 1.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007305/0.4212, allocations: 145.5 kB / 0.5948 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.4212, allocations: 55.52 kB / 0.5949 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.4214, allocations: 105.7 kB / 0.595 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.4214, allocations: 29.7 kB / 0.595 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.484e-05/0.4215, allocations: 92.02 kB / 0.5951 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.4215, allocations: 23.8 kB / 0.5951 GB, free: 0.582 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.602e-05/0.4216, allocations: 25.7 kB / 0.5951 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.4218, allocations: 318.8 kB / 0.5955 GB, free: 236 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.4219, allocations: 23.98 kB / 0.5955 GB, free: 212 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.422, allocations: 45.69 kB / 0.5955 GB, free: 160 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.4222, allocations: 73.61 kB / 0.5956 GB, free: 80 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4222, allocations: 0 / 0.5956 GB, free: 80 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003493/0.4226, allocations: 98.19 kB / 0.5957 GB, free: 15.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.4226, allocations: 4 kB / 0.5957 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4226, allocations: 4.031 kB / 0.5957 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.4226, allocations: 3.938 kB / 0.5957 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.4228, allocations: 23.92 kB / 0.5957 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.4228, allocations: 80 / 0.5957 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.204e-05/0.4228, allocations: 7.953 kB / 0.5957 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.4228, allocations: 11.98 kB / 0.5957 GB, free: 15.92 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 0.0001275/0.423, allocations: 109.8 kB / 0.5958 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.423, allocations: 4 kB / 0.5958 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.4236, allocations: 261.3 kB / 0.5961 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.4236, allocations: 4 kB / 0.5961 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4236, allocations: 0 / 0.5961 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4236, allocations: 0 / 0.5961 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.4239, allocations: 208.5 kB / 0.5963 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4239, allocations: 0 / 0.5963 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.832e-05/0.4239, allocations: 23.98 kB / 0.5963 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4239, allocations: 0 / 0.5963 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.424, allocations: 3.984 kB / 0.5963 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.424, allocations: 4 kB / 0.5963 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.424, allocations: 0 / 0.5963 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.4244, allocations: 261.6 kB / 0.5966 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.4244, allocations: 11.89 kB / 0.5966 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.4244, allocations: 0 / 0.5966 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.4245, allocations: 8 kB / 0.5966 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.4245, allocations: 15.97 kB / 0.5966 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.4245, allocations: 4 kB / 0.5966 GB, free: 14.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.824e-05/0.4246, allocations: 79.28 kB / 0.5967 GB, free: 14.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4246, allocations: 0 / 0.5967 GB, free: 14.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002655/0.4272, allocations: 378.9 kB / 0.5971 GB, free: 14.5 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.4397, allocations: 4.256 MB / 0.6012 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003923/0.4401, allocations: 87.91 kB / 0.6013 GB, free: 10.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4401, allocations: 0 / 0.6013 GB, free: 10.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.4403, allocations: 67.84 kB / 0.6014 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.4406, allocations: 20.05 kB / 0.6014 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.4422, allocations: 458.8 kB / 0.6018 GB, free: 9.551 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.566e-05/0.4423, allocations: 79.08 kB / 0.6019 GB, free: 9.453 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.4424, allocations: 53.33 kB / 0.6019 GB, free: 9.402 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.427e-05/0.4425, allocations: 31.42 kB / 0.602 GB, free: 9.371 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4425, allocations: 0 / 0.602 GB, free: 9.371 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05331/0.4958, allocations: 18.78 MB / 0.6203 GB, free: 6.695 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.08, allocations: 11.92 kB / 0.6203 GB, free: 6.684 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.342987158015603]