Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.001861/0.001861, 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.002298/0.002298, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2285/0.2285, allocations: 46.96 MB / 360.9 MB, free: 4.039 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.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 75.89 kB / 0.4961 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3324, allocations: 66.04 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1604/0.4928, allocations: 131.8 MB / 0.6893 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003878/0.4967, allocations: 2.917 MB / 0.6921 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.897e-05/0.4968, allocations: 0 / 0.6921 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.4971, allocations: 59.61 kB / 0.6922 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002653/0.4998, allocations: 1.097 MB / 0.6933 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.5003, allocations: 195 kB / 0.6935 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004905/0.5008, allocations: 378.6 kB / 0.6938 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.693e-05/0.5008, allocations: 9.297 kB / 0.6938 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.5011, allocations: 163.4 kB / 0.694 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.5013, allocations: 127.5 kB / 0.6941 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.5014, allocations: 12 kB / 0.6941 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002672/0.504, allocations: 1.356 MB / 0.6954 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.5042, allocations: 83.77 kB / 0.6955 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.5043, allocations: 95.64 kB / 0.6956 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.5057, allocations: 0.9799 MB / 0.6966 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5057, allocations: 4 kB / 0.6966 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5057, allocations: 3.938 kB / 0.6966 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.5057, allocations: 0 / 0.6966 GB, free: 8.457 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0009012/0.5066, allocations: 493.1 kB / 0.697 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.5066, allocations: 12.03 kB / 0.6971 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.593e-05/0.5067, allocations: 50.73 kB / 0.6971 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.5081, allocations: 212.6 kB / 0.6973 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.5085, allocations: 197.8 kB / 0.6975 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.5085, allocations: 12.38 kB / 0.6975 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.5085, allocations: 20 kB / 0.6975 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007197/0.5092, allocations: 0.5798 MB / 0.6981 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5093, allocations: 3.938 kB / 0.6981 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/0.5093, allocations: 8 kB / 0.6981 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.5093, allocations: 12 kB / 0.6981 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006065/0.5099, allocations: 420.4 kB / 0.6985 GB, free: 6.348 MB / 0.5294 GB 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.001729/0.5117, allocations: 0.7543 MB / 0.6993 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.5121, allocations: 221 kB / 0.6995 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.5122, allocations: 129.7 kB / 0.6996 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001457/0.5137, allocations: 309.7 kB / 0.6999 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.5137, allocations: 42.55 kB / 0.6999 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.314e-06/0.5137, allocations: 0 / 0.6999 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001237/0.515, allocations: 380.3 kB / 0.7003 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.515, allocations: 81.11 kB / 0.7004 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.5152, allocations: 117.7 kB / 0.7005 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.5152, allocations: 37.7 kB / 0.7005 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.93e-05/0.5153, allocations: 108.6 kB / 0.7006 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.5154, allocations: 123 kB / 0.7007 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.5155, allocations: 66.02 kB / 0.7008 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5156, allocations: 326.8 kB / 0.7011 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.5158, allocations: 104.1 kB / 0.7012 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.5161, allocations: 186.9 kB / 0.7014 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004908/0.5166, allocations: 316.6 kB / 0.7017 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5166, allocations: 0 / 0.7017 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006348/0.5172, allocations: 357.2 kB / 0.702 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.5172, allocations: 8 kB / 0.702 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.5173, allocations: 4 kB / 0.702 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.5173, allocations: 4 kB / 0.702 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.5176, allocations: 75.91 kB / 0.7021 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.5176, allocations: 7.984 kB / 0.7021 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.5178, allocations: 31.72 kB / 0.7022 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.5179, allocations: 15.94 kB / 0.7022 GB, free: 2.395 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 1 * 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.0001466/0.518, allocations: 153.9 kB / 0.7023 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.847e-05/0.5181, allocations: 19.91 kB / 0.7023 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006583/0.5188, allocations: 330.4 kB / 0.7027 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.5188, allocations: 7.984 kB / 0.7027 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.5188, allocations: 4 kB / 0.7027 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5188, allocations: 3.938 kB / 0.7027 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005703/0.5194, allocations: 286.2 kB / 0.7029 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5194, allocations: 0 / 0.7029 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.5197, allocations: 59.91 kB / 0.703 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.5197, allocations: 0 / 0.703 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.5197, allocations: 8 kB / 0.703 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.5197, allocations: 4 kB / 0.703 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5197, allocations: 4 kB / 0.703 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007759/0.5205, allocations: 0.5253 MB / 0.7035 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.5205, allocations: 15.89 kB / 0.7035 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.5206, allocations: 8.062 kB / 0.7036 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.5209, allocations: 11.98 kB / 0.7036 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.5209, allocations: 27.89 kB / 0.7036 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/0.5209, allocations: 15.94 kB / 0.7036 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.612e-05/0.521, allocations: 91.27 kB / 0.7037 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.521, allocations: 0 / 0.7037 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007828/0.5218, allocations: 247.3 kB / 0.7039 GB, free: 0.5234 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 29 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.001935/0.5237, allocations: 1.405 MB / 0.7053 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005222/0.5242, allocations: 263.6 kB / 0.7056 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5242, allocations: 0 / 0.7056 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.5245, allocations: 131.9 kB / 0.7057 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006396/0.5251, allocations: 88.89 kB / 0.7058 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.5286, allocations: 2.739 MB / 0.7084 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.5287, allocations: 123.8 kB / 0.7086 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003082/0.529, allocations: 81.89 kB / 0.7086 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.5291, allocations: 67.41 kB / 0.7087 GB, free: 11.44 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.5291, allocations: 0 / 0.7087 GB, free: 11.44 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04467/0.5738, allocations: 11.94 MB / 0.7204 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.66, allocations: 4.062 kB / 0.7204 GB, free: 15.7 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable medium2.p in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.707956301019294]