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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 112.7 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.536/1.536, allocations: 207.6 MB / 230.5 MB, free: 4.039 MB / 174.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.36/0.36, allocations: 44.23 MB / 326.5 MB, free: 6.855 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 71.89 kB / 462.2 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3179, allocations: 60.98 MB / 0.5109 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5012/0.819, allocations: 151.6 MB / 0.659 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003327/0.8224, allocations: 3.046 MB / 0.6619 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.8225, allocations: 4.562 kB / 0.662 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003661/0.8228, allocations: 58.34 kB / 0.662 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.8255, allocations: 1.026 MB / 0.663 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005028/0.826, allocations: 190.1 kB / 0.6632 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000476/0.8265, allocations: 355.4 kB / 0.6635 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.8265, allocations: 6.031 kB / 0.6635 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.8268, allocations: 151.4 kB / 0.6637 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.827, allocations: 121.5 kB / 0.6638 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.827, allocations: 12.47 kB / 0.6638 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002857/0.8298, allocations: 1.522 MB / 0.6653 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.8299, allocations: 82.05 kB / 0.6654 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.8301, allocations: 100.8 kB / 0.6655 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.8315, allocations: 0.9797 MB / 0.6664 GB, free: 444 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8315, allocations: 0.5 kB / 0.6664 GB, free: 444 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.275e-06/0.8315, allocations: 7.688 kB / 0.6664 GB, free: 440 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.8315, allocations: 0 / 0.6664 GB, free: 440 kB / 0.4981 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.001017/0.8326, allocations: 0.5482 MB / 0.667 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.8326, allocations: 14.45 kB / 0.667 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.907e-05/0.8327, allocations: 51.59 kB / 0.667 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.8342, allocations: 202.1 kB / 0.6672 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.8347, allocations: 249.1 kB / 0.6675 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.8347, allocations: 15.47 kB / 0.6675 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.852e-05/0.8348, allocations: 20 kB / 0.6675 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.8354, allocations: 384.5 kB / 0.6679 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.8355, allocations: 0 / 0.6679 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.8355, allocations: 10.47 kB / 0.6679 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.8355, allocations: 8.75 kB / 0.6679 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005928/0.8361, allocations: 409.6 kB / 0.6683 GB, free: 15.67 MB / 0.5137 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.001622/0.8377, allocations: 0.8087 MB / 0.6691 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.8381, allocations: 222.2 kB / 0.6693 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.8383, allocations: 112.5 kB / 0.6694 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001914/0.8402, allocations: 0.9017 MB / 0.6703 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.8402, allocations: 40.81 kB / 0.6703 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=29): time 1.744e-06/0.8402, allocations: 1.281 kB / 0.6703 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29): time 0.00133/0.8416, allocations: 369.6 kB / 0.6707 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/0.8417, allocations: 80.64 kB / 0.6707 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.8418, allocations: 110.4 kB / 0.6708 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.8418, allocations: 30.95 kB / 0.6709 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.842, allocations: 119 kB / 0.671 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.8421, allocations: 112.3 kB / 0.6711 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.8422, allocations: 60.11 kB / 0.6711 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.8424, allocations: 327.5 kB / 0.6715 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.8426, allocations: 97.03 kB / 0.6715 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.8428, allocations: 191.2 kB / 0.6717 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005246/0.8434, allocations: 303.8 kB / 0.672 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.8434, allocations: 0.7812 kB / 0.672 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006031/0.844, allocations: 342.4 kB / 0.6723 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.844, allocations: 6.312 kB / 0.6724 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.844, allocations: 3.484 kB / 0.6724 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/0.844, allocations: 7.672 kB / 0.6724 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.8444, allocations: 72.95 kB / 0.6724 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.8444, allocations: 5.062 kB / 0.6724 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.8446, allocations: 31.31 kB / 0.6725 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.8447, allocations: 22.22 kB / 0.6725 GB, free: 13.36 MB / 0.5137 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.0001692/0.8448, allocations: 146.6 kB / 0.6726 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.625e-05/0.8449, allocations: 14.08 kB / 0.6726 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006463/0.8456, allocations: 322.5 kB / 0.6729 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.8456, allocations: 4.375 kB / 0.673 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.8456, allocations: 0 / 0.673 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.8456, allocations: 4.094 kB / 0.673 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.8462, allocations: 328.7 kB / 0.6733 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.8462, allocations: 2.312 kB / 0.6733 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/0.8465, allocations: 59.98 kB / 0.6733 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.8465, allocations: 6.125 kB / 0.6733 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.8466, allocations: 12.52 kB / 0.6733 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.8466, allocations: 0 / 0.6733 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.8466, allocations: 2.531 kB / 0.6733 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007475/0.8473, allocations: 0.5041 MB / 0.6738 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.026e-05/0.8474, allocations: 100.7 kB / 0.6739 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.8474, allocations: 13.38 kB / 0.674 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.8477, allocations: 13.12 kB / 0.674 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.8478, allocations: 16.52 kB / 0.674 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.8478, allocations: 19.45 kB / 0.674 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.548e-05/0.8479, allocations: 91.61 kB / 0.6741 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.8479, allocations: 0 / 0.6741 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001013/0.8489, allocations: 228.1 kB / 0.6743 GB, free: 12.52 MB / 0.5137 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.002465/0.8513, allocations: 1.369 MB / 0.6756 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005779/0.8519, allocations: 242.8 kB / 0.6759 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.8519, allocations: 3.438 kB / 0.6759 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.8521, allocations: 125.8 kB / 0.676 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006465/0.8528, allocations: 86.31 kB / 0.6761 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/0.8565, allocations: 2.68 MB / 0.6787 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.857, allocations: 0.7325 MB / 0.6794 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003459/0.8573, allocations: 72.73 kB / 0.6795 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.8574, allocations: 61.95 kB / 0.6795 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of SimCode: time 1.312e-06/0.8575, allocations: 0 / 0.6795 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03718/0.8946, allocations: 10.55 MB / 0.6898 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.35/9.244, allocations: 11.92 kB / 0.6899 GB, free: 7.512 MB / 0.5137 GB " [Timeout remaining time 651] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.301292488817126]