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.001139/0.00114, allocations: 101 kB / 16.26 MB, free: 5.93 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.001127/0.001127, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.494/1.494, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2225/0.2225, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.00228/0.00228, allocations: 65.17 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1171, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4923/0.6094, allocations: 150.8 MB / 0.5776 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.6112, allocations: 1.494 MB / 0.5791 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.199e-05/0.6113, allocations: 0 / 0.5791 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004192/0.6118, allocations: 48.7 kB / 0.5791 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.6129, allocations: 388.5 kB / 0.5795 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.6134, allocations: 168 kB / 0.5796 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.6137, allocations: 183.5 kB / 0.5798 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.74e-05/0.6138, allocations: 8.406 kB / 0.5798 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.6139, allocations: 78.95 kB / 0.5799 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.6141, allocations: 60.58 kB / 0.5799 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.6141, allocations: 4.5 kB / 0.58 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.6152, allocations: 0.5732 MB / 0.5805 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.6153, allocations: 29.58 kB / 0.5805 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.965e-05/0.6153, allocations: 52.89 kB / 0.5806 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005554/0.6159, allocations: 384.9 kB / 0.581 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6159, allocations: 2.438 kB / 0.581 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6159, allocations: 0 / 0.581 GB, free: 12.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.6159, allocations: 3.156 kB / 0.581 GB, free: 12.06 MB / 430.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.000545/0.6165, allocations: 431.3 kB / 0.5814 GB, free: 11.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.6165, allocations: 13.67 kB / 0.5814 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.809e-05/0.6166, allocations: 45.31 kB / 0.5814 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/0.6188, allocations: 184.5 kB / 0.5816 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.6191, allocations: 213 kB / 0.5818 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.6191, allocations: 14.34 kB / 0.5818 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.6192, allocations: 11.19 kB / 0.5818 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.6196, allocations: 200.5 kB / 0.582 GB, free: 11.37 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.6196, allocations: 0 / 0.582 GB, free: 11.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.6197, allocations: 0 / 0.582 GB, free: 11.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.6197, allocations: 1.938 kB / 0.582 GB, free: 11.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005707/0.6203, allocations: 249.8 kB / 0.5823 GB, free: 11.36 MB / 430.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.001741/0.622, allocations: 0.6665 MB / 0.5829 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.6224, allocations: 187.5 kB / 0.5831 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.6226, allocations: 96.81 kB / 0.5832 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.6228, allocations: 95.25 kB / 0.5833 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.6229, allocations: 38.5 kB / 0.5833 GB, free: 10.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.6229, allocations: 0 / 0.5833 GB, free: 10.8 MB / 430.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.005839/0.6287, allocations: 1.538 MB / 0.5848 GB, free: 10.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.6288, allocations: 53.22 kB / 0.5849 GB, free: 10.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.497e-05/0.6289, allocations: 119.5 kB / 0.585 GB, free: 9.906 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.6289, allocations: 28.83 kB / 0.585 GB, free: 9.875 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.629, allocations: 100.7 kB / 0.5851 GB, free: 9.781 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/0.629, allocations: 61.3 kB / 0.5852 GB, free: 9.734 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/0.6291, allocations: 46.69 kB / 0.5852 GB, free: 9.711 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.465e-05/0.6292, allocations: 316.8 kB / 0.5855 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.6294, allocations: 92.31 kB / 0.5856 GB, free: 9.383 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.6297, allocations: 126.1 kB / 0.5857 GB, free: 9.336 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004304/0.6301, allocations: 222.6 kB / 0.5859 GB, free: 9.285 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6301, allocations: 7.938 kB / 0.5859 GB, free: 9.277 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005811/0.6307, allocations: 284.2 kB / 0.5862 GB, free: 9.199 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.6307, allocations: 5.062 kB / 0.5862 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.6307, allocations: 2.719 kB / 0.5862 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.6309, allocations: 22.12 kB / 0.5862 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.6314, allocations: 59.98 kB / 0.5863 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003202/0.6317, allocations: 0.5398 MB / 0.5868 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.632, allocations: 9.531 kB / 0.5868 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.632, allocations: 5.281 kB / 0.5868 GB, free: 8.641 MB / 430.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.0001238/0.6322, allocations: 147 kB / 0.587 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.123e-05/0.6323, allocations: 8.781 kB / 0.587 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007246/0.633, allocations: 312.4 kB / 0.5873 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.633, allocations: 9.969 kB / 0.5873 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.633, allocations: 3.938 kB / 0.5873 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.633, allocations: 2.625 kB / 0.5873 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.6341, allocations: 0.671 MB / 0.588 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6341, allocations: 2.875 kB / 0.588 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004669/0.6346, allocations: 51.11 kB / 0.588 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-05/0.6346, allocations: 23.38 kB / 0.588 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.6347, allocations: 9.859 kB / 0.588 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000836/0.6355, allocations: 1.377 MB / 0.5894 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6355, allocations: 0 / 0.5894 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008163/0.6364, allocations: 448.8 kB / 0.5898 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.6364, allocations: 90.2 kB / 0.5899 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.6365, allocations: 10.12 kB / 0.5899 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.6368, allocations: 12.27 kB / 0.5899 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.6369, allocations: 11.67 kB / 0.5899 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.6369, allocations: 12.48 kB / 0.5899 GB, free: 6.184 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.093e-05/0.637, allocations: 89.77 kB / 0.59 GB, free: 6.105 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.637, allocations: 0 / 0.59 GB, free: 6.105 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006519/0.6376, allocations: 127.9 kB / 0.5901 GB, free: 6.086 MB / 430.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.001883/0.6395, allocations: 1.127 MB / 0.5912 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006346/0.6402, allocations: 238.9 kB / 0.5915 GB, free: 5.234 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.6402, allocations: 0 / 0.5915 GB, free: 5.234 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.6406, allocations: 240.3 kB / 0.5917 GB, free: 5.094 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.6411, allocations: 54.61 kB / 0.5918 GB, free: 5.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.6441, allocations: 2.122 MB / 0.5938 GB, free: 3.496 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.6444, allocations: 0.7108 MB / 0.5945 GB, free: 2.781 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004119/0.6448, allocations: 59.11 kB / 0.5946 GB, free: 2.742 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.645, allocations: 45.62 kB / 0.5946 GB, free: 2.727 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.645, allocations: 0 / 0.5946 GB, free: 2.727 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03332/0.6783, allocations: 7.924 MB / 0.6024 GB, free: 14.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.42, allocations: 11.48 kB / 0.6024 GB, free: 14.53 MB / 446.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches