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.0009118/0.0009119, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009029/0.0009029, allocations: 184.1 kB / 16.92 MB, free: 6.914 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.664/1.664, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4063/0.4063, allocations: 43.58 MB / 315 MB, free: 9.074 MB / 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.00057/0.00057, allocations: 12 kB / 384.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1169, allocations: 58.86 MB / 443.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3817/0.4986, allocations: 146.7 MB / 0.5764 GB, free: 8.645 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.5006, allocations: 1.527 MB / 0.5779 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.5006, allocations: 0 / 0.5779 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.501, allocations: 46.05 kB / 0.578 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008931/0.5019, allocations: 347.5 kB / 0.5783 GB, free: 6.754 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004735/0.5024, allocations: 146.5 kB / 0.5784 GB, free: 6.613 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.5027, allocations: 251.1 kB / 0.5787 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.5028, allocations: 14.64 kB / 0.5787 GB, free: 6.355 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.5029, allocations: 71.7 kB / 0.5787 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.5031, allocations: 59.77 kB / 0.5788 GB, free: 6.227 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.5031, allocations: 4 kB / 0.5788 GB, free: 6.223 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.5042, allocations: 0.6782 MB / 0.5795 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.822e-05/0.5043, allocations: 27.91 kB / 0.5795 GB, free: 5.516 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.077e-05/0.5043, allocations: 69.5 kB / 0.5796 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005819/0.5049, allocations: 427 kB / 0.58 GB, free: 5.023 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.505, allocations: 7.938 kB / 0.58 GB, free: 5.016 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.505, allocations: 0 / 0.58 GB, free: 5.016 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.505, allocations: 4.969 kB / 0.58 GB, free: 5.012 MB / 446.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.0005618/0.5055, allocations: 407.2 kB / 0.5804 GB, free: 4.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.5056, allocations: 8.031 kB / 0.5804 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.049e-05/0.5057, allocations: 42.73 kB / 0.5804 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/0.508, allocations: 195.1 kB / 0.5806 GB, free: 4.324 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.5082, allocations: 200.5 kB / 0.5808 GB, free: 4.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.5083, allocations: 11.94 kB / 0.5808 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.628e-05/0.5083, allocations: 12.69 kB / 0.5808 GB, free: 4.066 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/0.5088, allocations: 201.4 kB / 0.581 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.5088, allocations: 0 / 0.581 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.5089, allocations: 8 kB / 0.581 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5089, allocations: 0.8438 kB / 0.581 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005691/0.5095, allocations: 243.8 kB / 0.5813 GB, free: 3.617 MB / 446.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.001685/0.5112, allocations: 0.6662 MB / 0.5819 GB, free: 2.918 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004692/0.5116, allocations: 194.4 kB / 0.5821 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.5119, allocations: 89.33 kB / 0.5822 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.5121, allocations: 89.09 kB / 0.5823 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.5121, allocations: 41.08 kB / 0.5823 GB, free: 2.477 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.5121, allocations: 0 / 0.5823 GB, free: 2.477 MB / 446.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.005702/0.5178, allocations: 1.539 MB / 0.5838 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.5179, allocations: 51.41 kB / 0.5839 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/0.518, allocations: 121.8 kB / 0.584 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.518, allocations: 25.7 kB / 0.584 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.5181, allocations: 100.3 kB / 0.5841 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.5182, allocations: 67 kB / 0.5842 GB, free: 456 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.5182, allocations: 29.7 kB / 0.5842 GB, free: 420 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5183, allocations: 314.8 kB / 0.5845 GB, free: 96 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.5186, allocations: 95.88 kB / 0.5846 GB, free: 0 / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.5188, allocations: 126 kB / 0.5847 GB, free: 15.87 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000466/0.5193, allocations: 223.3 kB / 0.5849 GB, free: 15.64 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5193, allocations: 3.938 kB / 0.5849 GB, free: 15.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006213/0.5199, allocations: 282.2 kB / 0.5852 GB, free: 15.35 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.52, allocations: 4 kB / 0.5852 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.52, allocations: 7.938 kB / 0.5852 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/0.5201, allocations: 28.83 kB / 0.5852 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.5206, allocations: 60.77 kB / 0.5853 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003827/0.521, allocations: 0.5369 MB / 0.5858 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.5213, allocations: 7.938 kB / 0.5858 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.5213, allocations: 12 kB / 0.5858 GB, free: 14.66 MB / 462.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.000135/0.5215, allocations: 133.6 kB / 0.5859 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.5215, allocations: 16 kB / 0.586 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007944/0.5223, allocations: 311 kB / 0.5863 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.5224, allocations: 8 kB / 0.5863 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5224, allocations: 3.938 kB / 0.5863 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.5224, allocations: 3.125 kB / 0.5863 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.5235, allocations: 0.6601 MB / 0.5869 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.5235, allocations: 8.094 kB / 0.5869 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000433/0.524, allocations: 47.95 kB / 0.587 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.276e-05/0.5241, allocations: 20.84 kB / 0.587 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.5241, allocations: 11.98 kB / 0.587 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009179/0.525, allocations: 1.268 MB / 0.5882 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.525, allocations: 0 / 0.5882 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008161/0.5259, allocations: 459.1 kB / 0.5887 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.5259, allocations: 85.05 kB / 0.5888 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.526, allocations: 11.94 kB / 0.5888 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.5263, allocations: 11.98 kB / 0.5888 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.5264, allocations: 19.98 kB / 0.5888 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.5264, allocations: 15.98 kB / 0.5888 GB, free: 11.33 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.57e-05/0.5264, allocations: 83.28 kB / 0.5889 GB, free: 11.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5264, allocations: 0 / 0.5889 GB, free: 11.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000527/0.527, allocations: 131.9 kB / 0.589 GB, free: 11.12 MB / 462.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.001796/0.5288, allocations: 1.134 MB / 0.5901 GB, free: 9.949 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006123/0.5294, allocations: 231.8 kB / 0.5903 GB, free: 9.723 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.5294, allocations: 8.125 kB / 0.5904 GB, free: 9.715 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004124/0.5298, allocations: 225.6 kB / 0.5906 GB, free: 9.484 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.5303, allocations: 48.08 kB / 0.5906 GB, free: 9.438 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.5339, allocations: 2.242 MB / 0.5928 GB, free: 7.082 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.5342, allocations: 0.7049 MB / 0.5935 GB, free: 6.352 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004251/0.5347, allocations: 50.09 kB / 0.5935 GB, free: 6.305 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.5348, allocations: 35.42 kB / 0.5936 GB, free: 6.27 MB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5348, allocations: 7.938 kB / 0.5936 GB, free: 6.262 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.5548, allocations: 7.597 MB / 0.601 GB, free: 14.73 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.555, allocations: 232.7 kB / 0.6012 GB, free: 14.47 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/2.523, allocations: 0 / 0.6012 GB, free: 14.47 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches