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.001117/0.001117, allocations: 101.8 kB / 16.26 MB, free: 5.973 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.001117/0.001117, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.394/1.394, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2136/0.2136, allocations: 43.52 MB / 313.9 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.002148/0.002148, allocations: 65.41 kB / 382.7 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1314, allocations: 57.79 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5869/0.7184, allocations: 196.4 MB / 0.622 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01484/0.7333, allocations: 10.28 MB / 0.6321 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.7351, allocations: 15.88 kB / 0.6321 GB, free: 4.613 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.7373, allocations: 437.5 kB / 0.6325 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009598/0.7469, allocations: 2.586 MB / 0.635 GB, free: 1.594 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009653/0.7566, allocations: 2.636 MB / 0.6376 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003759/0.7604, allocations: 2.197 MB / 0.6397 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.7617, allocations: 0.6011 MB / 0.6403 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005787/0.7675, allocations: 1.954 MB / 0.6422 GB, free: 10.19 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.7691, allocations: 0.8645 MB / 0.6431 GB, free: 9.324 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002067/0.7693, allocations: 92 kB / 0.6432 GB, free: 9.234 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01318/0.7825, allocations: 5.561 MB / 0.6486 GB, free: 3.664 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008633/0.7834, allocations: 426.9 kB / 0.649 GB, free: 3.246 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.7845, allocations: 0.5368 MB / 0.6495 GB, free: 2.707 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01233/0.7968, allocations: 4.061 MB / 0.6535 GB, free: 14.64 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.7969, allocations: 0 / 0.6535 GB, free: 14.64 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.7969, allocations: 0 / 0.6535 GB, free: 14.64 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.448e-05/0.797, allocations: 0 / 0.6535 GB, free: 14.64 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.006218/0.8032, allocations: 1.789 MB / 0.6553 GB, free: 12.79 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.8033, allocations: 15.89 kB / 0.6553 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006044/0.8039, allocations: 114.9 kB / 0.6554 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.805, allocations: 0.5897 MB / 0.656 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.8052, allocations: 121.4 kB / 0.6561 GB, free: 11.9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.8053, allocations: 67.91 kB / 0.6561 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.8074, allocations: 1.17 MB / 0.6573 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.8074, allocations: 3.938 kB / 0.6573 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.675e-05/0.8075, allocations: 35.98 kB / 0.6573 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.117e-05/0.8076, allocations: 61.97 kB / 0.6574 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.8094, allocations: 1.171 MB / 0.6585 GB, free: 9.344 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.007061/0.8165, allocations: 5.02 MB / 0.6634 GB, free: 3.988 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.8181, allocations: 0.8139 MB / 0.6642 GB, free: 3.172 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006269/0.8188, allocations: 430.2 kB / 0.6646 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001721/0.8205, allocations: 1.888 MB / 0.6665 GB, free: 484 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.8206, allocations: 47.12 kB / 0.6665 GB, free: 424 kB / 478.1 MB Notification: Performance of pre-optimization done (n=70): time 3.276e-06/0.8206, allocations: 0 / 0.6665 GB, free: 424 kB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.01358/0.8342, allocations: 4.036 MB / 0.6705 GB, free: 12.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.8343, allocations: 115.5 kB / 0.6706 GB, free: 12.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009822/0.8353, allocations: 0.6563 MB / 0.6712 GB, free: 11.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.677e-05/0.8354, allocations: 45.7 kB / 0.6712 GB, free: 11.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.8358, allocations: 383.6 kB / 0.6716 GB, free: 11.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/0.8361, allocations: 291.8 kB / 0.6719 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003406/0.8364, allocations: 198.4 kB / 0.6721 GB, free: 10.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.8366, allocations: 394.7 kB / 0.6725 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000976/0.8376, allocations: 0.4899 MB / 0.6729 GB, free: 9.715 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.8388, allocations: 0.7532 MB / 0.6737 GB, free: 8.852 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002243/0.841, allocations: 1.289 MB / 0.6749 GB, free: 7.453 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.8411, allocations: 4 kB / 0.6749 GB, free: 7.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003485/0.8446, allocations: 1.681 MB / 0.6766 GB, free: 5.758 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.8446, allocations: 11.94 kB / 0.6766 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.8446, allocations: 8 kB / 0.6766 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007043/0.8517, allocations: 1.335 MB / 0.6779 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/0.8523, allocations: 155.7 kB / 0.678 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/0.855, allocations: 1.533 MB / 0.6795 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009361/0.8559, allocations: 59.95 kB / 0.6796 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.8561, allocations: 63.97 kB / 0.6797 GB, free: 2.562 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.0006453/0.8568, allocations: 293.5 kB / 0.6799 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/0.8571, allocations: 86.97 kB / 0.68 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00371/0.8608, allocations: 1.639 MB / 0.6816 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/0.8608, allocations: 8 kB / 0.6816 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.8609, allocations: 4 kB / 0.6816 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.8609, allocations: 7.922 kB / 0.6816 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005138/0.866, allocations: 2.556 MB / 0.6841 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.866, allocations: 3.938 kB / 0.6841 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.8674, allocations: 263.8 kB / 0.6844 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/0.8691, allocations: 376.2 kB / 0.6848 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.8692, allocations: 39.97 kB / 0.6848 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/0.8721, allocations: 2.343 MB / 0.6871 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.8721, allocations: 4.031 kB / 0.6871 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003993/0.8761, allocations: 2.022 MB / 0.6891 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007442/0.8769, allocations: 292 kB / 0.6893 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/0.8772, allocations: 23.94 kB / 0.6894 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.8782, allocations: 51.95 kB / 0.6894 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.8784, allocations: 61 kB / 0.6895 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001892/0.8786, allocations: 63.95 kB / 0.6895 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008632/0.8795, allocations: 0.4951 MB / 0.69 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.71e-07/0.8795, allocations: 0 / 0.69 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002898/0.8824, allocations: 0.7066 MB / 0.6907 GB, free: 6.918 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.00303/0.8855, allocations: 0.8999 MB / 0.6916 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003613/0.8891, allocations: 1.436 MB / 0.693 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/0.8891, allocations: 4 kB / 0.693 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.8909, allocations: 0.7132 MB / 0.6937 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/0.8939, allocations: 0.519 MB / 0.6942 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005538/0.8994, allocations: 2.173 MB / 0.6963 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008683/0.9003, allocations: 1.051 MB / 0.6973 GB, free: 56 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00136/0.9017, allocations: 308 kB / 0.6976 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/0.9022, allocations: 99.41 kB / 0.6977 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of SimCode: time 1.032e-06/0.9022, allocations: 0 / 0.6977 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of Templates: time 0.0662/0.9684, allocations: 36.12 MB / 0.733 GB, free: 11.55 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","/var/lib/jenkins/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