Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 110.8 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 185.5 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2199/0.2199, allocations: 43.52 MB / 314.1 MB, free: 476 kB / 254.1 MB 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.002004/0.002004, allocations: 75.89 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1067, allocations: 57.78 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3894/0.4962, allocations: 150.9 MB / 0.6347 GB, free: 4.164 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.4981, allocations: 1.497 MB / 0.6362 GB, free: 2.68 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.4981, allocations: 4 kB / 0.6362 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.4985, allocations: 47.72 kB / 0.6362 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009114/0.4994, allocations: 382.1 kB / 0.6366 GB, free: 2.254 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.4999, allocations: 168.4 kB / 0.6367 GB, free: 2.09 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.5002, allocations: 187.2 kB / 0.6369 GB, free: 1.906 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.5002, allocations: 15.97 kB / 0.6369 GB, free: 1.891 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.5004, allocations: 71.7 kB / 0.637 GB, free: 1.82 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.5005, allocations: 63.75 kB / 0.6371 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.5006, allocations: 4 kB / 0.6371 GB, free: 1.754 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.5017, allocations: 0.5807 MB / 0.6376 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.639e-05/0.5018, allocations: 35.89 kB / 0.6377 GB, free: 1.137 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.811e-05/0.5018, allocations: 43.86 kB / 0.6377 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000641/0.5025, allocations: 390 kB / 0.6381 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.5025, allocations: 0 / 0.6381 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5025, allocations: 0 / 0.6381 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.5025, allocations: 0 / 0.6381 GB, free: 0.7188 MB / 478.1 MB 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.0005538/0.5031, allocations: 430.9 kB / 0.6385 GB, free: 256 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.5031, allocations: 11.89 kB / 0.6385 GB, free: 244 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.376e-05/0.5032, allocations: 46.73 kB / 0.6385 GB, free: 188 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00216/0.5053, allocations: 197.1 kB / 0.6387 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.5056, allocations: 214.6 kB / 0.6389 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.5056, allocations: 3.938 kB / 0.6389 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.5057, allocations: 12 kB / 0.639 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.5062, allocations: 201.5 kB / 0.6391 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.5062, allocations: 4 kB / 0.6392 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.5063, allocations: 0 / 0.6392 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.5063, allocations: 0 / 0.6392 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006131/0.5069, allocations: 247.7 kB / 0.6394 GB, free: 15.28 MB / 494.1 MB 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.001727/0.5086, allocations: 0.6646 MB / 0.64 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.5091, allocations: 194.4 kB / 0.6402 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.5093, allocations: 92.81 kB / 0.6403 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.5095, allocations: 89.09 kB / 0.6404 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.5095, allocations: 38.5 kB / 0.6404 GB, free: 14.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 3.106e-06/0.5095, allocations: 7.922 kB / 0.6404 GB, free: 14.11 MB / 494.1 MB 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.005693/0.5152, allocations: 1.527 MB / 0.6419 GB, free: 12.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.5153, allocations: 55.41 kB / 0.642 GB, free: 12.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.944e-05/0.5154, allocations: 105.8 kB / 0.6421 GB, free: 12.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.5155, allocations: 33.7 kB / 0.6421 GB, free: 12.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.5155, allocations: 100.3 kB / 0.6422 GB, free: 12.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.639e-05/0.5156, allocations: 71.39 kB / 0.6423 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.885e-05/0.5157, allocations: 41.69 kB / 0.6423 GB, free: 12.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.516, allocations: 322.8 kB / 0.6426 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.5162, allocations: 91.94 kB / 0.6427 GB, free: 11.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.5165, allocations: 127.2 kB / 0.6428 GB, free: 11.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005088/0.517, allocations: 227.3 kB / 0.6431 GB, free: 11.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.517, allocations: 3.938 kB / 0.6431 GB, free: 11.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006373/0.5176, allocations: 282.2 kB / 0.6433 GB, free: 10.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.5177, allocations: 4.094 kB / 0.6433 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.5177, allocations: 9.188 kB / 0.6433 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/0.5178, allocations: 20.84 kB / 0.6434 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.5183, allocations: 55.95 kB / 0.6434 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004152/0.5187, allocations: 0.5328 MB / 0.6439 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.519, allocations: 16.12 kB / 0.644 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.519, allocations: 4 kB / 0.644 GB, free: 10.3 MB / 494.1 MB 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.0001434/0.5192, allocations: 137.6 kB / 0.6441 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.5193, allocations: 11.91 kB / 0.6441 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008041/0.5201, allocations: 319.1 kB / 0.6444 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.5201, allocations: 0 / 0.6444 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.5201, allocations: 3.938 kB / 0.6444 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.5201, allocations: 4 kB / 0.6444 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.5213, allocations: 0.6947 MB / 0.6451 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5213, allocations: 0 / 0.6451 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004497/0.5218, allocations: 55.89 kB / 0.6451 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-05/0.5219, allocations: 20.84 kB / 0.6452 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.5219, allocations: 7.984 kB / 0.6452 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.523, allocations: 1.367 MB / 0.6465 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.523, allocations: 0 / 0.6465 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00089/0.5239, allocations: 450.8 kB / 0.6469 GB, free: 6.988 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.008e-05/0.524, allocations: 92.95 kB / 0.647 GB, free: 6.879 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.524, allocations: 4 kB / 0.647 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.5243, allocations: 15.98 kB / 0.647 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.5244, allocations: 7.984 kB / 0.647 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.5244, allocations: 15.98 kB / 0.6471 GB, free: 6.836 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.127e-05/0.5245, allocations: 91.56 kB / 0.6472 GB, free: 6.746 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5245, allocations: 0 / 0.6472 GB, free: 6.746 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005029/0.525, allocations: 131.8 kB / 0.6473 GB, free: 6.617 MB / 494.1 MB 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.001739/0.5267, allocations: 1.129 MB / 0.6484 GB, free: 5.453 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006504/0.5274, allocations: 231.7 kB / 0.6486 GB, free: 5.227 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5274, allocations: 0 / 0.6486 GB, free: 5.227 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.5278, allocations: 238.5 kB / 0.6488 GB, free: 4.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.5283, allocations: 56.22 kB / 0.6489 GB, free: 4.926 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.5314, allocations: 2.136 MB / 0.651 GB, free: 2.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.5318, allocations: 0.7046 MB / 0.6517 GB, free: 1.938 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003106/0.5321, allocations: 57.77 kB / 0.6517 GB, free: 1.879 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.5323, allocations: 43.41 kB / 0.6518 GB, free: 1.836 MB / 494.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5323, allocations: 0 / 0.6518 GB, free: 1.836 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03464/0.5669, allocations: 7.981 MB / 0.6595 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.51, allocations: 8 kB / 0.6596 GB, free: 9.84 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches