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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_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.00108/0.00108, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001111/0.001111, allocations: 187.8 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1932/0.1932, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.83 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3149, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1533/0.4682, allocations: 149.6 MB / 0.6645 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001863/0.4701, allocations: 1.593 MB / 0.666 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.355e-05/0.4702, allocations: 0 / 0.666 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.4706, allocations: 51.72 kB / 0.6661 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.4716, allocations: 402.1 kB / 0.6665 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005438/0.4722, allocations: 171.4 kB / 0.6666 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.4725, allocations: 179.3 kB / 0.6668 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.4725, allocations: 14.17 kB / 0.6668 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.4727, allocations: 79.69 kB / 0.6669 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.4728, allocations: 59.75 kB / 0.6669 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.4728, allocations: 8 kB / 0.667 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.474, allocations: 0.5924 MB / 0.6675 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.474, allocations: 27.95 kB / 0.6676 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.65e-05/0.4741, allocations: 55.8 kB / 0.6676 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007161/0.4748, allocations: 399.1 kB / 0.668 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4748, allocations: 0 / 0.668 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4748, allocations: 0 / 0.668 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.4749, allocations: 4 kB / 0.668 GB, free: 2.359 MB / 0.5137 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.0005698/0.4754, allocations: 434.1 kB / 0.6684 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4755, allocations: 12.03 kB / 0.6684 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.4755, allocations: 34.75 kB / 0.6685 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/0.4778, allocations: 196.6 kB / 0.6686 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.478, allocations: 215.5 kB / 0.6688 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.4781, allocations: 8 kB / 0.6689 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.4781, allocations: 8 kB / 0.6689 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.4786, allocations: 203.6 kB / 0.6691 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4786, allocations: 0 / 0.6691 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.4786, allocations: 11.94 kB / 0.6691 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4786, allocations: 7.938 kB / 0.6691 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005576/0.4792, allocations: 231.8 kB / 0.6693 GB, free: 0.9297 MB / 0.5137 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.001644/0.4809, allocations: 0.6517 MB / 0.6699 GB, free: 224 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.4813, allocations: 194.4 kB / 0.6701 GB, free: 20 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.4815, allocations: 92.81 kB / 0.6702 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.4817, allocations: 97.08 kB / 0.6703 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.4817, allocations: 34.56 kB / 0.6703 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 2.986e-06/0.4817, allocations: 0 / 0.6703 GB, free: 15.77 MB / 0.5294 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.005706/0.4875, allocations: 1.542 MB / 0.6718 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.4875, allocations: 51.41 kB / 0.6719 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.4876, allocations: 117.8 kB / 0.672 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.4877, allocations: 25.7 kB / 0.672 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.562e-05/0.4878, allocations: 104.2 kB / 0.6721 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.244e-05/0.4879, allocations: 67.08 kB / 0.6722 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.488, allocations: 41.7 kB / 0.6722 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.4882, allocations: 322.8 kB / 0.6725 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.4884, allocations: 95.81 kB / 0.6726 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.4887, allocations: 123.4 kB / 0.6727 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.4891, allocations: 226.5 kB / 0.673 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4891, allocations: 0 / 0.673 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006516/0.4898, allocations: 286.1 kB / 0.6732 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4898, allocations: 8 kB / 0.6732 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.4898, allocations: 3.984 kB / 0.6732 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001422/0.49, allocations: 28.94 kB / 0.6733 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004467/0.4905, allocations: 51.91 kB / 0.6733 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003459/0.4908, allocations: 0.5367 MB / 0.6738 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.4911, allocations: 8 kB / 0.6739 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.4911, allocations: 7.984 kB / 0.6739 GB, free: 11.93 MB / 0.5294 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.0001292/0.4913, allocations: 129.9 kB / 0.674 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/0.4914, allocations: 7.906 kB / 0.674 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007519/0.4921, allocations: 323 kB / 0.6743 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.4921, allocations: 0 / 0.6743 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.4921, allocations: 4 kB / 0.6743 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.4922, allocations: 0 / 0.6743 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.4932, allocations: 0.6756 MB / 0.675 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4933, allocations: 3.938 kB / 0.675 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.4937, allocations: 51.95 kB / 0.675 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.571e-05/0.4938, allocations: 20.84 kB / 0.675 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.4939, allocations: 8 kB / 0.675 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009176/0.4948, allocations: 1.363 MB / 0.6764 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4948, allocations: 0 / 0.6764 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008379/0.4956, allocations: 464.9 kB / 0.6768 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.4957, allocations: 89.03 kB / 0.6769 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.4957, allocations: 8.062 kB / 0.6769 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/0.4961, allocations: 8 kB / 0.6769 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.4961, allocations: 19.97 kB / 0.6769 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.4962, allocations: 4 kB / 0.6769 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.03e-05/0.4962, allocations: 91.27 kB / 0.677 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.472e-06/0.4962, allocations: 0 / 0.677 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005883/0.4968, allocations: 135.9 kB / 0.6772 GB, free: 8.273 MB / 0.5294 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.001823/0.4987, allocations: 1.132 MB / 0.6783 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006647/0.4993, allocations: 243.6 kB / 0.6785 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.4993, allocations: 4 kB / 0.6785 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004025/0.4998, allocations: 230.5 kB / 0.6787 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.5002, allocations: 51.16 kB / 0.6788 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.5032, allocations: 2.134 MB / 0.6809 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.5035, allocations: 0.7085 MB / 0.6815 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002828/0.5038, allocations: 49.39 kB / 0.6816 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.504, allocations: 43.41 kB / 0.6816 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.504, allocations: 0 / 0.6816 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.5325, allocations: 8.039 MB / 0.6895 GB, free: 11.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.93, allocations: 1.656 kB / 0.6895 GB, free: 11.59 MB / 0.545 GB (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 --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) 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) Reference file matches