Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 95.47 kB / 16.99 MB, free: 5.941 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.001338/0.001338, allocations: 180.8 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.2 MB / 241.8 MB, free: 364 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2028/0.2028, allocations: 44.23 MB / 337.1 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003683, allocations: 8.719 kB / 409.5 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1343, allocations: 61.93 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4663/0.6007, allocations: 125.5 MB / 0.583 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.6019, allocations: 0.8234 MB / 0.5838 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.697e-05/0.602, allocations: 0 / 0.5838 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.6023, allocations: 35.8 kB / 0.5838 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004876/0.6028, allocations: 207.3 kB / 0.584 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.6031, allocations: 96.03 kB / 0.5841 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.6033, allocations: 107.8 kB / 0.5842 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.021e-05/0.6034, allocations: 4 kB / 0.5842 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.6036, allocations: 91.69 kB / 0.5843 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.6037, allocations: 39.91 kB / 0.5844 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.6038, allocations: 4 kB / 0.5844 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005921/0.6044, allocations: 283.7 kB / 0.5846 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.402e-05/0.6044, allocations: 19.95 kB / 0.5847 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.898e-05/0.6045, allocations: 45.64 kB / 0.5847 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.6049, allocations: 197.4 kB / 0.5849 GB, free: 2.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.6049, allocations: 0 / 0.5849 GB, free: 2.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6049, allocations: 0 / 0.5849 GB, free: 2.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.6049, allocations: 0 / 0.5849 GB, free: 2.5 MB / 414.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.0006176/0.6055, allocations: 383.7 kB / 0.5853 GB, free: 2.082 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.6056, allocations: 8.031 kB / 0.5853 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.6076, allocations: 183.6 kB / 0.5854 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.6079, allocations: 214.8 kB / 0.5856 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.608, allocations: 8 kB / 0.5857 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.608, allocations: 8 kB / 0.5857 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/0.6085, allocations: 220.1 kB / 0.5859 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.6085, allocations: 0 / 0.5859 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.6086, allocations: 8 kB / 0.5859 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.6086, allocations: 0 / 0.5859 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.609, allocations: 171.8 kB / 0.586 GB, free: 1.223 MB / 414.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.001033/0.61, allocations: 0.5718 MB / 0.5866 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.6104, allocations: 142.5 kB / 0.5867 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.6104, allocations: 8 kB / 0.5867 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.6105, allocations: 38.55 kB / 0.5868 GB, free: 400 kB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.6105, allocations: 0 / 0.5868 GB, free: 400 kB / 414.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.005147/0.6156, allocations: 1.291 MB / 0.588 GB, free: 15.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.6157, allocations: 59.39 kB / 0.5881 GB, free: 14.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.083e-05/0.6158, allocations: 113.8 kB / 0.5882 GB, free: 14.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.6158, allocations: 29.7 kB / 0.5882 GB, free: 14.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.6159, allocations: 91.98 kB / 0.5883 GB, free: 14.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.208e-05/0.6159, allocations: 70.98 kB / 0.5884 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/0.616, allocations: 7.938 kB / 0.5884 GB, free: 14.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.6161, allocations: 326.8 kB / 0.5887 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.6163, allocations: 71.97 kB / 0.5888 GB, free: 14.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.6165, allocations: 103.4 kB / 0.5889 GB, free: 14.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.6166, allocations: 82.23 kB / 0.589 GB, free: 14.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.6166, allocations: 0 / 0.589 GB, free: 14.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004636/0.6171, allocations: 269 kB / 0.5892 GB, free: 13.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.6171, allocations: 4 kB / 0.5892 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.6172, allocations: 0 / 0.5892 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002481/0.6174, allocations: 52.77 kB / 0.5893 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.6177, allocations: 47.97 kB / 0.5893 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003988/0.6181, allocations: 0.5719 MB / 0.5899 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.6183, allocations: 8.031 kB / 0.5899 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.6184, allocations: 25.48 kB / 0.5899 GB, free: 13.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.6185, allocations: 133.3 kB / 0.59 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.6186, allocations: 15.75 kB / 0.59 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008214/0.6194, allocations: 342.2 kB / 0.5904 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.6194, allocations: 4 kB / 0.5904 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-06/0.6194, allocations: 0 / 0.5904 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.6194, allocations: 3.953 kB / 0.5904 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009392/0.6204, allocations: 0.6161 MB / 0.591 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.6204, allocations: 4 kB / 0.591 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/0.6207, allocations: 63.89 kB / 0.591 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.911e-05/0.6208, allocations: 24.8 kB / 0.5911 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.6208, allocations: 8 kB / 0.5911 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009942/0.6218, allocations: 1.276 MB / 0.5923 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6219, allocations: 4.031 kB / 0.5923 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006615/0.6225, allocations: 462.9 kB / 0.5928 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.6226, allocations: 92.91 kB / 0.5929 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.6226, allocations: 4 kB / 0.5929 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.6228, allocations: 16.02 kB / 0.5929 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.6229, allocations: 19.97 kB / 0.5929 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/0.623, allocations: 31.98 kB / 0.5929 GB, free: 9.637 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.892e-05/0.623, allocations: 87.28 kB / 0.593 GB, free: 9.551 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.623, allocations: 0 / 0.593 GB, free: 9.551 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003998/0.6234, allocations: 75.98 kB / 0.5931 GB, free: 9.477 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003369/0.6238, allocations: 159 kB / 0.5932 GB, free: 9.312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004637/0.6242, allocations: 202.8 kB / 0.5934 GB, free: 9.117 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6243, allocations: 4 kB / 0.5934 GB, free: 9.113 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.6246, allocations: 218.5 kB / 0.5936 GB, free: 8.887 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.625, allocations: 52.03 kB / 0.5937 GB, free: 8.836 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008573/0.6258, allocations: 0.5667 MB / 0.5942 GB, free: 8.234 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.6262, allocations: 0.7093 MB / 0.5949 GB, free: 7.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004229/0.6266, allocations: 81.91 kB / 0.595 GB, free: 7.422 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.6268, allocations: 55.41 kB / 0.5951 GB, free: 7.367 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.6269, allocations: 0 / 0.5951 GB, free: 7.367 MB / 430.1 MB Notification: Performance of Templates: time 0.009421/0.6363, allocations: 5.37 MB / 0.6003 GB, free: 2.012 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches