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.001769/0.001769, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002133/0.002133, allocations: 211.5 kB / 23.78 MB, free: 4.523 MB / 14.72 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 1.537/1.537, allocations: 207.7 MB / 234.6 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] 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.2398/0.2398, allocations: 44.26 MB / 331.1 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002305/0.002305, allocations: 79.88 kB / 468.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1242, allocations: 61.04 MB / 0.5169 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4108/0.535, allocations: 129.9 MB / 0.6438 GB, free: 0.543 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003715/0.5387, allocations: 2.728 MB / 0.6465 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.5388, allocations: 0 / 0.6465 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.5392, allocations: 55.67 kB / 0.6465 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002554/0.5417, allocations: 1.047 MB / 0.6475 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.5422, allocations: 196.4 kB / 0.6477 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005148/0.5427, allocations: 362.7 kB / 0.6481 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.845e-05/0.5428, allocations: 9.297 kB / 0.6481 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.5431, allocations: 155.5 kB / 0.6482 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.5434, allocations: 111.6 kB / 0.6483 GB, free: 11.9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.5434, allocations: 16 kB / 0.6484 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002771/0.5462, allocations: 1.297 MB / 0.6496 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.5463, allocations: 75.78 kB / 0.6497 GB, free: 10.51 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.5465, allocations: 95.64 kB / 0.6498 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.5484, allocations: 0.9489 MB / 0.6507 GB, free: 9.469 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5485, allocations: 0 / 0.6507 GB, free: 9.469 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5485, allocations: 0 / 0.6507 GB, free: 9.469 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.5485, allocations: 2.344 kB / 0.6507 GB, free: 9.469 MB / 494.1 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.0009884/0.5495, allocations: 489.2 kB / 0.6512 GB, free: 8.961 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.5495, allocations: 8.031 kB / 0.6512 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.366e-05/0.5495, allocations: 4.562 kB / 0.6512 GB, free: 8.949 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.155e-05/0.5496, allocations: 54.73 kB / 0.6512 GB, free: 8.887 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.5511, allocations: 196.6 kB / 0.6514 GB, free: 8.695 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.5514, allocations: 194.4 kB / 0.6516 GB, free: 8.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.5515, allocations: 20.31 kB / 0.6516 GB, free: 8.461 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.069e-05/0.5515, allocations: 20 kB / 0.6517 GB, free: 8.441 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007985/0.5523, allocations: 0.5733 MB / 0.6522 GB, free: 7.805 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.5524, allocations: 7.922 kB / 0.6522 GB, free: 7.797 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.5524, allocations: 12 kB / 0.6522 GB, free: 7.785 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.5524, allocations: 4 kB / 0.6522 GB, free: 7.781 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006475/0.5531, allocations: 415.7 kB / 0.6526 GB, free: 7.375 MB / 494.1 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.00173/0.5548, allocations: 0.7415 MB / 0.6534 GB, free: 6.586 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/0.5552, allocations: 213 kB / 0.6536 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.5554, allocations: 117.7 kB / 0.6537 GB, free: 6.238 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/0.5569, allocations: 310 kB / 0.654 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.5569, allocations: 34.56 kB / 0.654 GB, free: 5.891 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.703e-06/0.5569, allocations: 0 / 0.654 GB, free: 5.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.001196/0.5581, allocations: 365.7 kB / 0.6544 GB, free: 5.527 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.5581, allocations: 81.11 kB / 0.6544 GB, free: 5.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.5583, allocations: 117.7 kB / 0.6545 GB, free: 5.305 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.5583, allocations: 33.7 kB / 0.6546 GB, free: 5.266 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/0.5584, allocations: 112.5 kB / 0.6547 GB, free: 5.152 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.5585, allocations: 122.9 kB / 0.6548 GB, free: 5.031 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.5586, allocations: 58.03 kB / 0.6549 GB, free: 4.969 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5587, allocations: 326.8 kB / 0.6552 GB, free: 4.641 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.5589, allocations: 100.6 kB / 0.6553 GB, free: 4.543 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.5592, allocations: 179.5 kB / 0.6554 GB, free: 4.332 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004934/0.5597, allocations: 307.4 kB / 0.6557 GB, free: 3.996 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.5597, allocations: 3.938 kB / 0.6557 GB, free: 3.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006365/0.5603, allocations: 346.7 kB / 0.6561 GB, free: 3.648 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.5603, allocations: 4 kB / 0.6561 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.5604, allocations: 4 kB / 0.6561 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.5604, allocations: 4 kB / 0.6561 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.5607, allocations: 71.89 kB / 0.6561 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.5607, allocations: 8.312 kB / 0.6562 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.5609, allocations: 35.72 kB / 0.6562 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.561, allocations: 12 kB / 0.6562 GB, free: 3.512 MB / 494.1 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 0.0001597/0.5611, allocations: 145.7 kB / 0.6563 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.991e-05/0.5612, allocations: 11.95 kB / 0.6563 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007027/0.5619, allocations: 328.9 kB / 0.6567 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.562, allocations: 4 kB / 0.6567 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.562, allocations: 0 / 0.6567 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.562, allocations: 3.984 kB / 0.6567 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/0.5626, allocations: 275 kB / 0.6569 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5626, allocations: 0 / 0.6569 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.5629, allocations: 59.91 kB / 0.657 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5629, allocations: 4 kB / 0.657 GB, free: 2.645 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.5629, allocations: 11.98 kB / 0.657 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.5629, allocations: 3 kB / 0.657 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5629, allocations: 4 kB / 0.657 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000809/0.5637, allocations: 0.5155 MB / 0.6575 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.5638, allocations: 19.91 kB / 0.6575 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.5638, allocations: 8 kB / 0.6575 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.5641, allocations: 19.92 kB / 0.6576 GB, free: 2.051 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.5642, allocations: 23.91 kB / 0.6576 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.5642, allocations: 15.98 kB / 0.6576 GB, free: 2.012 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.545e-05/0.5643, allocations: 95.2 kB / 0.6577 GB, free: 1.918 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5643, allocations: 0 / 0.6577 GB, free: 1.918 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007804/0.565, allocations: 219.5 kB / 0.6579 GB, free: 1.703 MB / 494.1 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.002097/0.5671, allocations: 1.363 MB / 0.6592 GB, free: 316 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005352/0.5677, allocations: 247.7 kB / 0.6595 GB, free: 68 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5677, allocations: 0 / 0.6595 GB, free: 68 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.5679, allocations: 120 kB / 0.6596 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006473/0.5686, allocations: 86.55 kB / 0.6597 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/0.5721, allocations: 2.69 MB / 0.6623 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.5722, allocations: 115.8 kB / 0.6624 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003/0.5725, allocations: 75.22 kB / 0.6625 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.5727, allocations: 59.42 kB / 0.6625 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.5727, allocations: 0 / 0.6625 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03517/0.6078, allocations: 11.2 MB / 0.6735 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.25, allocations: 4 kB / 0.6735 GB, free: 1.57 MB / 0.4981 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.56082906597294]