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: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 99.84 kB / 15.98 MB, free: 6.352 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.00122/0.00122, allocations: 189.6 kB / 16.91 MB, free: 6.191 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.786/1.786, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.415/0.415, allocations: 43.49 MB / 313.6 MB, free: 8.324 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.001427/0.001427, allocations: 68.44 kB / 382.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1421, allocations: 57.79 MB / 440 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.455/0.5972, allocations: 148.7 MB / 0.5749 GB, free: 7.352 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.5996, allocations: 1.487 MB / 0.5764 GB, free: 5.875 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.5998, allocations: 4 kB / 0.5764 GB, free: 5.871 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004016/0.6002, allocations: 47.8 kB / 0.5764 GB, free: 5.824 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.6015, allocations: 357 kB / 0.5768 GB, free: 5.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.6021, allocations: 152.9 kB / 0.5769 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003231/0.6024, allocations: 183.3 kB / 0.5771 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.069e-05/0.6025, allocations: 8.906 kB / 0.5771 GB, free: 5.148 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.6027, allocations: 75.7 kB / 0.5772 GB, free: 5.074 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.6029, allocations: 71.73 kB / 0.5773 GB, free: 5.004 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.6029, allocations: 4 kB / 0.5773 GB, free: 5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.6042, allocations: 0.5925 MB / 0.5778 GB, free: 4.406 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.19e-05/0.6043, allocations: 35.83 kB / 0.5779 GB, free: 4.371 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.535e-05/0.6044, allocations: 51.08 kB / 0.5779 GB, free: 4.324 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000984/0.6054, allocations: 422.9 kB / 0.5783 GB, free: 3.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.6054, allocations: 4 kB / 0.5783 GB, free: 3.906 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.027e-06/0.6054, allocations: 0 / 0.5783 GB, free: 3.906 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.6054, allocations: 3.938 kB / 0.5783 GB, free: 3.902 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.0007276/0.6062, allocations: 437.9 kB / 0.5788 GB, free: 3.434 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.6062, allocations: 11.89 kB / 0.5788 GB, free: 3.422 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/0.6085, allocations: 191.1 kB / 0.5789 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.6088, allocations: 204.2 kB / 0.5791 GB, free: 3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.6089, allocations: 12.31 kB / 0.5792 GB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.117e-05/0.6089, allocations: 15.98 kB / 0.5792 GB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000549/0.6095, allocations: 201.5 kB / 0.5794 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.6095, allocations: 0 / 0.5794 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.6096, allocations: 8 kB / 0.5794 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.6096, allocations: 0 / 0.5794 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005858/0.6102, allocations: 239.8 kB / 0.5796 GB, free: 2.527 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.001891/0.6121, allocations: 0.6548 MB / 0.5802 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004868/0.6126, allocations: 194.4 kB / 0.5804 GB, free: 1.645 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.6128, allocations: 93.31 kB / 0.5805 GB, free: 1.551 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/0.613, allocations: 101.1 kB / 0.5806 GB, free: 1.434 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.613, allocations: 34.56 kB / 0.5806 GB, free: 1.391 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.6131, allocations: 0 / 0.5806 GB, free: 1.391 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.005989/0.619, allocations: 1.527 MB / 0.5821 GB, free: 15.76 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.6191, allocations: 51.41 kB / 0.5822 GB, free: 15.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.958e-05/0.6192, allocations: 115.2 kB / 0.5823 GB, free: 15.58 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.6193, allocations: 25.7 kB / 0.5823 GB, free: 15.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/0.6193, allocations: 108.2 kB / 0.5824 GB, free: 15.44 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.266e-05/0.6194, allocations: 67 kB / 0.5825 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.6195, allocations: 49.69 kB / 0.5825 GB, free: 15.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.6196, allocations: 318.8 kB / 0.5828 GB, free: 15 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.6199, allocations: 91.94 kB / 0.5829 GB, free: 14.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.6201, allocations: 128.2 kB / 0.583 GB, free: 14.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.6206, allocations: 219 kB / 0.5833 GB, free: 14.55 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.6206, allocations: 4 kB / 0.5833 GB, free: 14.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006863/0.6213, allocations: 290.1 kB / 0.5835 GB, free: 14.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.6213, allocations: 4 kB / 0.5835 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.6214, allocations: 3.938 kB / 0.5835 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.6215, allocations: 24.84 kB / 0.5836 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/0.622, allocations: 55.89 kB / 0.5836 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004/0.6224, allocations: 0.5399 MB / 0.5841 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.6228, allocations: 15.88 kB / 0.5842 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.6228, allocations: 12 kB / 0.5842 GB, free: 13.57 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.0001438/0.623, allocations: 129.7 kB / 0.5843 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.205e-05/0.623, allocations: 11.91 kB / 0.5843 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008175/0.6239, allocations: 317.6 kB / 0.5846 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.6239, allocations: 4 kB / 0.5846 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.6239, allocations: 7.938 kB / 0.5846 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.6239, allocations: 0 / 0.5846 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.6252, allocations: 0.664 MB / 0.5853 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6252, allocations: 0 / 0.5853 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004582/0.6257, allocations: 52.05 kB / 0.5853 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.6258, allocations: 24.78 kB / 0.5853 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/0.6259, allocations: 11.98 kB / 0.5854 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/0.6272, allocations: 1.363 MB / 0.5867 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.6273, allocations: 4.031 kB / 0.5867 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009248/0.6282, allocations: 450.2 kB / 0.5871 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.6283, allocations: 88.98 kB / 0.5872 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.6283, allocations: 5.062 kB / 0.5872 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.6287, allocations: 19.95 kB / 0.5872 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.6287, allocations: 19.92 kB / 0.5872 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.6288, allocations: 11.98 kB / 0.5873 GB, free: 10.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.379e-05/0.6289, allocations: 93.22 kB / 0.5873 GB, free: 10.05 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.6289, allocations: 0 / 0.5873 GB, free: 10.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000571/0.6294, allocations: 123.9 kB / 0.5875 GB, free: 9.934 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.0007629/0.6302, allocations: 254.9 kB / 0.5877 GB, free: 9.676 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006767/0.6309, allocations: 243.8 kB / 0.5879 GB, free: 9.438 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6309, allocations: 0 / 0.5879 GB, free: 9.438 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004072/0.6313, allocations: 235.1 kB / 0.5882 GB, free: 9.195 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.6318, allocations: 47.52 kB / 0.5882 GB, free: 9.152 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009301/0.6327, allocations: 0.5183 MB / 0.5887 GB, free: 8.605 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.633, allocations: 0.7085 MB / 0.5894 GB, free: 7.871 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004214/0.6334, allocations: 54.97 kB / 0.5895 GB, free: 7.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.6336, allocations: 23.42 kB / 0.5895 GB, free: 7.797 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6336, allocations: 0 / 0.5895 GB, free: 7.797 MB / 462.1 MB Notification: Performance of Templates: time 0.01123/0.6448, allocations: 6.216 MB / 0.5956 GB, free: 1.602 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/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