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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 106 kB / 21.22 MB, free: 0.6758 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 189.2 kB / 24.51 MB, free: 4.051 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
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.2258/0.2258, allocations: 44.9 MB / 353.5 MB, free: 11.82 MB / 286.1 MB
"
[Timeout remaining time 179]
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=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 63.89 kB / 497.7 MB, free: 0.9844 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4378, allocations: 64.28 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.7359/1.174, allocations: 191.5 MB / 0.7359 GB, free: 1.812 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.01247/1.186, allocations: 7.464 MB / 0.7432 GB, free: 1.801 MB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/1.187, allocations: 27.69 kB / 0.7432 GB, free: 1.801 MB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 0.00161/1.189, allocations: 458.8 kB / 0.7436 GB, free: 1.801 MB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 0.01196/1.201, allocations: 2.398 MB / 0.746 GB, free: 1.758 MB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.008186/1.209, allocations: 2.358 MB / 0.7483 GB, free: 1.688 MB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 0.00391/1.213, allocations: 2.22 MB / 0.7504 GB, free: 1.684 MB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001012/1.214, allocations: 0.508 MB / 0.7509 GB, free: 1.652 MB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.006872/1.221, allocations: 1.842 MB / 0.7527 GB, free: 1.625 MB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.00176/1.223, allocations: 0.9249 MB / 0.7536 GB, free: 1.625 MB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001803/1.223, allocations: 93.84 kB / 0.7537 GB, free: 1.625 MB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.01085/1.234, allocations: 5.402 MB / 0.759 GB, free: 1.578 MB / 0.5606 GB
Notification: Performance of NFScalarize.scalarize: time 0.0009884/1.235, allocations: 441.3 kB / 0.7594 GB, free: 1.578 MB / 0.5606 GB
Notification: Performance of NFVerifyModel.verify: time 0.001131/1.236, allocations: 0.5305 MB / 0.7599 GB, free: 1.578 MB / 0.5606 GB
Notification: Performance of NFConvertDAE.convert: time 0.01307/1.249, allocations: 3.798 MB / 0.7636 GB, free: 1.367 MB / 0.5606 GB
Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.249, allocations: 0.75 kB / 0.7636 GB, free: 1.367 MB / 0.5606 GB
Notification: Performance of FrontEnd: time 2.224e-06/1.249, allocations: 3.188 kB / 0.7636 GB, free: 1.367 MB / 0.5606 GB
Notification: Performance of Transformations before backend: time 2.204e-05/1.249, allocations: 0.8125 kB / 0.7636 GB, free: 1.367 MB / 0.5606 GB
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.005454/1.254, allocations: 1.693 MB / 0.7653 GB, free: 16.52 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/1.254, allocations: 8.766 kB / 0.7653 GB, free: 16.52 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004796/1.255, allocations: 116.3 kB / 0.7654 GB, free: 16.47 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/1.256, allocations: 0.5553 MB / 0.766 GB, free: 16.27 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/1.256, allocations: 115.5 kB / 0.7661 GB, free: 16.2 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/1.256, allocations: 77.64 kB / 0.7661 GB, free: 16.2 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/1.258, allocations: 1.16 MB / 0.7673 GB, free: 16.02 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.449e-05/1.258, allocations: 7.719 kB / 0.7673 GB, free: 16.02 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.693e-05/1.258, allocations: 32.08 kB / 0.7673 GB, free: 16.02 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.247e-05/1.259, allocations: 61.3 kB / 0.7674 GB, free: 16.01 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/1.26, allocations: 1.165 MB / 0.7685 GB, free: 16.01 MB / 0.5762 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.007373/1.268, allocations: 4.948 MB / 0.7733 GB, free: 13.39 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001835/1.27, allocations: 0.7933 MB / 0.7741 GB, free: 13.36 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006214/1.27, allocations: 400 kB / 0.7745 GB, free: 13.35 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0007026/1.271, allocations: 218.1 kB / 0.7747 GB, free: 13.34 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/1.271, allocations: 44.09 kB / 0.7747 GB, free: 13.3 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=70): time 3.246e-06/1.271, allocations: 1.203 kB / 0.7748 GB, free: 13.3 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=82): time 0.01342/1.284, allocations: 3.945 MB / 0.7786 GB, free: 12.9 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.284, allocations: 112.8 kB / 0.7787 GB, free: 12.77 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009283/1.285, allocations: 0.6698 MB / 0.7794 GB, free: 12.63 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001118/1.285, allocations: 42.7 kB / 0.7794 GB, free: 12.6 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003259/1.286, allocations: 391.2 kB / 0.7798 GB, free: 12.39 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002848/1.286, allocations: 309.2 kB / 0.7801 GB, free: 12.2 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003232/1.286, allocations: 196.7 kB / 0.7803 GB, free: 12.18 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0002314/1.287, allocations: 392.8 kB / 0.7806 GB, free: 11.87 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009257/1.288, allocations: 496.3 kB / 0.7811 GB, free: 11.87 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/1.289, allocations: 0.7544 MB / 0.7818 GB, free: 11.57 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/1.291, allocations: 1.279 MB / 0.7831 GB, free: 11.29 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/1.291, allocations: 4.812 kB / 0.7831 GB, free: 11.29 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=124) (initialization): time 0.003394/1.295, allocations: 1.663 MB / 0.7847 GB, free: 11.18 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/1.295, allocations: 10.94 kB / 0.7847 GB, free: 11.18 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/1.295, allocations: 8.438 kB / 0.7847 GB, free: 11.18 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.007451/1.302, allocations: 1.318 MB / 0.786 GB, free: 11.15 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008142/1.303, allocations: 152.6 kB / 0.7862 GB, free: 11.15 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002888/1.306, allocations: 1.527 MB / 0.7877 GB, free: 10.61 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/1.307, allocations: 51.97 kB / 0.7877 GB, free: 10.61 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/1.307, allocations: 56.92 kB / 0.7878 GB, free: 10.61 MB / 0.5762 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.0006458/1.308, allocations: 294.4 kB / 0.7881 GB, free: 10.49 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/1.308, allocations: 91.75 kB / 0.7881 GB, free: 10.45 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/1.311, allocations: 1.672 MB / 0.7898 GB, free: 10.31 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/1.311, allocations: 9.344 kB / 0.7898 GB, free: 10.31 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.311, allocations: 3.938 kB / 0.7898 GB, free: 10.31 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/1.311, allocations: 6.562 kB / 0.7898 GB, free: 10.31 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004959/1.316, allocations: 2.532 MB / 0.7923 GB, free: 9.852 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/1.316, allocations: 2.906 kB / 0.7923 GB, free: 9.852 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.317, allocations: 256.7 kB / 0.7925 GB, free: 9.805 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/1.319, allocations: 386 kB / 0.7929 GB, free: 9.68 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-05/1.319, allocations: 29.95 kB / 0.7929 GB, free: 9.676 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003111/1.322, allocations: 2.247 MB / 0.7951 GB, free: 7.766 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/1.322, allocations: 9.266 kB / 0.7951 GB, free: 7.762 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00443/1.327, allocations: 2.04 MB / 0.7971 GB, free: 7.223 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.00088/1.328, allocations: 210.8 kB / 0.7973 GB, free: 7.141 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/1.328, allocations: 25.73 kB / 0.7973 GB, free: 7.137 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008519/1.329, allocations: 60.89 kB / 0.7974 GB, free: 7.117 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/1.329, allocations: 66.09 kB / 0.7974 GB, free: 7.082 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/1.329, allocations: 45.03 kB / 0.7975 GB, free: 7.074 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.0009836/1.33, allocations: 0.4965 MB / 0.798 GB, free: 6.906 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 8e-08/1.33, allocations: 0 / 0.798 GB, free: 6.906 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.003274/1.333, allocations: 0.6784 MB / 0.7986 GB, free: 6.777 MB / 0.5762 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 (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.002606/1.336, allocations: 0.8063 MB / 0.7994 GB, free: 6.441 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.003046/1.339, allocations: 1.193 MB / 0.8006 GB, free: 6.18 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.339, allocations: 4.062 kB / 0.8006 GB, free: 6.176 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.001822/1.341, allocations: 0.6889 MB / 0.8013 GB, free: 5.676 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/1.343, allocations: 0.5175 MB / 0.8018 GB, free: 5.242 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00544/1.349, allocations: 2.185 MB / 0.8039 GB, free: 3.301 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008669/1.35, allocations: 1.043 MB / 0.8049 GB, free: 2.254 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.001288/1.351, allocations: 370.4 kB / 0.8053 GB, free: 1.902 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/1.351, allocations: 93.97 kB / 0.8054 GB, free: 1.816 MB / 0.5762 GB
Notification: Performance of SimCode: time 1.192e-06/1.351, allocations: 0 / 0.8054 GB, free: 1.816 MB / 0.5762 GB
Notification: Performance of Templates: time 0.06515/1.416, allocations: 35.75 MB / 0.8403 GB, free: 14.45 MB / 0.6231 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660]
(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) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 7.824285227805376]