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.001474/0.001474, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 202.9 kB / 16.79 MB, free: 6.84 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.484/1.484, allocations: 205.1 MB / 222.6 MB, free: 4.758 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.3648/0.3648, allocations: 43.5 MB / 313.5 MB, free: 8.441 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.001317/0.001317, allocations: 71.89 kB / 382.1 MB, free: 8.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.107, allocations: 57.78 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4295/0.5365, allocations: 195.9 MB / 0.6208 GB, free: 8.109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.347/0.8836, allocations: 10.62 MB / 0.6312 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.8848, allocations: 26.91 kB / 0.6312 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.8865, allocations: 388.8 kB / 0.6316 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007491/0.894, allocations: 2.285 MB / 0.6338 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008366/0.9024, allocations: 2.331 MB / 0.6361 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00667/0.909, allocations: 3.202 MB / 0.6392 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.9106, allocations: 0.5116 MB / 0.6397 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006483/0.9171, allocations: 1.773 MB / 0.6415 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.9192, allocations: 0.8881 MB / 0.6423 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002323/0.9195, allocations: 45.59 kB / 0.6424 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0129/0.9324, allocations: 5.927 MB / 0.6482 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.9335, allocations: 388.7 kB / 0.6485 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.9348, allocations: 497.3 kB / 0.649 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01542/0.9502, allocations: 4.164 MB / 0.6531 GB, free: 1.148 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.9503, allocations: 1 kB / 0.6531 GB, free: 1.148 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.9503, allocations: 0 / 0.6531 GB, free: 1.148 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.554e-05/0.9503, allocations: 0 / 0.6531 GB, free: 1.148 MB / 494.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.008016/0.9584, allocations: 1.793 MB / 0.6548 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.9584, allocations: 12.06 kB / 0.6548 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006735/0.9591, allocations: 113.2 kB / 0.655 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.9606, allocations: 0.5897 MB / 0.6555 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.9608, allocations: 120.6 kB / 0.6556 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.9609, allocations: 74.06 kB / 0.6557 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.9633, allocations: 1.173 MB / 0.6569 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.9633, allocations: 4.562 kB / 0.6569 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.9634, allocations: 35.12 kB / 0.6569 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.651e-05/0.9635, allocations: 57.75 kB / 0.657 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.9658, allocations: 1.167 MB / 0.6581 GB, free: 15.64 MB / 0.4981 GB 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.00766/0.9735, allocations: 4.998 MB / 0.663 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.9755, allocations: 0.8277 MB / 0.6638 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008011/0.9764, allocations: 426.9 kB / 0.6642 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002058/0.9784, allocations: 1.89 MB / 0.666 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.9785, allocations: 44.77 kB / 0.6661 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 4.419e-06/0.9785, allocations: 5.312 kB / 0.6661 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.01536/0.9939, allocations: 4.02 MB / 0.67 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.994, allocations: 114.1 kB / 0.6701 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.995, allocations: 0.6657 MB / 0.6708 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.9952, allocations: 44.67 kB / 0.6708 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.9955, allocations: 380.6 kB / 0.6712 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/0.9958, allocations: 293.2 kB / 0.6715 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003473/0.9962, allocations: 201 kB / 0.6716 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.9964, allocations: 391.1 kB / 0.672 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009466/0.9974, allocations: 496.2 kB / 0.6725 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.9987, allocations: 0.7563 MB / 0.6732 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002427/1.001, allocations: 1.284 MB / 0.6745 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/1.001, allocations: 6.625 kB / 0.6745 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003364/1.004, allocations: 1.692 MB / 0.6761 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.005, allocations: 10.95 kB / 0.6762 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.005, allocations: 6.156 kB / 0.6762 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007419/1.012, allocations: 1.323 MB / 0.6774 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000838/1.013, allocations: 160.5 kB / 0.6776 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/1.016, allocations: 1.523 MB / 0.6791 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/1.017, allocations: 100.1 kB / 0.6792 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/1.017, allocations: 56.8 kB / 0.6792 GB, free: 7.012 MB / 0.4981 GB 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.0007328/1.018, allocations: 301 kB / 0.6795 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003404/1.018, allocations: 91.09 kB / 0.6796 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003807/1.022, allocations: 1.631 MB / 0.6812 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/1.022, allocations: 8.688 kB / 0.6812 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.022, allocations: 0 / 0.6812 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/1.022, allocations: 3.984 kB / 0.6812 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004887/1.027, allocations: 2.567 MB / 0.6837 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/1.027, allocations: 6.375 kB / 0.6837 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/1.028, allocations: 257.2 kB / 0.684 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00169/1.03, allocations: 379.5 kB / 0.6843 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.916e-05/1.03, allocations: 30.73 kB / 0.6844 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002453/1.033, allocations: 2.264 MB / 0.6866 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.033, allocations: 2.688 kB / 0.6866 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00383/1.037, allocations: 2.012 MB / 0.6885 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007744/1.037, allocations: 291.1 kB / 0.6888 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/1.037, allocations: 22.31 kB / 0.6888 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009467/1.038, allocations: 82.64 kB / 0.6889 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/1.039, allocations: 62.17 kB / 0.689 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/1.039, allocations: 50.33 kB / 0.689 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000711/1.039, allocations: 0.5008 MB / 0.6895 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.039, allocations: 0 / 0.6895 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003347/1.043, allocations: 0.7075 MB / 0.6902 GB, free: 1.34 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.003385/1.046, allocations: 0.9001 MB / 0.6911 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002812/1.049, allocations: 1.243 MB / 0.6923 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.049, allocations: 4 kB / 0.6923 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/1.051, allocations: 0.7128 MB / 0.693 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/1.054, allocations: 0.4998 MB / 0.6935 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005126/1.059, allocations: 2.484 MB / 0.6959 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007415/1.06, allocations: 1.044 MB / 0.6969 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001399/1.061, allocations: 311.1 kB / 0.6972 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/1.061, allocations: 105.6 kB / 0.6973 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of SimCode: time 1.182e-06/1.061, allocations: 0 / 0.6973 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of Templates: time 0.0558/1.117, allocations: 35.03 MB / 0.7315 GB, free: 8.312 MB / 0.545 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches