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.001423/0.001423, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001308/0.001308, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.516/1.516, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2311/0.2311, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.002838/0.002838, allocations: 63.89 kB / 0.4909 GB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1389, allocations: 65.99 MB / 0.5554 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5317/0.6706, allocations: 153.2 MB / 0.705 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004132/0.6747, allocations: 3.258 MB / 0.7082 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.55e-05/0.6748, allocations: 7.938 kB / 0.7082 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.6752, allocations: 63.64 kB / 0.7083 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.6778, allocations: 1.066 MB / 0.7093 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005243/0.6783, allocations: 191.5 kB / 0.7095 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004737/0.6788, allocations: 370.6 kB / 0.7098 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.252e-05/0.6788, allocations: 9.656 kB / 0.7098 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.6791, allocations: 171.2 kB / 0.71 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.6793, allocations: 123.5 kB / 0.7101 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.6793, allocations: 12 kB / 0.7101 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.6821, allocations: 1.586 MB / 0.7117 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.6822, allocations: 95.69 kB / 0.7118 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.6824, allocations: 99.64 kB / 0.7119 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.6839, allocations: 1.021 MB / 0.7129 GB, free: 324 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6839, allocations: 3.984 kB / 0.7129 GB, free: 320 kB / 0.5137 GB Notification: Performance of FrontEnd: time 9.52e-07/0.6839, allocations: 0 / 0.7129 GB, free: 320 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.6839, allocations: 0 / 0.7129 GB, free: 320 kB / 0.5137 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.001025/0.685, allocations: 0.5568 MB / 0.7134 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.685, allocations: 12.03 kB / 0.7134 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.257e-05/0.6851, allocations: 54.73 kB / 0.7135 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.6866, allocations: 208.6 kB / 0.7137 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.6869, allocations: 260 kB / 0.7139 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.6869, allocations: 16.31 kB / 0.7139 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.91e-05/0.687, allocations: 20 kB / 0.714 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006556/0.6877, allocations: 388.1 kB / 0.7143 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.6877, allocations: 4 kB / 0.7143 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.17e-05/0.6877, allocations: 8 kB / 0.7143 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.6877, allocations: 11.98 kB / 0.7143 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.6884, allocations: 424.4 kB / 0.7148 GB, free: 14.27 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.001768/0.6902, allocations: 0.8176 MB / 0.7156 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/0.6906, allocations: 221.1 kB / 0.7158 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.6908, allocations: 125.6 kB / 0.7159 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001942/0.6927, allocations: 0.9763 MB / 0.7168 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.6928, allocations: 38.56 kB / 0.7169 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/0.6928, allocations: 0 / 0.7169 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001264/0.694, allocations: 380.1 kB / 0.7172 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.6941, allocations: 81.11 kB / 0.7173 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.6942, allocations: 121.7 kB / 0.7174 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.6943, allocations: 33.7 kB / 0.7175 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.566e-05/0.6944, allocations: 108.6 kB / 0.7176 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.6945, allocations: 119 kB / 0.7177 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.6946, allocations: 66.03 kB / 0.7177 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.6947, allocations: 326.8 kB / 0.7181 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.6949, allocations: 104 kB / 0.7182 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.6952, allocations: 194.8 kB / 0.7183 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/0.6957, allocations: 322.2 kB / 0.7186 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6957, allocations: 4 kB / 0.7186 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006677/0.6964, allocations: 351.3 kB / 0.719 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.6964, allocations: 11.98 kB / 0.719 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.6964, allocations: 4 kB / 0.719 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.6965, allocations: 4.312 kB / 0.719 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.6968, allocations: 75.84 kB / 0.7191 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.6968, allocations: 6.422 kB / 0.7191 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.697, allocations: 35.77 kB / 0.7191 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.6971, allocations: 12 kB / 0.7191 GB, free: 9.41 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.0001606/0.6972, allocations: 147.9 kB / 0.7193 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.6973, allocations: 19.91 kB / 0.7193 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007112/0.698, allocations: 326.2 kB / 0.7196 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.6981, allocations: 4 kB / 0.7196 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.6981, allocations: 0.875 kB / 0.7196 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.6981, allocations: 11.98 kB / 0.7196 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006228/0.6987, allocations: 339.1 kB / 0.7199 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6987, allocations: 0 / 0.7199 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.699, allocations: 55.91 kB / 0.72 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.699, allocations: 4 kB / 0.72 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.6991, allocations: 11.31 kB / 0.72 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6991, allocations: 3.938 kB / 0.72 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6991, allocations: 4 kB / 0.72 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008655/0.6999, allocations: 0.5396 MB / 0.7205 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.7, allocations: 89 kB / 0.7206 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.7, allocations: 8.062 kB / 0.7206 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.7004, allocations: 15.97 kB / 0.7206 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.7004, allocations: 23.97 kB / 0.7207 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.7005, allocations: 19.98 kB / 0.7207 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.21e-05/0.7005, allocations: 80.06 kB / 0.7208 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.7005, allocations: 4 kB / 0.7208 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008526/0.7014, allocations: 255.2 kB / 0.721 GB, free: 7.379 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.002173/0.7035, allocations: 1.398 MB / 0.7224 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005662/0.7041, allocations: 251.8 kB / 0.7226 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7041, allocations: 0.625 kB / 0.7226 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.7043, allocations: 127.8 kB / 0.7227 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000668/0.705, allocations: 95.17 kB / 0.7228 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.7087, allocations: 2.727 MB / 0.7255 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.709, allocations: 0.7324 MB / 0.7262 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002928/0.7093, allocations: 78 kB / 0.7263 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.7095, allocations: 59.42 kB / 0.7263 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.7095, allocations: 0 / 0.7263 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04361/0.7531, allocations: 10.96 MB / 0.737 GB, free: 6.891 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.632/9.385, allocations: 6.406 kB / 0.737 GB, free: 6.887 MB / 0.545 GB " [Timeout remaining time 651] (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: 13.107061760034412]