Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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) 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(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_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.001114/0.001114, allocations: 114 kB / 17.28 MB, free: 6.219 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.001035/0.001035, allocations: 189.3 kB / 18.2 MB, free: 5.297 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.378/1.378, allocations: 205.1 MB / 224.1 MB, free: 12.45 MB / 190.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.001787/0.001787, allocations: 47.92 kB / 280.2 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09577/0.09757, allocations: 46.63 MB / 326.9 MB, free: 4.707 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.369/0.4666, allocations: 148.7 MB / 475.6 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.4684, allocations: 1.492 MB / 477.1 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.21e-05/0.4685, allocations: 0 / 477.1 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003098/0.4689, allocations: 47.8 kB / 477.2 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007665/0.4697, allocations: 350.5 kB / 477.5 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.4701, allocations: 155.6 kB / 477.6 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.4704, allocations: 187.2 kB / 477.8 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.4704, allocations: 4 kB / 477.8 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.4705, allocations: 80.72 kB / 477.9 MB, free: 456 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.4707, allocations: 63.75 kB / 478 MB, free: 392 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.4707, allocations: 4 kB / 478 MB, free: 388 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000969/0.4717, allocations: 0.6041 MB / 478.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.099e-05/0.4717, allocations: 27.91 kB / 478.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.151e-05/0.4718, allocations: 59.78 kB / 478.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.4724, allocations: 422.9 kB / 479.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.4724, allocations: 0 / 479.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4724, allocations: 3.938 kB / 479.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.4724, allocations: 4 kB / 479.1 MB, free: 15.27 MB / 382.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.0005977/0.473, allocations: 428.1 kB / 479.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4731, allocations: 8.031 kB / 479.5 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.4731, allocations: 39.62 kB / 479.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/0.4753, allocations: 201.1 kB / 479.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.4755, allocations: 204.4 kB / 479.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.4756, allocations: 11.94 kB / 480 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.4756, allocations: 4 kB / 480 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/0.4761, allocations: 205.5 kB / 480.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.4761, allocations: 0 / 480.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.4761, allocations: 3.5 kB / 480.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4761, allocations: 8 kB / 480.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005559/0.4767, allocations: 243.8 kB / 480.4 MB, free: 13.84 MB / 382.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.001691/0.4784, allocations: 0.6679 MB / 481.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.4788, allocations: 191.4 kB / 481.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.479, allocations: 92.81 kB / 481.4 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/0.4792, allocations: 89.09 kB / 481.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.4792, allocations: 38.5 kB / 481.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.4792, allocations: 0 / 481.5 MB, free: 12.68 MB / 382.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.005538/0.4848, allocations: 1.547 MB / 483 MB, free: 11.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.4848, allocations: 55.41 kB / 483.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.876e-05/0.4849, allocations: 105.8 kB / 483.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/0.485, allocations: 29.7 kB / 483.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.485, allocations: 100.3 kB / 483.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.955e-05/0.4851, allocations: 63.09 kB / 483.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.4852, allocations: 53.47 kB / 483.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4853, allocations: 322.8 kB / 483.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.4856, allocations: 91.95 kB / 483.8 MB, free: 10.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.4858, allocations: 119.4 kB / 484 MB, free: 10.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.4863, allocations: 231.3 kB / 484.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4863, allocations: 3.938 kB / 484.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006088/0.4869, allocations: 282.2 kB / 484.5 MB, free: 9.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.4869, allocations: 8.094 kB / 484.5 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4869, allocations: 0 / 484.5 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/0.4871, allocations: 24.84 kB / 484.5 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004464/0.4875, allocations: 47.97 kB / 484.5 MB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004/0.4879, allocations: 0.5367 MB / 485.1 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.4882, allocations: 20.92 kB / 485.1 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.4883, allocations: 11.94 kB / 485.1 MB, free: 8.836 MB / 382.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.00014/0.4884, allocations: 129.7 kB / 485.2 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/0.4885, allocations: 7.906 kB / 485.2 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007726/0.4893, allocations: 319.4 kB / 485.5 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4893, allocations: 0 / 485.5 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4893, allocations: 3.938 kB / 485.6 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4893, allocations: 3.984 kB / 485.6 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.4904, allocations: 0.6905 MB / 486.2 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4904, allocations: 0 / 486.2 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004607/0.4909, allocations: 51.89 kB / 486.3 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-05/0.4909, allocations: 20.84 kB / 486.3 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.491, allocations: 8.094 kB / 486.3 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009523/0.4919, allocations: 1.367 MB / 487.7 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.492, allocations: 8.016 kB / 487.7 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008271/0.4928, allocations: 450.6 kB / 488.1 MB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.4929, allocations: 84.95 kB / 488.2 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.4929, allocations: 8 kB / 488.2 MB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.4933, allocations: 11.98 kB / 488.2 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.4933, allocations: 11.98 kB / 488.3 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/0.4933, allocations: 20.05 kB / 488.3 MB, free: 5.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.267e-05/0.4934, allocations: 87.28 kB / 488.4 MB, free: 5.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4934, allocations: 0 / 488.4 MB, free: 5.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005411/0.4939, allocations: 127.9 kB / 488.5 MB, free: 5.18 MB / 382.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.001643/0.4956, allocations: 1.129 MB / 489.6 MB, free: 4.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006035/0.4962, allocations: 239.8 kB / 489.8 MB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4962, allocations: 0 / 489.8 MB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.4966, allocations: 234.7 kB / 490.1 MB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.4971, allocations: 49.42 kB / 490.1 MB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002887/0.5, allocations: 2.179 MB / 492.3 MB, free: 1.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.5002, allocations: 0.7085 MB / 493 MB, free: 460 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004094/0.5007, allocations: 53.77 kB / 493.1 MB, free: 404 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.5008, allocations: 35.42 kB / 493.1 MB, free: 368 kB / 382.1 MB Notification: Performance of SimCode: time 1.973e-06/0.5008, allocations: 0 / 493.1 MB, free: 368 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.523, allocations: 7.868 MB / 0.4892 GB, free: 8.473 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/0.5232, allocations: 232.4 kB / 0.4894 GB, free: 8.215 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/2.64, allocations: 3.938 kB / 0.4895 GB, free: 8.211 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches