Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001393/0.001393, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00138/0.00138, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2244/0.2244, allocations: 44.93 MB / 359.6 MB, free: 6.184 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 63.91 kB / 0.4938 GB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3697, allocations: 65.47 MB / 0.5577 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1802/0.5498, allocations: 131.7 MB / 0.6863 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004091/0.5539, allocations: 2.819 MB / 0.6891 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.5541, allocations: 4 kB / 0.6891 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.5545, allocations: 51.67 kB / 0.6891 GB, free: 464 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003251/0.5577, allocations: 1.056 MB / 0.6902 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006083/0.5583, allocations: 199.3 kB / 0.6904 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005422/0.5589, allocations: 370.5 kB / 0.6907 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.837e-05/0.5589, allocations: 13.3 kB / 0.6907 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/0.5592, allocations: 163.4 kB / 0.6909 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.5594, allocations: 111.6 kB / 0.691 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.5595, allocations: 16 kB / 0.691 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002905/0.5624, allocations: 1.324 MB / 0.6923 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.5625, allocations: 79.7 kB / 0.6924 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.5627, allocations: 95.7 kB / 0.6925 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.5645, allocations: 0.9624 MB / 0.6934 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.5646, allocations: 0 / 0.6934 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5646, allocations: 0 / 0.6934 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.5646, allocations: 0 / 0.6934 GB, free: 12.08 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009949/0.5656, allocations: 489.1 kB / 0.6939 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5656, allocations: 12.03 kB / 0.6939 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.239e-05/0.5656, allocations: 4.562 kB / 0.6939 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.617e-05/0.5657, allocations: 54.73 kB / 0.6939 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.5672, allocations: 208.6 kB / 0.6941 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.5676, allocations: 197.6 kB / 0.6943 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.5676, allocations: 12.38 kB / 0.6943 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/0.5677, allocations: 20 kB / 0.6944 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008475/0.5685, allocations: 0.5657 MB / 0.6949 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5685, allocations: 0 / 0.6949 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.5686, allocations: 8 kB / 0.6949 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.5686, allocations: 8 kB / 0.6949 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006211/0.5692, allocations: 403.8 kB / 0.6953 GB, free: 10 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.001719/0.5709, allocations: 0.7453 MB / 0.696 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/0.5713, allocations: 217 kB / 0.6962 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.5715, allocations: 114 kB / 0.6964 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/0.5731, allocations: 317.5 kB / 0.6967 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.5731, allocations: 42.5 kB / 0.6967 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 1.984e-06/0.5731, allocations: 0 / 0.6967 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.001254/0.5744, allocations: 364.7 kB / 0.697 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.5744, allocations: 85.09 kB / 0.6971 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.5746, allocations: 109.8 kB / 0.6972 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.5746, allocations: 33.7 kB / 0.6973 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.5747, allocations: 120.5 kB / 0.6974 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.5748, allocations: 115 kB / 0.6975 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.5749, allocations: 62.02 kB / 0.6975 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.5751, allocations: 330.8 kB / 0.6979 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.5753, allocations: 92.61 kB / 0.698 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.5755, allocations: 179.5 kB / 0.6981 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004983/0.576, allocations: 305.8 kB / 0.6984 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.576, allocations: 4 kB / 0.6984 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006715/0.5767, allocations: 348.4 kB / 0.6987 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5767, allocations: 8 kB / 0.6988 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5767, allocations: 0 / 0.6988 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.5768, allocations: 4 kB / 0.6988 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.5771, allocations: 71.91 kB / 0.6988 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.5771, allocations: 7.938 kB / 0.6988 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.5773, allocations: 23.88 kB / 0.6989 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/0.5774, allocations: 20 kB / 0.6989 GB, free: 6.133 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 (39): * Single equations (assignments): 39 * 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.0001741/0.5775, allocations: 153.8 kB / 0.699 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.5776, allocations: 15.91 kB / 0.699 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007024/0.5783, allocations: 318.1 kB / 0.6993 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.5784, allocations: 4 kB / 0.6993 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5784, allocations: 0 / 0.6993 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.5784, allocations: 0 / 0.6993 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.5789, allocations: 290 kB / 0.6996 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.5789, allocations: 0 / 0.6996 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/0.5793, allocations: 55.91 kB / 0.6997 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.5793, allocations: 0 / 0.6997 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.5793, allocations: 8 kB / 0.6997 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.5793, allocations: 4 kB / 0.6997 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5793, allocations: 4.312 kB / 0.6997 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008142/0.5801, allocations: 0.5062 MB / 0.7002 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.5802, allocations: 19.95 kB / 0.7002 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.5802, allocations: 11.92 kB / 0.7002 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.5805, allocations: 12 kB / 0.7002 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.5806, allocations: 27.88 kB / 0.7003 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.5806, allocations: 15.98 kB / 0.7003 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.19e-05/0.5807, allocations: 91.27 kB / 0.7004 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5807, allocations: 0 / 0.7004 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009942/0.5817, allocations: 243.4 kB / 0.7006 GB, free: 4.305 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 (29): * Single equations (assignments): 29 * 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 Backend phase and start with SimCode phase: time 0.00223/0.5839, allocations: 1.368 MB / 0.7019 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005499/0.5845, allocations: 244.1 kB / 0.7022 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5845, allocations: 0 / 0.7022 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.5847, allocations: 123.8 kB / 0.7023 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.5853, allocations: 92.39 kB / 0.7024 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.589, allocations: 2.689 MB / 0.705 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.5892, allocations: 127.7 kB / 0.7051 GB, free: 15.47 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003144/0.5895, allocations: 70.03 kB / 0.7052 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.5896, allocations: 55.41 kB / 0.7052 GB, free: 15.35 MB / 0.545 GB Notification: Performance of SimCode: time 6.72e-07/0.5896, allocations: 0 / 0.7052 GB, free: 15.35 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0373/0.6269, allocations: 11.24 MB / 0.7162 GB, free: 4.328 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.22, allocations: 8 kB / 0.7162 GB, free: 4.32 MB / 0.545 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 15.506862822920084]