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.001742/0.001742, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001938/0.001938, allocations: 211.7 kB / 23.73 MB, free: 4.16 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2699/0.2699, allocations: 46.97 MB / 360.9 MB, free: 4.023 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.002/0.002, allocations: 75.89 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3153, allocations: 66.03 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1704/0.4857, allocations: 131.8 MB / 0.6893 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004313/0.49, allocations: 2.917 MB / 0.6921 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.4902, allocations: 4 kB / 0.6922 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.4906, allocations: 55.66 kB / 0.6922 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.4937, allocations: 1.097 MB / 0.6933 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006502/0.4944, allocations: 207.2 kB / 0.6935 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005785/0.4949, allocations: 374.6 kB / 0.6938 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.639e-05/0.495, allocations: 9.297 kB / 0.6938 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000374/0.4954, allocations: 163.4 kB / 0.694 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.4956, allocations: 119.5 kB / 0.6941 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.882e-05/0.4957, allocations: 12 kB / 0.6941 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003085/0.4988, allocations: 1.336 MB / 0.6954 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.4989, allocations: 87.7 kB / 0.6955 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.4991, allocations: 91.7 kB / 0.6956 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.5008, allocations: 0.9799 MB / 0.6966 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5008, allocations: 0 / 0.6966 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5008, allocations: 0 / 0.6966 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.5008, allocations: 4 kB / 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.000872/0.5017, allocations: 489.1 kB / 0.697 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.5017, allocations: 8.031 kB / 0.697 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.522e-05/0.5018, allocations: 54.73 kB / 0.6971 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.5032, allocations: 212.6 kB / 0.6973 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/0.5036, allocations: 201.7 kB / 0.6975 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.5036, allocations: 16.36 kB / 0.6975 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.869e-05/0.5037, allocations: 20 kB / 0.6975 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007698/0.5045, allocations: 0.5837 MB / 0.6981 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.5045, allocations: 0 / 0.6981 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/0.5045, allocations: 8 kB / 0.6981 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.5045, allocations: 12 kB / 0.6981 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006344/0.5052, allocations: 424.4 kB / 0.6985 GB, free: 6.34 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.001764/0.5069, allocations: 0.7543 MB / 0.6992 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.5074, allocations: 221 kB / 0.6995 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.5076, allocations: 125.7 kB / 0.6996 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/0.5092, allocations: 313.7 kB / 0.6999 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.5092, allocations: 38.55 kB / 0.6999 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.863e-06/0.5092, allocations: 0 / 0.6999 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.00127/0.5105, allocations: 383.6 kB / 0.7003 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.5105, allocations: 81.11 kB / 0.7004 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.5107, allocations: 113.8 kB / 0.7005 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.5107, allocations: 33.69 kB / 0.7005 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.5108, allocations: 112.6 kB / 0.7006 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.5109, allocations: 119 kB / 0.7007 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.511, allocations: 70 kB / 0.7008 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5112, allocations: 326.8 kB / 0.7011 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.5114, allocations: 104.1 kB / 0.7012 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.5117, allocations: 190.8 kB / 0.7014 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005196/0.5122, allocations: 310.1 kB / 0.7017 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.5122, allocations: 0 / 0.7017 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006753/0.5129, allocations: 359.7 kB / 0.702 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5129, allocations: 11.94 kB / 0.702 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.5129, allocations: 7.938 kB / 0.702 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.5129, allocations: 4 kB / 0.702 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/0.5133, allocations: 67.91 kB / 0.7021 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.5133, allocations: 11.98 kB / 0.7021 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.5135, allocations: 27.78 kB / 0.7021 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.5136, allocations: 12 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.0001601/0.5137, allocations: 153.9 kB / 0.7023 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/0.5138, allocations: 15.91 kB / 0.7023 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007223/0.5145, allocations: 338.4 kB / 0.7026 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.5146, allocations: 7.984 kB / 0.7026 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5146, allocations: 0 / 0.7026 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.5146, allocations: 4 kB / 0.7026 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005916/0.5152, allocations: 286.2 kB / 0.7029 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5152, allocations: 3.938 kB / 0.7029 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.5155, allocations: 51.97 kB / 0.703 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.5155, allocations: 4 kB / 0.703 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.5155, allocations: 8 kB / 0.703 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5155, allocations: 0 / 0.703 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.5155, allocations: 8 kB / 0.703 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008325/0.5164, allocations: 0.527 MB / 0.7035 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.5164, allocations: 15.89 kB / 0.7035 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.5164, allocations: 4.062 kB / 0.7035 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.5168, allocations: 15.98 kB / 0.7035 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.5168, allocations: 23.95 kB / 0.7036 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/0.5168, allocations: 15.94 kB / 0.7036 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.109e-05/0.5169, allocations: 91.27 kB / 0.7037 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5169, allocations: 3.938 kB / 0.7037 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008275/0.5177, allocations: 243.4 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.0024/0.5201, allocations: 1.41 MB / 0.7053 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006069/0.5207, allocations: 265.6 kB / 0.7055 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5207, allocations: 0 / 0.7055 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.521, allocations: 135.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.0006756/0.5217, allocations: 90.58 kB / 0.7057 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.5257, allocations: 2.736 MB / 0.7084 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.5258, allocations: 123.8 kB / 0.7085 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003478/0.5262, allocations: 74.02 kB / 0.7086 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.5264, allocations: 67.41 kB / 0.7087 GB, free: 11.45 MB / 0.545 GB Notification: Performance of SimCode: time 8.11e-07/0.5264, allocations: 0 / 0.7087 GB, free: 11.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04591/0.5723, allocations: 11.84 MB / 0.7202 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.01, allocations: 8.047 kB / 0.7202 GB, free: 15.81 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.972157879266888]