Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009119/0.0009119, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001725/0.002637, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001318/0.002328, allocations: 455.6 kB / 11.71 MB, free: 2.457 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.034/1.034, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.107/1.141, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3/0.3, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02819/0.3282, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.394e-05, allocations: 2.312 kB / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1502/0.1502, allocations: 145.3 MB / 435.9 MB, free: 6.469 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.1517, allocations: 1.636 MB / 437.5 MB, free: 4.828 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.973e-05/0.1517, allocations: 0 / 437.5 MB, free: 4.828 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.152, allocations: 39.75 kB / 437.6 MB, free: 4.789 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007513/0.1527, allocations: 421.6 kB / 438 MB, free: 4.375 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.1531, allocations: 171.4 kB / 438.1 MB, free: 4.207 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.1533, allocations: 187.2 kB / 438.3 MB, free: 4.023 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.1534, allocations: 7.984 kB / 438.3 MB, free: 4.016 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.1535, allocations: 115.6 kB / 438.4 MB, free: 3.902 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1536, allocations: 47.88 kB / 438.5 MB, free: 3.855 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.1537, allocations: 8 kB / 438.5 MB, free: 3.848 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.1547, allocations: 0.5649 MB / 439.1 MB, free: 3.277 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.1548, allocations: 23.92 kB / 439.1 MB, free: 3.254 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.1548, allocations: 31.94 kB / 439.1 MB, free: 3.223 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005097/0.1553, allocations: 371 kB / 439.5 MB, free: 2.859 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/0.1554, allocations: 0 / 439.5 MB, free: 2.859 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1554, allocations: 0 / 439.5 MB, free: 2.859 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.1554, allocations: 3.938 kB / 439.5 MB, free: 2.855 MB / 426.7 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.0004778/0.1559, allocations: 384.7 kB / 439.9 MB, free: 2.457 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.741e-05/0.1559, allocations: 8.031 kB / 439.9 MB, free: 2.449 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009999/0.1569, allocations: 330.2 kB / 440.2 MB, free: 2.109 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.1571, allocations: 133.6 kB / 440.3 MB, free: 1.953 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1571, allocations: 12.31 kB / 440.3 MB, free: 1.941 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.1571, allocations: 8 kB / 440.3 MB, free: 1.934 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.1573, allocations: 234.2 kB / 440.6 MB, free: 1.676 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.1573, allocations: 0 / 440.6 MB, free: 1.676 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.1574, allocations: 8 kB / 440.6 MB, free: 1.668 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1574, allocations: 0 / 440.6 MB, free: 1.668 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.1575, allocations: 99.89 kB / 440.7 MB, free: 1.57 MB / 426.7 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.0007318/0.1582, allocations: 365.7 kB / 441 MB, free: 1.195 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.1584, allocations: 124.9 kB / 441.2 MB, free: 1.066 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.62e-05/0.1584, allocations: 60.83 kB / 441.2 MB, free: 1.004 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.984e-05/0.1585, allocations: 8 kB / 441.2 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.1586, allocations: 38.55 kB / 441.3 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.1586, allocations: 3.938 kB / 441.3 MB, free: 0.9453 MB / 426.7 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.2049/0.3634, allocations: 1 MB / 442.3 MB, free: 9.543 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.3635, allocations: 57.61 kB / 442.3 MB, free: 9.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.784e-05/0.3635, allocations: 115.3 kB / 442.4 MB, free: 9.375 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.3636, allocations: 29.67 kB / 442.5 MB, free: 9.344 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.3636, allocations: 100.5 kB / 442.6 MB, free: 9.262 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/0.3637, allocations: 72.62 kB / 442.6 MB, free: 9.223 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.011e-05/0.3637, allocations: 50.95 kB / 442.7 MB, free: 9.203 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.912e-05/0.3638, allocations: 320.9 kB / 443 MB, free: 8.891 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.793e-05/0.3639, allocations: 39.98 kB / 443 MB, free: 8.891 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.364, allocations: 74.2 kB / 443.1 MB, free: 8.859 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.3641, allocations: 138.5 kB / 443.2 MB, free: 8.824 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3641, allocations: 0.6875 kB / 443.2 MB, free: 8.824 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002943/0.3644, allocations: 178.4 kB / 443.4 MB, free: 8.781 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3645, allocations: 6.062 kB / 443.4 MB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3645, allocations: 0.9375 kB / 443.4 MB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001263/0.3646, allocations: 21.44 kB / 443.4 MB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.3649, allocations: 73.39 kB / 443.5 MB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006607/0.3656, allocations: 1.236 MB / 444.8 MB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.3657, allocations: 9.719 kB / 444.8 MB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.3658, allocations: 4.062 kB / 444.8 MB, free: 7.617 MB / 426.7 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.743e-05/0.3658, allocations: 126.6 kB / 444.9 MB, free: 7.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.3659, allocations: 20.2 kB / 444.9 MB, free: 7.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.3662, allocations: 207.3 kB / 445.1 MB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3662, allocations: 2.688 kB / 445.1 MB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.3662, allocations: 0 / 445.1 MB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3662, allocations: 2.094 kB / 445.1 MB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004559/0.3666, allocations: 399.3 kB / 445.5 MB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3667, allocations: 0 / 445.5 MB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.3669, allocations: 72.98 kB / 445.6 MB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.3669, allocations: 7.141 kB / 445.6 MB, free: 7.227 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-05/0.367, allocations: 20.11 kB / 445.6 MB, free: 7.219 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.367, allocations: 9.016 kB / 445.6 MB, free: 7.219 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000453/0.3675, allocations: 1.158 MB / 446.8 MB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.3675, allocations: 2.234 kB / 446.8 MB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.3678, allocations: 349.1 kB / 447.1 MB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.3678, allocations: 7.094 kB / 447.1 MB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.368, allocations: 5.734 kB / 447.1 MB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.368, allocations: 16.98 kB / 447.1 MB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.368, allocations: 9.141 kB / 447.1 MB, free: 5.914 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.603e-05/0.368, allocations: 19.64 kB / 447.2 MB, free: 5.906 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.368, allocations: 0.9062 kB / 447.2 MB, free: 5.906 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003345/0.3683, allocations: 126.4 kB / 447.3 MB, free: 5.906 MB / 426.7 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.0003556/0.3687, allocations: 218.6 kB / 447.5 MB, free: 5.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.369, allocations: 255.8 kB / 447.8 MB, free: 5.715 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.369, allocations: 3 kB / 447.8 MB, free: 5.715 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3691, allocations: 201.8 kB / 448 MB, free: 5.594 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.3693, allocations: 73.27 kB / 448 MB, free: 5.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.3711, allocations: 367.1 kB / 448.4 MB, free: 5.398 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.601e-05/0.3711, allocations: 73.47 kB / 448.5 MB, free: 5.328 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000186/0.3713, allocations: 50.88 kB / 448.5 MB, free: 5.324 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.3715, allocations: 95.45 kB / 448.6 MB, free: 5.277 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3715, allocations: 0 / 448.6 MB, free: 5.277 MB / 426.7 MB Notification: Performance of Templates: time 0.007836/0.3793, allocations: 6.726 MB / 455.3 MB, free: 4.98 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4159517139196396]