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.001266/0.001266, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001919/0.001919, allocations: 209.5 kB / 23.73 MB, free: 4.387 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2331/0.2331, allocations: 46.95 MB / 360.9 MB, free: 4.035 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.00207/0.00207, allocations: 63.89 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.335, allocations: 66.04 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1782/0.5132, allocations: 131.8 MB / 0.6893 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004434/0.5177, allocations: 2.932 MB / 0.6922 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.5178, allocations: 8 kB / 0.6922 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.5182, allocations: 47.67 kB / 0.6922 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002887/0.5211, allocations: 1.091 MB / 0.6933 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.5216, allocations: 207 kB / 0.6935 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004673/0.5221, allocations: 366.6 kB / 0.6938 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.453e-05/0.5221, allocations: 13.3 kB / 0.6938 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.5224, allocations: 167 kB / 0.694 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.5226, allocations: 119.5 kB / 0.6941 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.5227, allocations: 12 kB / 0.6941 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002638/0.5253, allocations: 1.336 MB / 0.6954 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.5254, allocations: 87.7 kB / 0.6955 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.5256, allocations: 91.7 kB / 0.6956 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.5271, allocations: 0.978 MB / 0.6965 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5271, allocations: 0 / 0.6965 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5271, allocations: 0 / 0.6965 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.5271, allocations: 0 / 0.6965 GB, free: 8.469 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.001122/0.5282, allocations: 0.4893 MB / 0.697 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.5283, allocations: 8.031 kB / 0.697 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.254e-05/0.5284, allocations: 58.72 kB / 0.6971 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.5299, allocations: 208.6 kB / 0.6973 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.5304, allocations: 197.8 kB / 0.6975 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.5304, allocations: 12.38 kB / 0.6975 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.793e-05/0.5305, allocations: 24 kB / 0.6975 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009093/0.5314, allocations: 0.5798 MB / 0.6981 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.5314, allocations: 0 / 0.6981 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.272e-05/0.5314, allocations: 11.98 kB / 0.6981 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.978e-05/0.5315, allocations: 8 kB / 0.6981 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006533/0.5321, allocations: 416.4 kB / 0.6985 GB, free: 6.355 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.001895/0.534, allocations: 0.766 MB / 0.6992 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/0.5345, allocations: 225 kB / 0.6995 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.5347, allocations: 121.7 kB / 0.6996 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001584/0.5363, allocations: 305.8 kB / 0.6999 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/0.5364, allocations: 38.56 kB / 0.6999 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.335e-06/0.5364, allocations: 0 / 0.6999 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001358/0.5377, allocations: 391.7 kB / 0.7003 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/0.5378, allocations: 81.11 kB / 0.7004 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.5379, allocations: 117.8 kB / 0.7005 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.538, allocations: 33.64 kB / 0.7005 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.276e-05/0.5381, allocations: 112.5 kB / 0.7006 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.5382, allocations: 119 kB / 0.7007 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.5383, allocations: 62.02 kB / 0.7008 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.5385, allocations: 326.8 kB / 0.7011 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.5387, allocations: 108 kB / 0.7012 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.539, allocations: 190.8 kB / 0.7014 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005656/0.5396, allocations: 306.1 kB / 0.7017 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5396, allocations: 4 kB / 0.7017 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006853/0.5403, allocations: 359.6 kB / 0.702 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.5403, allocations: 8 kB / 0.702 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.5403, allocations: 0 / 0.702 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.5403, allocations: 11.94 kB / 0.702 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.5407, allocations: 72.2 kB / 0.7021 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.5407, allocations: 8 kB / 0.7021 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.541, allocations: 27.84 kB / 0.7021 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.541, allocations: 19.98 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.0001729/0.5412, allocations: 141.7 kB / 0.7023 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.5413, allocations: 15.91 kB / 0.7023 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007103/0.542, allocations: 334.4 kB / 0.7026 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.542, allocations: 4 kB / 0.7026 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.542, allocations: 3.938 kB / 0.7026 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.542, allocations: 0 / 0.7026 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.5426, allocations: 290.2 kB / 0.7029 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5426, allocations: 0 / 0.7029 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.543, allocations: 63.91 kB / 0.703 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.543, allocations: 4 kB / 0.703 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.543, allocations: 11.98 kB / 0.703 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.543, allocations: 0 / 0.703 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.543, allocations: 0 / 0.703 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008516/0.5439, allocations: 0.527 MB / 0.7035 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.5439, allocations: 15.89 kB / 0.7035 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.544, allocations: 8.047 kB / 0.7035 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.5443, allocations: 12 kB / 0.7035 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.5443, allocations: 23.95 kB / 0.7036 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.5444, allocations: 27.92 kB / 0.7036 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.655e-05/0.5444, allocations: 83.27 kB / 0.7037 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5444, allocations: 4 kB / 0.7037 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009128/0.5454, allocations: 251.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.002348/0.5477, allocations: 1.419 MB / 0.7053 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005875/0.5483, allocations: 259.7 kB / 0.7055 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.5483, allocations: 0 / 0.7055 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.5485, allocations: 127.8 kB / 0.7057 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006746/0.5492, allocations: 96.88 kB / 0.7058 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/0.5535, allocations: 2.731 MB / 0.7084 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.5537, allocations: 119.8 kB / 0.7085 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003521/0.554, allocations: 82 kB / 0.7086 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.5542, allocations: 59.42 kB / 0.7087 GB, free: 11.45 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.5542, allocations: 0 / 0.7087 GB, free: 11.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04737/0.6015, allocations: 11.85 MB / 0.7202 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.17, allocations: 4.062 kB / 0.7202 GB, free: 15.8 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: 15.221871765796095]