Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.001285/0.001285, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001511/0.001511, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2268/0.2268, allocations: 46.93 MB / 361.6 MB, free: 4.25 MB / 286.1 MB " [Timeout remaining time 180] 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.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 0.4969 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3213, allocations: 66.03 MB / 0.5614 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2114/0.5327, allocations: 152.9 MB / 0.7108 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.5349, allocations: 1.596 MB / 0.7123 GB, free: 9.316 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.5349, allocations: 3.938 kB / 0.7123 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.5353, allocations: 51.72 kB / 0.7124 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009931/0.5363, allocations: 419.9 kB / 0.7128 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.5368, allocations: 171.4 kB / 0.7129 GB, free: 8.684 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.5371, allocations: 187.2 kB / 0.7131 GB, free: 8.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.495e-05/0.5372, allocations: 15.92 kB / 0.7131 GB, free: 8.484 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.5373, allocations: 79.69 kB / 0.7132 GB, free: 8.406 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.5375, allocations: 63.75 kB / 0.7133 GB, free: 8.344 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.5375, allocations: 4 kB / 0.7133 GB, free: 8.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.5387, allocations: 0.6275 MB / 0.7139 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.671e-05/0.5387, allocations: 35.89 kB / 0.7139 GB, free: 7.676 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.015e-05/0.5388, allocations: 47.8 kB / 0.714 GB, free: 7.629 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007223/0.5395, allocations: 410.9 kB / 0.7144 GB, free: 7.227 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5395, allocations: 4 kB / 0.7144 GB, free: 7.223 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5395, allocations: 0 / 0.7144 GB, free: 7.223 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.5395, allocations: 0 / 0.7144 GB, free: 7.223 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006761/0.5402, allocations: 365.8 kB / 0.7147 GB, free: 6.836 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.5403, allocations: 11.97 kB / 0.7147 GB, free: 6.824 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.891e-05/0.5403, allocations: 4.375 kB / 0.7147 GB, free: 6.82 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.348e-05/0.5403, allocations: 38.75 kB / 0.7148 GB, free: 6.773 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/0.5426, allocations: 204.6 kB / 0.715 GB, free: 6.574 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.5429, allocations: 161.3 kB / 0.7151 GB, free: 6.391 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.5429, allocations: 8 kB / 0.7151 GB, free: 6.383 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.505e-05/0.543, allocations: 8 kB / 0.7151 GB, free: 6.375 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.5435, allocations: 197.5 kB / 0.7153 GB, free: 6.176 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.5435, allocations: 3.938 kB / 0.7153 GB, free: 6.172 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.5435, allocations: 12 kB / 0.7153 GB, free: 6.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5435, allocations: 0 / 0.7153 GB, free: 6.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005984/0.5441, allocations: 239.8 kB / 0.7156 GB, free: 5.926 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.001712/0.5459, allocations: 0.5939 MB / 0.7161 GB, free: 5.289 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.5463, allocations: 186.5 kB / 0.7163 GB, free: 5.098 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.5465, allocations: 96.75 kB / 0.7164 GB, free: 5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.5467, allocations: 15.97 kB / 0.7164 GB, free: 4.984 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.5467, allocations: 34.56 kB / 0.7165 GB, free: 4.941 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.5467, allocations: 0 / 0.7165 GB, free: 4.941 MB / 0.545 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005971/0.5527, allocations: 1.402 MB / 0.7178 GB, free: 3.465 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.5527, allocations: 51.41 kB / 0.7179 GB, free: 3.402 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.5529, allocations: 113.8 kB / 0.718 GB, free: 3.281 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.5529, allocations: 25.7 kB / 0.718 GB, free: 3.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.137e-05/0.553, allocations: 104.3 kB / 0.7181 GB, free: 3.145 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.139e-05/0.5531, allocations: 67.42 kB / 0.7182 GB, free: 3.078 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.5532, allocations: 49.69 kB / 0.7182 GB, free: 3.023 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.5534, allocations: 314.8 kB / 0.7185 GB, free: 2.707 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.5536, allocations: 95.94 kB / 0.7186 GB, free: 2.613 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.5539, allocations: 123 kB / 0.7187 GB, free: 2.484 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/0.5544, allocations: 231.2 kB / 0.719 GB, free: 2.246 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5544, allocations: 0 / 0.719 GB, free: 2.246 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006677/0.555, allocations: 285.4 kB / 0.7192 GB, free: 1.961 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.555, allocations: 4 kB / 0.7192 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.555, allocations: 4 kB / 0.7192 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001632/0.5552, allocations: 28.94 kB / 0.7193 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004604/0.5557, allocations: 55.89 kB / 0.7193 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004619/0.5561, allocations: 0.5328 MB / 0.7198 GB, free: 1.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.5564, allocations: 12.03 kB / 0.7198 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.5564, allocations: 7.984 kB / 0.7199 GB, free: 1.289 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001834/0.5566, allocations: 129.9 kB / 0.72 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.01e-05/0.5567, allocations: 7.953 kB / 0.72 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008371/0.5575, allocations: 321.2 kB / 0.7203 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.5576, allocations: 3.984 kB / 0.7203 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5576, allocations: 0 / 0.7203 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5576, allocations: 0 / 0.7203 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.5587, allocations: 0.6436 MB / 0.7209 GB, free: 112 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5587, allocations: 0 / 0.7209 GB, free: 112 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/0.5592, allocations: 55.89 kB / 0.721 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.643e-05/0.5593, allocations: 20.84 kB / 0.721 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.5593, allocations: 11.98 kB / 0.721 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.5603, allocations: 1.272 MB / 0.7222 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5603, allocations: 0 / 0.7222 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000916/0.5613, allocations: 450.8 kB / 0.7227 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.5613, allocations: 11.89 kB / 0.7227 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.5613, allocations: 8.062 kB / 0.7227 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.5616, allocations: 15.98 kB / 0.7227 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.5617, allocations: 11.97 kB / 0.7227 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.5617, allocations: 12 kB / 0.7227 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.487e-05/0.5618, allocations: 95.19 kB / 0.7228 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5618, allocations: 0 / 0.7228 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005634/0.5623, allocations: 135.7 kB / 0.723 GB, free: 13.88 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001781/0.5641, allocations: 1.142 MB / 0.7241 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006215/0.5647, allocations: 227.7 kB / 0.7243 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5647, allocations: 0 / 0.7243 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004147/0.5652, allocations: 237 kB / 0.7245 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.5656, allocations: 40.34 kB / 0.7246 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.5687, allocations: 2.128 MB / 0.7266 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.569, allocations: 0.7086 MB / 0.7273 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002781/0.5693, allocations: 57.7 kB / 0.7274 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.5695, allocations: 43.41 kB / 0.7274 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.5695, allocations: 4 kB / 0.7274 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04526/0.6147, allocations: 8.213 MB / 0.7354 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.72, allocations: 7.234 kB / 0.7355 GB, free: 1.039 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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: 17.093891718017403]