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.001785/0.001785, 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.002114/0.002114, allocations: 216.9 kB / 23.73 MB, free: 4.156 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.471/1.471, 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.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.2552/0.2552, allocations: 44.94 MB / 358.9 MB, free: 6.023 MB / 286.1 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",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.002018/0.002018, allocations: 71.89 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3422, allocations: 65.47 MB / 0.557 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1952/0.5374, allocations: 131.8 MB / 0.6857 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005766/0.5432, allocations: 2.831 MB / 0.6884 GB, free: 380 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.5434, allocations: 0 / 0.6884 GB, free: 380 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004889/0.5439, allocations: 51.67 kB / 0.6885 GB, free: 328 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00419/0.5481, allocations: 1.064 MB / 0.6895 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008027/0.5489, allocations: 187.2 kB / 0.6897 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007282/0.5496, allocations: 362.6 kB / 0.69 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.02e-05/0.5497, allocations: 9.297 kB / 0.69 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005049/0.5502, allocations: 163.4 kB / 0.6902 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.5506, allocations: 119.6 kB / 0.6903 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.027e-05/0.5506, allocations: 12 kB / 0.6903 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004206/0.5548, allocations: 1.305 MB / 0.6916 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.555, allocations: 79.83 kB / 0.6917 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.5552, allocations: 91.7 kB / 0.6918 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002751/0.5579, allocations: 0.9585 MB / 0.6927 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5579, allocations: 0 / 0.6927 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5579, allocations: 4 kB / 0.6927 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.558, allocations: 0 / 0.6927 GB, free: 11.98 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.001429/0.5594, allocations: 493.1 kB / 0.6932 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.5594, allocations: 12.03 kB / 0.6932 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.179e-05/0.5595, allocations: 58.67 kB / 0.6932 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/0.5616, allocations: 208.6 kB / 0.6934 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.5621, allocations: 193.8 kB / 0.6936 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.5621, allocations: 16.38 kB / 0.6936 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.549e-05/0.5622, allocations: 16 kB / 0.6937 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.5634, allocations: 0.5658 MB / 0.6942 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.5634, allocations: 0 / 0.6942 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.584e-05/0.5634, allocations: 15.94 kB / 0.6942 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.5635, allocations: 4 kB / 0.6942 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009834/0.5644, allocations: 399.7 kB / 0.6946 GB, free: 9.906 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.002306/0.5667, allocations: 0.7453 MB / 0.6953 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.5673, allocations: 217 kB / 0.6955 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.5676, allocations: 117.9 kB / 0.6957 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001996/0.5696, allocations: 301.6 kB / 0.6959 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.5696, allocations: 42.56 kB / 0.696 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 2.896e-06/0.5696, allocations: 0 / 0.696 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.001712/0.5713, allocations: 364.1 kB / 0.6963 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.5714, allocations: 85.09 kB / 0.6964 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.5716, allocations: 117.8 kB / 0.6965 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.5716, allocations: 33.7 kB / 0.6966 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/0.5717, allocations: 112.5 kB / 0.6967 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.5718, allocations: 115 kB / 0.6968 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.572, allocations: 62.02 kB / 0.6968 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.5722, allocations: 330.8 kB / 0.6971 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/0.5725, allocations: 96.61 kB / 0.6972 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.5729, allocations: 187.5 kB / 0.6974 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007159/0.5736, allocations: 304.6 kB / 0.6977 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.5736, allocations: 0 / 0.6977 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009745/0.5745, allocations: 341.2 kB / 0.698 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.5746, allocations: 8.312 kB / 0.698 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.5746, allocations: 4 kB / 0.698 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/0.5746, allocations: 8 kB / 0.6981 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.5751, allocations: 67.84 kB / 0.6981 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.5751, allocations: 4 kB / 0.6981 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.5754, allocations: 31.83 kB / 0.6982 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.5755, allocations: 16 kB / 0.6982 GB, free: 6.047 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.0002139/0.5757, allocations: 153.6 kB / 0.6983 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.5759, allocations: 11.95 kB / 0.6983 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000924/0.5768, allocations: 322.1 kB / 0.6986 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.5768, allocations: 8 kB / 0.6986 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.5768, allocations: 0 / 0.6986 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5768, allocations: 8 kB / 0.6986 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008201/0.5776, allocations: 282 kB / 0.6989 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.5776, allocations: 0 / 0.6989 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004677/0.5781, allocations: 55.97 kB / 0.699 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.5781, allocations: 3.984 kB / 0.699 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.046e-05/0.5782, allocations: 8 kB / 0.699 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-05/0.5782, allocations: 7.938 kB / 0.699 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5782, allocations: 0 / 0.699 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.5795, allocations: 0.5023 MB / 0.6995 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.5795, allocations: 23.84 kB / 0.6995 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.448e-05/0.5796, allocations: 8.047 kB / 0.6995 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.58, allocations: 12 kB / 0.6995 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.5801, allocations: 23.95 kB / 0.6995 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.493e-05/0.5802, allocations: 15.92 kB / 0.6996 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.701e-05/0.5802, allocations: 87.28 kB / 0.6996 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5802, allocations: 0 / 0.6996 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00126/0.5815, allocations: 235.4 kB / 0.6999 GB, free: 4.23 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.003154/0.5847, allocations: 1.376 MB / 0.7012 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007552/0.5854, allocations: 242.6 kB / 0.7014 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/0.5854, allocations: 0 / 0.7014 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.5858, allocations: 128.1 kB / 0.7016 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008259/0.5866, allocations: 96.56 kB / 0.7017 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.5905, allocations: 2.69 MB / 0.7043 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.5907, allocations: 119.8 kB / 0.7044 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003118/0.591, allocations: 66.03 kB / 0.7045 GB, free: 15.33 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.5911, allocations: 67.41 kB / 0.7045 GB, free: 15.26 MB / 0.545 GB Notification: Performance of SimCode: time 1.032e-06/0.5911, allocations: 0 / 0.7045 GB, free: 15.26 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04429/0.6354, allocations: 11.49 MB / 0.7157 GB, free: 3.977 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.01, allocations: 7.562 kB / 0.7158 GB, free: 3.973 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.159568641800433]