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.001126/0.001126, allocations: 100.5 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.001225/0.001225, allocations: 190.9 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.491/1.491, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2147/0.2147, 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.002891/0.002891, allocations: 70.78 kB / 382.8 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1373, allocations: 57.79 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4477/0.585, allocations: 150.8 MB / 0.5776 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.5868, allocations: 1.49 MB / 0.579 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.968e-05/0.5869, allocations: 7.938 kB / 0.5791 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.5873, allocations: 56.92 kB / 0.5791 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009699/0.5883, allocations: 382.5 kB / 0.5795 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.5888, allocations: 169 kB / 0.5796 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.5891, allocations: 181 kB / 0.5798 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.154e-05/0.5892, allocations: 4.344 kB / 0.5798 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.5894, allocations: 80.22 kB / 0.5799 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.5895, allocations: 57.53 kB / 0.5799 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.5896, allocations: 5.031 kB / 0.5799 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.5908, allocations: 0.5745 MB / 0.5805 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.362e-05/0.5909, allocations: 34.09 kB / 0.5805 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.207e-05/0.591, allocations: 45.73 kB / 0.5806 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007122/0.5917, allocations: 387.8 kB / 0.581 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5917, allocations: 2.438 kB / 0.581 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5917, allocations: 0 / 0.581 GB, free: 12.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.5917, allocations: 0 / 0.581 GB, free: 12.05 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.0006738/0.5924, allocations: 439.5 kB / 0.5814 GB, free: 11.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.5925, allocations: 14.7 kB / 0.5814 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.658e-05/0.5925, allocations: 45.25 kB / 0.5814 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/0.5949, allocations: 188.3 kB / 0.5816 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.5951, allocations: 209 kB / 0.5818 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.5951, allocations: 6.844 kB / 0.5818 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/0.5952, allocations: 10.47 kB / 0.5818 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.5957, allocations: 208.2 kB / 0.582 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.5958, allocations: 3.938 kB / 0.582 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.5958, allocations: 6.438 kB / 0.582 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.5958, allocations: 0 / 0.582 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006101/0.5964, allocations: 242.9 kB / 0.5823 GB, free: 11.35 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.001852/0.5983, allocations: 0.6658 MB / 0.5829 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.5988, allocations: 191.2 kB / 0.5831 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.599, allocations: 93.53 kB / 0.5832 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/0.5992, allocations: 99.17 kB / 0.5833 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.5992, allocations: 34.19 kB / 0.5833 GB, free: 10.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.5992, 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.005785/0.605, allocations: 1.527 MB / 0.5848 GB, free: 10.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.6051, allocations: 53.78 kB / 0.5849 GB, free: 10.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.362e-05/0.6052, allocations: 117.2 kB / 0.585 GB, free: 9.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.6052, allocations: 33.69 kB / 0.585 GB, free: 9.871 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.6053, allocations: 99.72 kB / 0.5851 GB, free: 9.777 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.068e-05/0.6053, allocations: 69.47 kB / 0.5852 GB, free: 9.727 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.963e-05/0.6054, allocations: 44.89 kB / 0.5852 GB, free: 9.707 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6056, allocations: 320.7 kB / 0.5855 GB, free: 9.391 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.6058, allocations: 84.89 kB / 0.5856 GB, free: 9.379 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.606, allocations: 130 kB / 0.5857 GB, free: 9.328 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.6064, allocations: 222.8 kB / 0.5859 GB, free: 9.281 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6064, allocations: 3.938 kB / 0.5859 GB, free: 9.277 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005783/0.607, allocations: 287.8 kB / 0.5862 GB, free: 9.195 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.6071, allocations: 4.75 kB / 0.5862 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.6071, allocations: 6.578 kB / 0.5862 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/0.6072, allocations: 22.56 kB / 0.5862 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004718/0.6077, allocations: 52.59 kB / 0.5863 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003528/0.6081, allocations: 0.5374 MB / 0.5868 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.6084, allocations: 10.03 kB / 0.5868 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.6084, allocations: 14.14 kB / 0.5868 GB, free: 8.633 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.0001212/0.6085, allocations: 134.2 kB / 0.587 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.6086, allocations: 12.81 kB / 0.587 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007505/0.6094, allocations: 317.1 kB / 0.5873 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.6094, allocations: 10.78 kB / 0.5873 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6094, allocations: 7.938 kB / 0.5873 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.6094, allocations: 2.75 kB / 0.5873 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.6105, allocations: 0.67 MB / 0.588 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6105, allocations: 6.828 kB / 0.588 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.611, allocations: 51.33 kB / 0.588 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.261e-05/0.6111, allocations: 20.88 kB / 0.588 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.6111, allocations: 7.781 kB / 0.588 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009423/0.6121, allocations: 1.368 MB / 0.5894 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6121, allocations: 0 / 0.5894 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008095/0.6129, allocations: 453.5 kB / 0.5898 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.613, allocations: 93.59 kB / 0.5899 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.613, allocations: 2.844 kB / 0.5899 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/0.6134, allocations: 12.19 kB / 0.5899 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.6134, allocations: 19.34 kB / 0.5899 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.6134, allocations: 7.656 kB / 0.5899 GB, free: 6.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.715e-05/0.6135, allocations: 94.44 kB / 0.59 GB, free: 6.098 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6135, allocations: 0 / 0.59 GB, free: 6.098 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000557/0.6141, allocations: 134.7 kB / 0.5902 GB, free: 6.074 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.001607/0.6157, allocations: 1.123 MB / 0.5913 GB, free: 5.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006176/0.6163, allocations: 234.5 kB / 0.5915 GB, free: 5.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.6163, allocations: 2.406 kB / 0.5915 GB, free: 5.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.6167, allocations: 235.3 kB / 0.5917 GB, free: 5.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.6172, allocations: 58.77 kB / 0.5918 GB, free: 5.062 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.6202, allocations: 2.128 MB / 0.5938 GB, free: 3.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.6205, allocations: 0.7107 MB / 0.5945 GB, free: 2.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004172/0.621, allocations: 54.64 kB / 0.5946 GB, free: 2.734 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.6211, allocations: 37.7 kB / 0.5946 GB, free: 2.723 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.6211, allocations: 0 / 0.5946 GB, free: 2.723 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.6515, allocations: 7.924 MB / 0.6024 GB, free: 14.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.23, allocations: 14.23 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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