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.001279/0.001279, 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.001353/0.001353, allocations: 211.4 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.447/1.447, 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.2319/0.2319, allocations: 46.95 MB / 360.9 MB, free: 4.07 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.002145/0.002145, allocations: 71.88 kB / 0.4961 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3579, allocations: 66.03 MB / 0.5606 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1788/0.5367, allocations: 131.8 MB / 0.6893 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004281/0.541, allocations: 2.924 MB / 0.6922 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.069e-05/0.541, allocations: 0 / 0.6922 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003786/0.5414, allocations: 51.67 kB / 0.6922 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002764/0.5442, allocations: 1.093 MB / 0.6933 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.5447, allocations: 206.8 kB / 0.6935 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004726/0.5452, allocations: 378.6 kB / 0.6938 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/0.5452, allocations: 9.297 kB / 0.6938 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.5455, allocations: 163.4 kB / 0.694 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.5457, allocations: 123.5 kB / 0.6941 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.5457, allocations: 16 kB / 0.6941 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.5483, allocations: 1.356 MB / 0.6954 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.5484, allocations: 79.77 kB / 0.6955 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.5486, allocations: 95.7 kB / 0.6956 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.55, allocations: 0.9759 MB / 0.6966 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.55, allocations: 4 kB / 0.6966 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.55, allocations: 4 kB / 0.6966 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.55, allocations: 0 / 0.6966 GB, free: 8.488 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.0009421/0.551, allocations: 497.1 kB / 0.6971 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.551, allocations: 12.03 kB / 0.6971 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.648e-05/0.5511, allocations: 50.73 kB / 0.6971 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.5526, allocations: 212.5 kB / 0.6973 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.553, allocations: 197.8 kB / 0.6975 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.553, allocations: 16.38 kB / 0.6975 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.116e-05/0.5531, allocations: 16 kB / 0.6975 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007567/0.5538, allocations: 0.5798 MB / 0.6981 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.5538, allocations: 0 / 0.6981 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.5539, allocations: 12 kB / 0.6981 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.5539, allocations: 15.92 kB / 0.6981 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006055/0.5545, allocations: 420.4 kB / 0.6985 GB, free: 6.371 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.00177/0.5563, allocations: 0.7582 MB / 0.6993 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.5567, allocations: 221.1 kB / 0.6995 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.5569, allocations: 117.7 kB / 0.6996 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/0.5585, allocations: 317.7 kB / 0.6999 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.5585, allocations: 38.56 kB / 0.6999 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/0.5585, allocations: 0 / 0.6999 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001243/0.5598, allocations: 376.5 kB / 0.7003 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.5598, allocations: 89.09 kB / 0.7004 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.997e-05/0.5599, allocations: 113.8 kB / 0.7005 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.56, allocations: 33.7 kB / 0.7005 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.56, allocations: 108.6 kB / 0.7006 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.5601, allocations: 119 kB / 0.7007 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.5602, allocations: 65.95 kB / 0.7008 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5604, allocations: 334.8 kB / 0.7011 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.5606, allocations: 108 kB / 0.7012 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.5609, allocations: 186.9 kB / 0.7014 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/0.5614, allocations: 317.8 kB / 0.7017 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5614, allocations: 0 / 0.7017 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006605/0.562, allocations: 351.5 kB / 0.702 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.562, allocations: 8.312 kB / 0.702 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.562, allocations: 8 kB / 0.702 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.5621, allocations: 4 kB / 0.7021 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.5624, allocations: 79.89 kB / 0.7021 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.5624, allocations: 4 kB / 0.7021 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.5626, allocations: 27.78 kB / 0.7022 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.5627, allocations: 19.98 kB / 0.7022 GB, free: 2.418 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.0001525/0.5628, allocations: 149.6 kB / 0.7023 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.563, allocations: 19.91 kB / 0.7023 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00073/0.5637, allocations: 326.4 kB / 0.7027 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.5637, allocations: 4 kB / 0.7027 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.5637, allocations: 4 kB / 0.7027 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5637, allocations: 4 kB / 0.7027 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005885/0.5643, allocations: 290.2 kB / 0.7029 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5643, allocations: 0 / 0.7029 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.5647, allocations: 55.91 kB / 0.703 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.5647, allocations: 0 / 0.703 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.5647, allocations: 11.98 kB / 0.703 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.5647, allocations: 7.984 kB / 0.703 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5647, allocations: 0 / 0.703 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007998/0.5655, allocations: 0.5192 MB / 0.7035 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.5655, allocations: 15.89 kB / 0.7035 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.5656, allocations: 20.05 kB / 0.7036 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.5659, allocations: 11.98 kB / 0.7036 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.5659, allocations: 23.89 kB / 0.7036 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/0.566, allocations: 23.92 kB / 0.7036 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.8e-05/0.566, allocations: 91.22 kB / 0.7037 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.566, allocations: 0 / 0.7037 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008769/0.5669, allocations: 243.3 kB / 0.7039 GB, free: 0.5469 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.002232/0.5691, allocations: 1.402 MB / 0.7053 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005617/0.5697, allocations: 262.6 kB / 0.7055 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5697, allocations: 128 / 0.7055 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.5699, allocations: 135.9 kB / 0.7057 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006636/0.5706, allocations: 88.27 kB / 0.7058 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003704/0.5743, allocations: 2.737 MB / 0.7084 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.5744, allocations: 127.8 kB / 0.7086 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003239/0.5748, allocations: 81.94 kB / 0.7086 GB, free: 11.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.5749, allocations: 59.42 kB / 0.7087 GB, free: 11.47 MB / 0.545 GB Notification: Performance of SimCode: time 6.81e-07/0.5749, allocations: 0 / 0.7087 GB, free: 11.47 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04391/0.6188, allocations: 11.94 MB / 0.7204 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.43, allocations: 7.625 kB / 0.7204 GB, free: 15.73 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.426358387019718]