Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001416/0.001416, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001765/0.001765, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2257/0.2257, allocations: 44.92 MB / 358.8 MB, free: 6.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002011/0.002011, allocations: 59.91 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.351, allocations: 65.48 MB / 0.557 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1911/0.5421, allocations: 153.3 MB / 0.7067 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004155/0.5463, allocations: 3.162 MB / 0.7098 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.5464, allocations: 4 kB / 0.7098 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.5468, allocations: 59.64 kB / 0.7098 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.5494, allocations: 1.076 MB / 0.7109 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005421/0.55, allocations: 202.9 kB / 0.7111 GB, free: 9.531 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005017/0.5505, allocations: 354.7 kB / 0.7114 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.425e-05/0.5505, allocations: 9.297 kB / 0.7114 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003559/0.5509, allocations: 167.4 kB / 0.7116 GB, free: 9.012 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.5511, allocations: 119.5 kB / 0.7117 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.236e-05/0.5512, allocations: 12 kB / 0.7117 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/0.5542, allocations: 1.609 MB / 0.7133 GB, free: 7.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.5543, allocations: 83.77 kB / 0.7134 GB, free: 7.188 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.5545, allocations: 111.5 kB / 0.7135 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.5563, allocations: 0.9937 MB / 0.7144 GB, free: 6.082 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5563, allocations: 0 / 0.7144 GB, free: 6.082 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5563, allocations: 3.938 kB / 0.7144 GB, free: 6.078 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.5563, allocations: 0 / 0.7144 GB, free: 6.078 MB / 0.545 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.0009984/0.5573, allocations: 493.1 kB / 0.7149 GB, free: 5.566 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.5573, allocations: 12.03 kB / 0.7149 GB, free: 5.555 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.663e-05/0.5574, allocations: 54.73 kB / 0.715 GB, free: 5.492 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.5588, allocations: 208.6 kB / 0.7152 GB, free: 5.289 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.5592, allocations: 201.8 kB / 0.7154 GB, free: 5.066 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.5592, allocations: 16.38 kB / 0.7154 GB, free: 5.051 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.5593, allocations: 20 kB / 0.7154 GB, free: 5.031 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006029/0.5599, allocations: 369.7 kB / 0.7157 GB, free: 4.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.5599, allocations: 0 / 0.7157 GB, free: 4.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.5599, allocations: 7.984 kB / 0.7158 GB, free: 4.652 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.5599, allocations: 4 kB / 0.7158 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005782/0.5605, allocations: 409.9 kB / 0.7162 GB, free: 4.25 MB / 0.545 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.001673/0.5622, allocations: 0.7804 MB / 0.7169 GB, free: 3.422 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.5626, allocations: 221.1 kB / 0.7171 GB, free: 3.188 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.5628, allocations: 117.7 kB / 0.7172 GB, free: 3.066 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001512/0.5643, allocations: 305.9 kB / 0.7175 GB, free: 2.766 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.5643, allocations: 38.56 kB / 0.7176 GB, free: 2.719 MB / 0.545 GB Notification: Performance of pre-optimization done (n=29): time 1.493e-06/0.5643, allocations: 0 / 0.7176 GB, free: 2.719 MB / 0.545 GB Notification: Performance of matching and sorting (n=29): time 0.001167/0.5655, allocations: 365.7 kB / 0.7179 GB, free: 2.355 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.5655, allocations: 81.11 kB / 0.718 GB, free: 2.258 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.906e-05/0.5656, allocations: 113.8 kB / 0.7181 GB, free: 2.137 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.5657, allocations: 29.7 kB / 0.7181 GB, free: 2.102 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.5658, allocations: 116.5 kB / 0.7182 GB, free: 1.984 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.538e-05/0.5658, allocations: 111 kB / 0.7183 GB, free: 1.875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.48e-05/0.5659, allocations: 65.91 kB / 0.7184 GB, free: 1.805 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5661, allocations: 334.8 kB / 0.7187 GB, free: 1.469 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.5663, allocations: 96.59 kB / 0.7188 GB, free: 1.375 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.5665, allocations: 179.6 kB / 0.719 GB, free: 1.164 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/0.567, allocations: 301 kB / 0.7193 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.567, allocations: 0 / 0.7193 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006238/0.5676, allocations: 344.9 kB / 0.7196 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.5676, allocations: 10.81 kB / 0.7196 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.5676, allocations: 4.312 kB / 0.7196 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.5677, allocations: 7.938 kB / 0.7196 GB, free: 488 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.568, allocations: 75.89 kB / 0.7197 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.568, allocations: 4 kB / 0.7197 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.5682, allocations: 19.89 kB / 0.7197 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/0.5683, allocations: 23.97 kB / 0.7197 GB, free: 364 kB / 0.545 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.0001511/0.5684, allocations: 153.7 kB / 0.7199 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.744e-05/0.5685, allocations: 15.91 kB / 0.7199 GB, free: 184 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006726/0.5692, allocations: 322.1 kB / 0.7202 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5692, allocations: 0 / 0.7202 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.5692, allocations: 4 kB / 0.7202 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.5692, allocations: 3.984 kB / 0.7202 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005633/0.5698, allocations: 305.9 kB / 0.7205 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5698, allocations: 4 kB / 0.7205 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.5701, allocations: 55.91 kB / 0.7206 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.5701, allocations: 3.984 kB / 0.7206 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.5701, allocations: 16 kB / 0.7206 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5701, allocations: 4 kB / 0.7206 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5701, allocations: 0 / 0.7206 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007705/0.5709, allocations: 0.5023 MB / 0.7211 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.5709, allocations: 15.89 kB / 0.7211 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.571, allocations: 4.062 kB / 0.7211 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.5713, allocations: 15.98 kB / 0.7211 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.5713, allocations: 27.91 kB / 0.7211 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.5714, allocations: 19.92 kB / 0.7212 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.088e-05/0.5714, allocations: 95.2 kB / 0.7213 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5714, allocations: 0 / 0.7213 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007732/0.5722, allocations: 235.4 kB / 0.7215 GB, free: 14.5 MB / 0.5606 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.002021/0.5742, allocations: 1.375 MB / 0.7228 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005019/0.5747, allocations: 240.1 kB / 0.7231 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5747, allocations: 3.938 kB / 0.7231 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.5749, allocations: 123.9 kB / 0.7232 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006285/0.5756, allocations: 84.52 kB / 0.7233 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/0.5792, allocations: 2.683 MB / 0.7259 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.5797, allocations: 0.7324 MB / 0.7266 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003354/0.58, allocations: 74.02 kB / 0.7267 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.5801, allocations: 55.42 kB / 0.7267 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.5801, allocations: 0 / 0.7267 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3085/0.8887, allocations: 10.89 MB / 0.7373 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/12, allocations: 7.531 kB / 0.7374 GB, free: 177.1 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.11977760400623]