Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001381/0.001381, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001497/0.001497, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.468/1.468, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2196/0.2196, allocations: 44.92 MB / 359.6 MB, free: 6.285 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.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",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.002249/0.002249, allocations: 63.91 kB / 0.4938 GB, free: 10.76 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3102, allocations: 65.49 MB / 0.5578 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1795/0.4897, allocations: 152.9 MB / 0.7071 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002171/0.4919, allocations: 1.604 MB / 0.7087 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.874e-05/0.4919, allocations: 0 / 0.7087 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.4922, allocations: 51.72 kB / 0.7087 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.4934, allocations: 416 kB / 0.7091 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.4938, allocations: 171.4 kB / 0.7093 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.4941, allocations: 195.2 kB / 0.7095 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.4942, allocations: 7.938 kB / 0.7095 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.4943, allocations: 75.75 kB / 0.7096 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.4945, allocations: 63.75 kB / 0.7096 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.4945, allocations: 11.98 kB / 0.7096 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.4957, allocations: 0.6314 MB / 0.7103 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.886e-05/0.4958, allocations: 27.91 kB / 0.7103 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.601e-05/0.4959, allocations: 51.78 kB / 0.7103 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006407/0.4965, allocations: 406.9 kB / 0.7107 GB, free: 10.58 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.4965, allocations: 0 / 0.7107 GB, free: 10.58 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4965, allocations: 4 kB / 0.7107 GB, free: 10.58 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4965, allocations: 4 kB / 0.7107 GB, free: 10.57 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.000616/0.4971, allocations: 361.7 kB / 0.7111 GB, free: 10.19 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.4972, allocations: 12.03 kB / 0.7111 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.771e-05/0.4972, allocations: 384 / 0.7111 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.662e-05/0.4973, allocations: 38.75 kB / 0.7111 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002227/0.4995, allocations: 204.5 kB / 0.7113 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.4997, allocations: 165.3 kB / 0.7115 GB, free: 9.746 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.4998, allocations: 8 kB / 0.7115 GB, free: 9.738 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.4998, allocations: 8 kB / 0.7115 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005205/0.5003, allocations: 202.8 kB / 0.7117 GB, free: 9.527 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.5003, allocations: 3.938 kB / 0.7117 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.5004, allocations: 7.938 kB / 0.7117 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.5004, allocations: 4 kB / 0.7117 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006141/0.501, allocations: 235.8 kB / 0.7119 GB, free: 9.281 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.001859/0.5029, allocations: 0.5977 MB / 0.7125 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.5033, allocations: 198.4 kB / 0.7127 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.5036, allocations: 92.81 kB / 0.7128 GB, free: 8.344 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.5037, allocations: 11.98 kB / 0.7128 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.5037, allocations: 30.56 kB / 0.7128 GB, free: 8.293 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.5037, allocations: 0 / 0.7128 GB, free: 8.293 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.006194/0.5099, allocations: 1.395 MB / 0.7142 GB, free: 6.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.51, allocations: 55.41 kB / 0.7142 GB, free: 6.754 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.5101, allocations: 109.8 kB / 0.7144 GB, free: 6.637 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.5101, allocations: 29.7 kB / 0.7144 GB, free: 6.602 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.5102, allocations: 104.3 kB / 0.7145 GB, free: 6.496 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/0.5103, allocations: 63.44 kB / 0.7145 GB, free: 6.434 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.5104, allocations: 45.69 kB / 0.7146 GB, free: 6.383 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.5106, allocations: 318.8 kB / 0.7149 GB, free: 6.062 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.5108, allocations: 95.95 kB / 0.715 GB, free: 5.969 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.5111, allocations: 119 kB / 0.7151 GB, free: 5.844 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004959/0.5116, allocations: 233.5 kB / 0.7153 GB, free: 5.605 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.5116, allocations: 0 / 0.7153 GB, free: 5.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006666/0.5122, allocations: 285.4 kB / 0.7156 GB, free: 5.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.5123, allocations: 8 kB / 0.7156 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.5123, allocations: 3.938 kB / 0.7156 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001583/0.5124, allocations: 24.94 kB / 0.7156 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.5129, allocations: 63.89 kB / 0.7157 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004488/0.5134, allocations: 0.5367 MB / 0.7162 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.5136, allocations: 4 kB / 0.7162 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.5137, allocations: 15.98 kB / 0.7162 GB, free: 4.637 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.0001907/0.5139, allocations: 125.9 kB / 0.7163 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.5139, allocations: 7.953 kB / 0.7164 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008335/0.5148, allocations: 329.3 kB / 0.7167 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5148, allocations: 0 / 0.7167 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.5148, allocations: 4 kB / 0.7167 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.5148, allocations: 0 / 0.7167 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.5161, allocations: 0.6475 MB / 0.7173 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5161, allocations: 0 / 0.7173 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004556/0.5165, allocations: 55.89 kB / 0.7174 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.099e-05/0.5166, allocations: 20.84 kB / 0.7174 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.5167, allocations: 7.984 kB / 0.7174 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.518, allocations: 1.271 MB / 0.7186 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.518, allocations: 0 / 0.7186 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000983/0.519, allocations: 450.8 kB / 0.7191 GB, free: 1.512 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.519, allocations: 11.98 kB / 0.7191 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.519, allocations: 4 kB / 0.7191 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.5194, allocations: 16.05 kB / 0.7191 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.5194, allocations: 19.97 kB / 0.7191 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.5194, allocations: 4 kB / 0.7191 GB, free: 1.457 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.628e-05/0.5195, allocations: 95.2 kB / 0.7192 GB, free: 1.363 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5195, allocations: 3.938 kB / 0.7192 GB, free: 1.359 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005759/0.5201, allocations: 135.7 kB / 0.7193 GB, free: 1.227 MB / 0.545 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.001944/0.522, allocations: 1.135 MB / 0.7204 GB, free: 56 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006981/0.5227, allocations: 230.3 kB / 0.7207 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.5227, allocations: 4 kB / 0.7207 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004501/0.5232, allocations: 234.5 kB / 0.7209 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.5236, allocations: 44.09 kB / 0.7209 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.5271, allocations: 2.124 MB / 0.723 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.5275, allocations: 0.7125 MB / 0.7237 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002858/0.5278, allocations: 53.77 kB / 0.7238 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.528, allocations: 43.41 kB / 0.7238 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.528, allocations: 0 / 0.7238 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04967/0.5776, allocations: 8.211 MB / 0.7318 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.77, allocations: 16.7 kB / 0.7318 GB, free: 4.383 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.087264241010416]