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.00131/0.00131, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001411/0.001411, allocations: 183.9 kB / 18.7 MB, free: 4.371 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.551/1.551, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.1929/0.1929, allocations: 44.18 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3776, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1674/0.5451, allocations: 149.6 MB / 0.6645 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.5471, allocations: 1.593 MB / 0.666 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.871e-05/0.5472, allocations: 0 / 0.666 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.5475, allocations: 51.72 kB / 0.6661 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.5487, allocations: 406.1 kB / 0.6665 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005355/0.5493, allocations: 167.2 kB / 0.6666 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.5496, allocations: 179.3 kB / 0.6668 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.5496, allocations: 10.19 kB / 0.6668 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.5498, allocations: 83.69 kB / 0.6669 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.55, allocations: 59.75 kB / 0.6669 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.55, allocations: 12 kB / 0.667 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.551, allocations: 0.5924 MB / 0.6675 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.5511, allocations: 27.95 kB / 0.6676 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.247e-05/0.5512, allocations: 47.8 kB / 0.6676 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006598/0.5518, allocations: 407 kB / 0.668 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5519, allocations: 0 / 0.668 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5519, allocations: 0 / 0.668 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.5519, allocations: 0 / 0.668 GB, free: 2.414 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.0005838/0.5525, allocations: 431.4 kB / 0.6684 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.5525, allocations: 8.031 kB / 0.6684 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.586e-05/0.5526, allocations: 42.75 kB / 0.6685 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/0.5548, allocations: 192.6 kB / 0.6686 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.5551, allocations: 215.5 kB / 0.6688 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.5551, allocations: 8 kB / 0.6689 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.5551, allocations: 8 kB / 0.6689 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.5556, allocations: 207.8 kB / 0.6691 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.5556, allocations: 0 / 0.6691 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.5557, allocations: 7.938 kB / 0.6691 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.5557, allocations: 3.938 kB / 0.6691 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005829/0.5563, allocations: 239.8 kB / 0.6693 GB, free: 0.9805 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.001785/0.5581, allocations: 0.6556 MB / 0.6699 GB, free: 272 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.5585, allocations: 182.5 kB / 0.6701 GB, free: 80 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.5588, allocations: 100.8 kB / 0.6702 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.5589, allocations: 93.03 kB / 0.6703 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.559, allocations: 38.56 kB / 0.6703 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 3.156e-06/0.559, allocations: 0 / 0.6703 GB, free: 15.82 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.00565/0.5646, allocations: 1.53 MB / 0.6718 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.5647, allocations: 55.41 kB / 0.6719 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.536e-05/0.5648, allocations: 109.8 kB / 0.672 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.5648, allocations: 33.7 kB / 0.672 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.5649, allocations: 100.2 kB / 0.6721 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.5649, allocations: 67.08 kB / 0.6722 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.018e-05/0.565, allocations: 45.7 kB / 0.6722 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.5651, allocations: 322.8 kB / 0.6725 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.5653, allocations: 91.81 kB / 0.6726 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.5656, allocations: 127.4 kB / 0.6727 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/0.566, allocations: 222.1 kB / 0.673 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.566, allocations: 0 / 0.673 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000612/0.5667, allocations: 294.2 kB / 0.6732 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.5667, allocations: 4 kB / 0.6732 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.5667, allocations: 4 kB / 0.6732 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/0.5668, allocations: 16.84 kB / 0.6733 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.5673, allocations: 63.89 kB / 0.6733 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003287/0.5676, allocations: 0.5367 MB / 0.6738 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.5679, allocations: 4.031 kB / 0.6738 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.568, allocations: 15.98 kB / 0.6739 GB, free: 11.98 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.000117/0.5681, allocations: 129.7 kB / 0.674 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/0.5682, allocations: 7.906 kB / 0.674 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000744/0.5689, allocations: 321.3 kB / 0.6743 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5689, allocations: 4 kB / 0.6743 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5689, allocations: 0 / 0.6743 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5689, allocations: 0 / 0.6743 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.5701, allocations: 0.6795 MB / 0.675 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.5701, allocations: 0 / 0.675 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00044/0.5705, allocations: 51.89 kB / 0.675 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.061e-05/0.5706, allocations: 20.84 kB / 0.675 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.5706, allocations: 8.094 kB / 0.675 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000917/0.5716, allocations: 1.367 MB / 0.6764 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5716, allocations: 4.031 kB / 0.6764 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008466/0.5724, allocations: 454.5 kB / 0.6768 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.5725, allocations: 85.05 kB / 0.6769 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.5725, allocations: 7.984 kB / 0.6769 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.5729, allocations: 8 kB / 0.6769 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.5729, allocations: 19.97 kB / 0.6769 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.5729, allocations: 8 kB / 0.6769 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.36e-05/0.573, allocations: 91.27 kB / 0.677 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.573, allocations: 4.062 kB / 0.677 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00052/0.5735, allocations: 127.9 kB / 0.6772 GB, free: 8.332 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.001703/0.5752, allocations: 1.14 MB / 0.6783 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006221/0.5759, allocations: 239.6 kB / 0.6785 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5759, allocations: 0 / 0.6785 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.5763, allocations: 238.9 kB / 0.6787 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.5768, allocations: 44.44 kB / 0.6788 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.5798, allocations: 2.131 MB / 0.6808 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.5801, allocations: 0.7085 MB / 0.6815 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003065/0.5804, allocations: 53.39 kB / 0.6816 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.5806, allocations: 39.42 kB / 0.6816 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of SimCode: time 6.62e-07/0.5806, allocations: 0 / 0.6816 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03339/0.614, allocations: 8.036 MB / 0.6895 GB, free: 11.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.24, allocations: 12.25 kB / 0.6895 GB, free: 11.64 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