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.001337/0.001337, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001461/0.001461, allocations: 216.8 kB / 24.52 MB, free: 3.91 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.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.3604/0.3604, allocations: 46.96 MB / 361.7 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.91 kB / 0.4969 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3384, allocations: 66.03 MB / 0.5613 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1776/0.5161, allocations: 131.7 MB / 0.69 GB, free: 32 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004507/0.5206, allocations: 2.917 MB / 0.6928 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.5208, allocations: 0 / 0.6928 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004467/0.5212, allocations: 55.61 kB / 0.6929 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003352/0.5246, allocations: 1.093 MB / 0.6939 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.5251, allocations: 211.1 kB / 0.6941 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005827/0.5257, allocations: 370.7 kB / 0.6945 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.777e-05/0.5258, allocations: 13.23 kB / 0.6945 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.5261, allocations: 167.5 kB / 0.6947 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.5264, allocations: 119.6 kB / 0.6948 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.5264, allocations: 12 kB / 0.6948 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003377/0.5298, allocations: 1.352 MB / 0.6961 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.53, allocations: 83.77 kB / 0.6962 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.5303, allocations: 91.7 kB / 0.6963 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002308/0.5326, allocations: 0.9838 MB / 0.6972 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5326, allocations: 0 / 0.6972 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5326, allocations: 4 kB / 0.6972 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.799e-06/0.5326, allocations: 3.938 kB / 0.6972 GB, free: 8.566 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001082/0.5337, allocations: 493.1 kB / 0.6977 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.5337, allocations: 12.03 kB / 0.6977 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.674e-05/0.5337, allocations: 12.48 kB / 0.6977 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.75e-05/0.5338, allocations: 62.73 kB / 0.6978 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.5354, allocations: 208.6 kB / 0.698 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.5358, allocations: 193.6 kB / 0.6982 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.5358, allocations: 16.31 kB / 0.6982 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.546e-05/0.5359, allocations: 23.98 kB / 0.6982 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008022/0.5367, allocations: 0.5759 MB / 0.6988 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.5367, allocations: 4 kB / 0.6988 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/0.5368, allocations: 12 kB / 0.6988 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.362e-05/0.5368, allocations: 8 kB / 0.6988 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006305/0.5374, allocations: 428.4 kB / 0.6992 GB, free: 6.43 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.001829/0.5392, allocations: 0.7504 MB / 0.6999 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.5397, allocations: 229 kB / 0.7002 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.5399, allocations: 117.7 kB / 0.7003 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001565/0.5414, allocations: 313.7 kB / 0.7006 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.5415, allocations: 34.56 kB / 0.7006 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.354e-06/0.5415, allocations: 0 / 0.7006 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001297/0.5428, allocations: 383.7 kB / 0.701 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.5428, allocations: 85.11 kB / 0.7011 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.5429, allocations: 117.8 kB / 0.7012 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.543, allocations: 33.7 kB / 0.7012 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.264e-05/0.5431, allocations: 112.6 kB / 0.7013 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.5432, allocations: 126.9 kB / 0.7014 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.5433, allocations: 62.03 kB / 0.7015 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.5435, allocations: 330.8 kB / 0.7018 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.5437, allocations: 108 kB / 0.7019 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.544, allocations: 186.9 kB / 0.7021 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/0.5445, allocations: 310.1 kB / 0.7024 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5445, allocations: 3.938 kB / 0.7024 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006898/0.5452, allocations: 359.8 kB / 0.7027 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.5452, allocations: 4 kB / 0.7027 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.5452, allocations: 4 kB / 0.7027 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.5453, allocations: 7.984 kB / 0.7027 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.5456, allocations: 71.91 kB / 0.7028 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.5456, allocations: 4 kB / 0.7028 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.5458, allocations: 27.78 kB / 0.7028 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/0.5459, allocations: 24.3 kB / 0.7029 GB, free: 2.477 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.0001725/0.5461, allocations: 157.6 kB / 0.703 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.5462, allocations: 15.91 kB / 0.703 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007478/0.5469, allocations: 334.3 kB / 0.7033 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.5469, allocations: 4 kB / 0.7034 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5469, allocations: 0 / 0.7034 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.5469, allocations: 3.984 kB / 0.7034 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005982/0.5475, allocations: 282.2 kB / 0.7036 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.5475, allocations: 0 / 0.7036 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.5479, allocations: 51.97 kB / 0.7037 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5479, allocations: 3.938 kB / 0.7037 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-05/0.5479, allocations: 19.98 kB / 0.7037 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/0.5479, allocations: 4 kB / 0.7037 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5479, allocations: 0 / 0.7037 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008416/0.5488, allocations: 0.527 MB / 0.7042 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/0.5488, allocations: 15.88 kB / 0.7042 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.5489, allocations: 8.062 kB / 0.7042 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.5492, allocations: 15.98 kB / 0.7043 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.5492, allocations: 19.91 kB / 0.7043 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.5493, allocations: 19.98 kB / 0.7043 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.891e-05/0.5493, allocations: 95.25 kB / 0.7044 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5493, allocations: 7.938 kB / 0.7044 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009499/0.5503, allocations: 235.4 kB / 0.7046 GB, free: 0.6055 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.002327/0.5526, allocations: 1.413 MB / 0.706 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006001/0.5532, allocations: 265.8 kB / 0.7062 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.5532, allocations: 4 kB / 0.7063 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.5535, allocations: 127.9 kB / 0.7064 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/0.5542, allocations: 88.95 kB / 0.7065 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/0.558, allocations: 2.72 MB / 0.7091 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.5582, allocations: 123.8 kB / 0.7092 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003283/0.5585, allocations: 77.77 kB / 0.7093 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.5586, allocations: 63.42 kB / 0.7094 GB, free: 11.54 MB / 0.545 GB Notification: Performance of SimCode: time 6.92e-07/0.5586, allocations: 0 / 0.7094 GB, free: 11.54 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03825/0.5969, allocations: 11.62 MB / 0.7207 GB, free: 152 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.34, allocations: 8 kB / 0.7207 GB, free: 144 kB / 0.545 GB " [Timeout remaining time 647] (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: 15.649882239988074]