Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001113/0.001113, allocations: 76.53 kB / 19.92 MB, free: 4.637 MB / 18.57 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.0008624/0.0008624, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9425/0.9425, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1424/0.1424, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 406.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.372e-05/3.577e-05, allocations: 6.078 kB / 406.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3725/0.3725, allocations: 130.1 MB / 0.5243 GB, free: 24.4 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00245/0.375, allocations: 2.728 MB / 0.527 GB, free: 22.64 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.102e-05/0.3751, allocations: 1.156 kB / 0.527 GB, free: 22.64 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.3754, allocations: 61.12 kB / 0.527 GB, free: 22.61 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.3775, allocations: 1.057 MB / 0.5281 GB, free: 22.1 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.3779, allocations: 197.4 kB / 0.5283 GB, free: 22 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003845/0.3783, allocations: 360.2 kB / 0.5286 GB, free: 21.85 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.3783, allocations: 10.77 kB / 0.5286 GB, free: 21.84 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003107/0.3786, allocations: 199.8 kB / 0.5288 GB, free: 21.77 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.3788, allocations: 105.2 kB / 0.5289 GB, free: 21.74 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.3788, allocations: 11.84 kB / 0.5289 GB, free: 21.74 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.3812, allocations: 1.295 MB / 0.5302 GB, free: 21.3 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.3813, allocations: 79.12 kB / 0.5303 GB, free: 21.27 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.3814, allocations: 84.17 kB / 0.5303 GB, free: 21.25 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.3829, allocations: 1.043 MB / 0.5314 GB, free: 20.96 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3829, allocations: 4 kB / 0.5314 GB, free: 20.96 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3829, allocations: 0 / 0.5314 GB, free: 20.96 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.3829, allocations: 3.938 kB / 0.5314 GB, free: 20.95 MB / 442.7 MB 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.0009483/0.3839, allocations: 479.9 kB / 0.5318 GB, free: 20.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.3839, allocations: 9.062 kB / 0.5318 GB, free: 20.58 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.733e-05/0.384, allocations: 54.86 kB / 0.5319 GB, free: 20.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008315/0.3848, allocations: 213.6 kB / 0.5321 GB, free: 20.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.3851, allocations: 184.5 kB / 0.5323 GB, free: 20.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.3851, allocations: 16.12 kB / 0.5323 GB, free: 20.33 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.3852, allocations: 19.8 kB / 0.5323 GB, free: 20.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005036/0.3857, allocations: 0.5783 MB / 0.5329 GB, free: 19.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3857, allocations: 2.438 kB / 0.5329 GB, free: 19.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.3857, allocations: 7.156 kB / 0.5329 GB, free: 19.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3857, allocations: 4.438 kB / 0.5329 GB, free: 19.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.3861, allocations: 413.2 kB / 0.5333 GB, free: 19.82 MB / 442.7 MB 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.001125/0.3872, allocations: 0.7433 MB / 0.534 GB, free: 19.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.3876, allocations: 223.3 kB / 0.5342 GB, free: 19.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.3877, allocations: 114.6 kB / 0.5343 GB, free: 19.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/0.3887, allocations: 295.5 kB / 0.5346 GB, free: 19.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.3888, allocations: 48.92 kB / 0.5346 GB, free: 19.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 3.246e-06/0.3888, allocations: 0 / 0.5346 GB, free: 19.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008314/0.3896, allocations: 366.6 kB / 0.535 GB, free: 18.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.3896, allocations: 81.23 kB / 0.5351 GB, free: 18.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.817e-05/0.3897, allocations: 114.8 kB / 0.5352 GB, free: 18.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.3897, allocations: 32.45 kB / 0.5352 GB, free: 18.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.3897, allocations: 117 kB / 0.5353 GB, free: 18.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.3898, allocations: 111.7 kB / 0.5354 GB, free: 18.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.803e-05/0.3899, allocations: 64.36 kB / 0.5355 GB, free: 18.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.407e-05/0.3899, allocations: 323.4 kB / 0.5358 GB, free: 18.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.3901, allocations: 103.7 kB / 0.5359 GB, free: 18.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.3902, allocations: 186.7 kB / 0.5361 GB, free: 17.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.3905, allocations: 311.2 kB / 0.5364 GB, free: 17.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3905, allocations: 0 / 0.5364 GB, free: 17.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003736/0.3908, allocations: 335.7 kB / 0.5367 GB, free: 17.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3909, allocations: 11.12 kB / 0.5367 GB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3909, allocations: 2.562 kB / 0.5367 GB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3909, allocations: 9.469 kB / 0.5367 GB, free: 17.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.3911, allocations: 70.33 kB / 0.5368 GB, free: 17.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.3911, allocations: 7.812 kB / 0.5368 GB, free: 17.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3912, allocations: 27.59 kB / 0.5368 GB, free: 17.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.3912, allocations: 19.52 kB / 0.5368 GB, free: 17.6 MB / 442.7 MB 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 8.964e-05/0.3913, allocations: 138.2 kB / 0.537 GB, free: 17.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.614e-05/0.3914, allocations: 18.8 kB / 0.537 GB, free: 17.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004237/0.3918, allocations: 321.9 kB / 0.5373 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.3918, allocations: 5.656 kB / 0.5373 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.3918, allocations: 9.594 kB / 0.5373 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3918, allocations: 4 kB / 0.5373 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.3922, allocations: 286.8 kB / 0.5376 GB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3922, allocations: 3.938 kB / 0.5376 GB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.3923, allocations: 47.95 kB / 0.5376 GB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3923, allocations: 6.906 kB / 0.5376 GB, free: 17.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.3924, allocations: 13.34 kB / 0.5376 GB, free: 17.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.3924, allocations: 4.031 kB / 0.5377 GB, free: 17.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3924, allocations: 0 / 0.5377 GB, free: 17.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.3929, allocations: 0.5046 MB / 0.5381 GB, free: 16.76 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.709e-05/0.3929, allocations: 25.53 kB / 0.5382 GB, free: 16.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.3929, allocations: 13.47 kB / 0.5382 GB, free: 16.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.393, allocations: 10.97 kB / 0.5382 GB, free: 16.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.3931, allocations: 18.72 kB / 0.5382 GB, free: 16.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.3931, allocations: 18.47 kB / 0.5382 GB, free: 16.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.848e-05/0.3931, allocations: 90.27 kB / 0.5383 GB, free: 16.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3931, allocations: 0 / 0.5383 GB, free: 16.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008804/0.394, allocations: 220.3 kB / 0.5385 GB, free: 16.6 MB / 442.7 MB 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.001296/0.3953, allocations: 1.399 MB / 0.5399 GB, free: 15.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003419/0.3957, allocations: 240.4 kB / 0.5401 GB, free: 15.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3957, allocations: 0 / 0.5401 GB, free: 15.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.3958, allocations: 127.4 kB / 0.5402 GB, free: 15.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.3962, allocations: 79.88 kB / 0.5403 GB, free: 15.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.3983, allocations: 2.536 MB / 0.5428 GB, free: 13.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.717e-05/0.3984, allocations: 124.1 kB / 0.5429 GB, free: 13.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002094/0.3986, allocations: 79.94 kB / 0.543 GB, free: 13.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.783e-05/0.3987, allocations: 61.09 kB / 0.543 GB, free: 13.41 MB / 442.7 MB Notification: Performance of SimCode: time 6.92e-07/0.3987, allocations: 0 / 0.543 GB, free: 13.41 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.033/0.4317, allocations: 11.58 MB / 0.5544 GB, free: 8.867 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.157/7.588, allocations: 0 / 0.5544 GB, free: 8.867 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable medium2.p in file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.869123701937497]