Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001101/0.001102, allocations: 101.2 kB / 16.94 MB, free: 6.184 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.001054/0.001054, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.332/1.332, allocations: 205.1 MB / 223.7 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.2304/0.2304, allocations: 43.52 MB / 314.6 MB, free: 0.5352 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.001529/0.001529, allocations: 68.23 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1437, allocations: 57.79 MB / 441.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5547/0.6985, allocations: 196.4 MB / 0.6227 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01466/0.7132, allocations: 10.28 MB / 0.6327 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.7143, allocations: 19.88 kB / 0.6327 GB, free: 4.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.7157, allocations: 449.4 kB / 0.6332 GB, free: 4.148 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007864/0.7235, allocations: 2.566 MB / 0.6357 GB, free: 1.578 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007992/0.7315, allocations: 2.642 MB / 0.6383 GB, free: 14.94 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00309/0.7346, allocations: 2.192 MB / 0.6404 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008171/0.7355, allocations: 0.6033 MB / 0.641 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004753/0.7402, allocations: 1.958 MB / 0.6429 GB, free: 10.17 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.7415, allocations: 0.8606 MB / 0.6437 GB, free: 9.305 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001733/0.7417, allocations: 96 kB / 0.6438 GB, free: 9.211 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01158/0.7533, allocations: 5.553 MB / 0.6493 GB, free: 3.648 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007865/0.7542, allocations: 434.9 kB / 0.6497 GB, free: 3.223 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008561/0.755, allocations: 0.5368 MB / 0.6502 GB, free: 2.684 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01306/0.7681, allocations: 4.057 MB / 0.6542 GB, free: 14.62 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.7682, allocations: 0 / 0.6542 GB, free: 14.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.7682, allocations: 0 / 0.6542 GB, free: 14.62 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.864e-05/0.7683, allocations: 4 kB / 0.6542 GB, free: 14.61 MB / 478.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.004996/0.7733, allocations: 1.789 MB / 0.6559 GB, free: 12.77 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.7733, allocations: 11.89 kB / 0.6559 GB, free: 12.76 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004502/0.7738, allocations: 106.9 kB / 0.656 GB, free: 12.65 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009907/0.7748, allocations: 0.6014 MB / 0.6566 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.7749, allocations: 113.4 kB / 0.6567 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.7751, allocations: 75.89 kB / 0.6568 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.777, allocations: 1.171 MB / 0.6579 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.777, allocations: 0 / 0.6579 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.7771, allocations: 32 kB / 0.658 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.7773, allocations: 65.91 kB / 0.658 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.7792, allocations: 1.171 MB / 0.6592 GB, free: 9.324 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.006842/0.7861, allocations: 5.013 MB / 0.6641 GB, free: 3.977 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.788, allocations: 0.8236 MB / 0.6649 GB, free: 3.148 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006463/0.7886, allocations: 430.2 kB / 0.6653 GB, free: 2.727 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001817/0.7905, allocations: 1.88 MB / 0.6671 GB, free: 468 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.007e-05/0.7905, allocations: 47.12 kB / 0.6672 GB, free: 408 kB / 478.1 MB Notification: Performance of pre-optimization done (n=70): time 3.186e-06/0.7906, allocations: 3.938 kB / 0.6672 GB, free: 404 kB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.01471/0.8053, allocations: 4.032 MB / 0.6711 GB, free: 12.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.8054, allocations: 115.5 kB / 0.6712 GB, free: 12.17 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009328/0.8063, allocations: 0.6641 MB / 0.6719 GB, free: 11.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.8064, allocations: 41.7 kB / 0.6719 GB, free: 11.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/0.8067, allocations: 379.6 kB / 0.6723 GB, free: 11.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.807, allocations: 295.8 kB / 0.6725 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003528/0.8074, allocations: 202.4 kB / 0.6727 GB, free: 10.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.8076, allocations: 394.7 kB / 0.6731 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.8087, allocations: 493.7 kB / 0.6736 GB, free: 9.699 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.8099, allocations: 0.7538 MB / 0.6743 GB, free: 8.836 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002425/0.8124, allocations: 1.285 MB / 0.6756 GB, free: 7.441 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.8124, allocations: 4 kB / 0.6756 GB, free: 7.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003892/0.8163, allocations: 1.684 MB / 0.6772 GB, free: 5.742 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.8164, allocations: 15.98 kB / 0.6772 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.8164, allocations: 9.312 kB / 0.6772 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008063/0.8244, allocations: 1.327 MB / 0.6785 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008419/0.8253, allocations: 159.7 kB / 0.6787 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003197/0.8285, allocations: 1.534 MB / 0.6802 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.8296, allocations: 55.94 kB / 0.6802 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.8297, allocations: 59.98 kB / 0.6803 GB, free: 2.555 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 (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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0006674/0.8304, allocations: 293.5 kB / 0.6806 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003151/0.8307, allocations: 86.97 kB / 0.6807 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003859/0.8346, allocations: 1.643 MB / 0.6823 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/0.8346, allocations: 11.98 kB / 0.6823 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.8347, allocations: 0 / 0.6823 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.8347, allocations: 15.92 kB / 0.6823 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0061/0.8408, allocations: 2.552 MB / 0.6848 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.8408, allocations: 4 kB / 0.6848 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002113/0.843, allocations: 263.8 kB / 0.685 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002337/0.8453, allocations: 372.4 kB / 0.6854 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.8455, allocations: 27.98 kB / 0.6854 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00391/0.8494, allocations: 2.359 MB / 0.6877 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/0.8494, allocations: 7.922 kB / 0.6877 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006128/0.8556, allocations: 2.014 MB / 0.6897 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.8567, allocations: 288 kB / 0.69 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003881/0.8571, allocations: 27.94 kB / 0.69 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.8586, allocations: 60.02 kB / 0.6901 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/0.8589, allocations: 64.86 kB / 0.6901 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002206/0.8591, allocations: 55.95 kB / 0.6902 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001206/0.8603, allocations: 0.4951 MB / 0.6907 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8603, allocations: 0 / 0.6907 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003805/0.8642, allocations: 0.7066 MB / 0.6914 GB, free: 6.902 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003527/0.8677, allocations: 0.9018 MB / 0.6922 GB, free: 6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005352/0.8731, allocations: 1.444 MB / 0.6936 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.8731, allocations: 0 / 0.6936 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002374/0.8755, allocations: 0.7052 MB / 0.6943 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004083/0.8796, allocations: 0.5274 MB / 0.6948 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007197/0.8868, allocations: 2.225 MB / 0.697 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000918/0.8878, allocations: 1.039 MB / 0.698 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006495/0.8884, allocations: 111.4 kB / 0.6981 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of SimCode: time 1.383e-06/0.8885, allocations: 0 / 0.6981 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.04522/0.9337, allocations: 29.22 MB / 0.7267 GB, free: 2.641 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches