Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 94.02 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.0008873/0.0008874, allocations: 181.2 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.343/1.343, allocations: 223.2 MB / 241.8 MB, free: 14.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2079/0.2079, allocations: 44.23 MB / 337.1 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003109, allocations: 8.812 kB / 409.5 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1293, allocations: 61.92 MB / 471.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4584/0.5877, allocations: 155.7 MB / 0.6125 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.5989, allocations: 7.25 MB / 0.6195 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.6, allocations: 27.75 kB / 0.6196 GB, free: 14.76 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.6014, allocations: 350.3 kB / 0.6199 GB, free: 14.42 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00521/0.6066, allocations: 1.769 MB / 0.6216 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004567/0.6112, allocations: 1.562 MB / 0.6231 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002067/0.6133, allocations: 1.224 MB / 0.6243 GB, free: 9.863 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000764/0.6141, allocations: 0.5058 MB / 0.6248 GB, free: 9.344 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003176/0.6172, allocations: 1.383 MB / 0.6262 GB, free: 7.961 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009076/0.6182, allocations: 0.6115 MB / 0.6268 GB, free: 7.348 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.6183, allocations: 44 kB / 0.6268 GB, free: 7.305 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007669/0.626, allocations: 4.315 MB / 0.631 GB, free: 2.984 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007083/0.6267, allocations: 347.1 kB / 0.6314 GB, free: 2.645 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004226/0.6272, allocations: 213.3 kB / 0.6316 GB, free: 2.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005739/0.6329, allocations: 2.331 MB / 0.6338 GB, free: 96 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.6329, allocations: 0 / 0.6338 GB, free: 96 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.6329, allocations: 0 / 0.6338 GB, free: 96 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.633, allocations: 4 kB / 0.6339 GB, free: 92 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00385/0.6368, allocations: 1.493 MB / 0.6353 GB, free: 14.54 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.6369, allocations: 16.56 kB / 0.6353 GB, free: 14.53 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004091/0.6373, allocations: 107 kB / 0.6354 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.6384, allocations: 0.5706 MB / 0.636 GB, free: 13.81 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.6385, allocations: 115.1 kB / 0.6361 GB, free: 13.69 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.6386, allocations: 79.89 kB / 0.6362 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.6405, allocations: 1.147 MB / 0.6373 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.6405, allocations: 0 / 0.6373 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.6406, allocations: 43.94 kB / 0.6373 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-05/0.6407, allocations: 57.97 kB / 0.6374 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.6426, allocations: 1.155 MB / 0.6385 GB, free: 11.16 MB / 478.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.007004/0.6496, allocations: 5.013 MB / 0.6434 GB, free: 5.812 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.6514, allocations: 0.8262 MB / 0.6442 GB, free: 4.977 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/0.6527, allocations: 1.619 MB / 0.6458 GB, free: 3.008 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.6528, allocations: 44 kB / 0.6458 GB, free: 2.957 MB / 478.1 MB Notification: Performance of pre-optimization done (n=70): time 2.425e-06/0.6528, allocations: 4 kB / 0.6458 GB, free: 2.953 MB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.01353/0.6663, allocations: 4.134 MB / 0.6499 GB, free: 14.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.389e-05/0.6664, allocations: 111.5 kB / 0.65 GB, free: 14.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00091/0.6674, allocations: 0.664 MB / 0.6506 GB, free: 13.94 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.6675, allocations: 45.64 kB / 0.6507 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.6678, allocations: 379.6 kB / 0.651 GB, free: 13.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/0.6681, allocations: 291.8 kB / 0.6513 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/0.6681, allocations: 20 kB / 0.6513 GB, free: 13.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.6683, allocations: 386.8 kB / 0.6517 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.6694, allocations: 0.4899 MB / 0.6522 GB, free: 12.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.6706, allocations: 0.7523 MB / 0.6529 GB, free: 11.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.6718, allocations: 0.5807 MB / 0.6535 GB, free: 10.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.6718, allocations: 8 kB / 0.6535 GB, free: 10.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003568/0.6754, allocations: 1.676 MB / 0.6551 GB, free: 9.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.6754, allocations: 15.95 kB / 0.6551 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.6754, allocations: 4 kB / 0.6552 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007594/0.683, allocations: 1.379 MB / 0.6565 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008109/0.6839, allocations: 151.7 kB / 0.6566 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/0.687, allocations: 1.541 MB / 0.6581 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.6882, allocations: 91.98 kB / 0.6582 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.6883, allocations: 59.91 kB / 0.6583 GB, free: 5.922 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0005879/0.6889, allocations: 297.4 kB / 0.6586 GB, free: 5.621 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.6891, allocations: 86.97 kB / 0.6587 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003481/0.6926, allocations: 1.697 MB / 0.6603 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.6926, allocations: 19.91 kB / 0.6603 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.6927, allocations: 4 kB / 0.6603 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.6927, allocations: 7.984 kB / 0.6603 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004645/0.6973, allocations: 2.64 MB / 0.6629 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.6974, allocations: 4.188 kB / 0.6629 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.6987, allocations: 259.7 kB / 0.6632 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/0.7006, allocations: 396.3 kB / 0.6636 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.341e-05/0.7007, allocations: 35.97 kB / 0.6636 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002797/0.7035, allocations: 2.276 MB / 0.6658 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.7036, allocations: 4.031 kB / 0.6658 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003988/0.7076, allocations: 2.116 MB / 0.6679 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007292/0.7083, allocations: 303.9 kB / 0.6682 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.7085, allocations: 23.98 kB / 0.6682 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008503/0.7093, allocations: 79.84 kB / 0.6683 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.7095, allocations: 60.86 kB / 0.6683 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.7096, allocations: 43.97 kB / 0.6684 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006881/0.7103, allocations: 491 kB / 0.6688 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.71e-07/0.7103, allocations: 0 / 0.6688 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002241/0.7126, allocations: 0.6558 MB / 0.6695 GB, free: 10.09 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002179/0.7147, allocations: 0.7919 MB / 0.6703 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002798/0.7176, allocations: 1.24 MB / 0.6715 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.7176, allocations: 8.875 kB / 0.6715 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/0.7194, allocations: 0.7204 MB / 0.6722 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.7218, allocations: 455.7 kB / 0.6726 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005231/0.727, allocations: 2.51 MB / 0.6751 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006877/0.7278, allocations: 1.062 MB / 0.6761 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001249/0.729, allocations: 358.2 kB / 0.6764 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.7293, allocations: 87.41 kB / 0.6765 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/0.7293, allocations: 0 / 0.6765 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of Templates: time 0.05036/0.7796, allocations: 31.84 MB / 0.7076 GB, free: 3.188 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches