Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",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.007092/0.007092, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.002/0.002, allocations: 192.2 kB / 16.79 MB, free: 6.238 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.412/1.412, allocations: 205.1 MB / 222.6 MB, free: 4.73 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.3157/0.3157, allocations: 43.5 MB / 313.5 MB, free: 8.457 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.001377/0.001378, allocations: 66.56 kB / 382.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1209, allocations: 57.78 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3557/0.4766, allocations: 148.4 MB / 0.5745 GB, free: 7.715 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.4781, allocations: 1.013 MB / 0.5755 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.4781, allocations: 0 / 0.5755 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.4785, allocations: 23.83 kB / 0.5755 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005639/0.479, allocations: 209 kB / 0.5757 GB, free: 6.492 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.4794, allocations: 111.8 kB / 0.5758 GB, free: 6.391 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.4796, allocations: 207.2 kB / 0.576 GB, free: 6.188 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.552e-05/0.4797, allocations: 10.66 kB / 0.576 GB, free: 6.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.4799, allocations: 87.69 kB / 0.5761 GB, free: 6.094 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.48, allocations: 51.77 kB / 0.5761 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.4801, allocations: 6.719 kB / 0.5761 GB, free: 6.039 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000484/0.4806, allocations: 271.6 kB / 0.5764 GB, free: 5.773 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.96e-05/0.4806, allocations: 15.92 kB / 0.5764 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.629e-05/0.4807, allocations: 43.8 kB / 0.5765 GB, free: 5.715 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.4811, allocations: 291.3 kB / 0.5767 GB, free: 5.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4811, allocations: 0 / 0.5767 GB, free: 5.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.4812, allocations: 0 / 0.5767 GB, free: 5.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.4812, allocations: 0 / 0.5767 GB, free: 5.43 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005224/0.4817, allocations: 415 kB / 0.5771 GB, free: 4.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.4817, allocations: 8.031 kB / 0.5771 GB, free: 4.973 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.197e-05/0.4818, allocations: 42.75 kB / 0.5772 GB, free: 4.922 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/0.4837, allocations: 195.1 kB / 0.5774 GB, free: 4.734 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.484, allocations: 196.3 kB / 0.5776 GB, free: 4.504 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.484, allocations: 11.88 kB / 0.5776 GB, free: 4.492 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.484, allocations: 8 kB / 0.5776 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005008/0.4845, allocations: 220 kB / 0.5778 GB, free: 4.254 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4846, allocations: 4 kB / 0.5778 GB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.4846, allocations: 8 kB / 0.5778 GB, free: 4.242 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4846, allocations: 0 / 0.5778 GB, free: 4.242 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/0.4851, allocations: 171.8 kB / 0.578 GB, free: 4.074 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.001042/0.4861, allocations: 0.5788 MB / 0.5785 GB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.4864, allocations: 134.5 kB / 0.5787 GB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.4866, allocations: 72.81 kB / 0.5787 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.4866, allocations: 4 kB / 0.5787 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.4866, allocations: 34.56 kB / 0.5788 GB, free: 3.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.4867, allocations: 0 / 0.5788 GB, free: 3.18 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.005273/0.4919, allocations: 1.301 MB / 0.58 GB, free: 1.793 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.492, allocations: 55.41 kB / 0.5801 GB, free: 1.727 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.506e-05/0.4921, allocations: 105.8 kB / 0.5802 GB, free: 1.613 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.4921, allocations: 37.7 kB / 0.5802 GB, free: 1.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.4922, allocations: 93.06 kB / 0.5803 GB, free: 1.477 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.4922, allocations: 66.95 kB / 0.5804 GB, free: 1.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.032e-05/0.4923, allocations: 53.69 kB / 0.5804 GB, free: 1.352 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.4924, allocations: 322.8 kB / 0.5807 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.4926, allocations: 67.97 kB / 0.5808 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.4928, allocations: 117.7 kB / 0.5809 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.4931, allocations: 179.8 kB / 0.5811 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4931, allocations: 0 / 0.5811 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004527/0.4935, allocations: 265.9 kB / 0.5813 GB, free: 392 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.4936, allocations: 8 kB / 0.5813 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.4936, allocations: 0 / 0.5813 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/0.4938, allocations: 51.36 kB / 0.5814 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.4941, allocations: 57.28 kB / 0.5814 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003934/0.4945, allocations: 0.5679 MB / 0.582 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.4947, allocations: 8.031 kB / 0.582 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.4947, allocations: 27.98 kB / 0.582 GB, free: 15.64 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.0001081/0.4948, allocations: 121.8 kB / 0.5822 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.4949, allocations: 7.906 kB / 0.5822 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007674/0.4957, allocations: 348.5 kB / 0.5825 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.4957, allocations: 3.938 kB / 0.5825 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.4957, allocations: 0 / 0.5825 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.4957, allocations: 7.984 kB / 0.5825 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008778/0.4966, allocations: 0.6227 MB / 0.5831 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4966, allocations: 4.094 kB / 0.5831 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/0.4969, allocations: 59.95 kB / 0.5832 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.756e-05/0.497, allocations: 24.84 kB / 0.5832 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.497, allocations: 11.98 kB / 0.5832 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007703/0.4978, allocations: 1.267 MB / 0.5844 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4978, allocations: 3.938 kB / 0.5845 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006125/0.4985, allocations: 433.3 kB / 0.5849 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.4985, allocations: 89.03 kB / 0.5849 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.4985, allocations: 11.94 kB / 0.585 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.4988, allocations: 15.92 kB / 0.585 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.4988, allocations: 23.97 kB / 0.585 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.4989, allocations: 27.94 kB / 0.585 GB, free: 12.33 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.042e-05/0.4989, allocations: 91.33 kB / 0.5851 GB, free: 12.24 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.623e-06/0.4989, allocations: 0 / 0.5851 GB, free: 12.24 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000379/0.4993, allocations: 83.94 kB / 0.5852 GB, free: 12.16 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 (21): * Single equations (assignments): 20 * 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.001084/0.5004, allocations: 1.021 MB / 0.5862 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004583/0.5009, allocations: 203.1 kB / 0.5864 GB, free: 10.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.5009, allocations: 0 / 0.5864 GB, free: 10.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.5012, allocations: 226.9 kB / 0.5866 GB, free: 10.67 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.5017, allocations: 52.27 kB / 0.5866 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.504, allocations: 2.088 MB / 0.5887 GB, free: 8.422 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.5043, allocations: 0.7049 MB / 0.5894 GB, free: 7.691 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004216/0.5047, allocations: 77.91 kB / 0.5895 GB, free: 7.621 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.5049, allocations: 75.39 kB / 0.5895 GB, free: 7.547 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5049, allocations: 3.938 kB / 0.5895 GB, free: 7.543 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.5237, allocations: 6.991 MB / 0.5964 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.524, allocations: 218.8 kB / 0.5966 GB, free: 348 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.364, allocations: 3.938 kB / 0.5966 GB, free: 344 kB / 462.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches