Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001615/0.001615, allocations: 188.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.148/2.148, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 98.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2842/0.2842, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004691, allocations: 19.98 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.121, allocations: 58.85 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5772/0.6982, allocations: 155.7 MB / 0.6308 GB, free: 14.94 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02134/0.7196, allocations: 10.65 MB / 0.6412 GB, free: 4.258 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.7207, allocations: 27.75 kB / 0.6412 GB, free: 4.23 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.7223, allocations: 334.4 kB / 0.6415 GB, free: 3.902 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008397/0.7307, allocations: 1.989 MB / 0.6435 GB, free: 1.91 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007201/0.7379, allocations: 1.709 MB / 0.6452 GB, free: 204 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002882/0.7408, allocations: 1.22 MB / 0.6463 GB, free: 14.98 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.7421, allocations: 0.4944 MB / 0.6468 GB, free: 14.47 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004892/0.747, allocations: 1.387 MB / 0.6482 GB, free: 13.08 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.7488, allocations: 0.6076 MB / 0.6488 GB, free: 12.47 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002842/0.7491, allocations: 44 kB / 0.6488 GB, free: 12.43 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01591/0.7651, allocations: 4.494 MB / 0.6532 GB, free: 7.926 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.7666, allocations: 351.1 kB / 0.6535 GB, free: 7.582 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009161/0.7675, allocations: 209.3 kB / 0.6537 GB, free: 7.371 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009327/0.7769, allocations: 2.401 MB / 0.6561 GB, free: 4.965 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.777, allocations: 0 / 0.6561 GB, free: 4.965 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.769e-06/0.777, allocations: 4 kB / 0.6561 GB, free: 4.961 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.567e-05/0.777, allocations: 3.938 kB / 0.6561 GB, free: 4.957 MB / 458.7 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.005829/0.7829, allocations: 1.54 MB / 0.6576 GB, free: 3.363 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.7829, allocations: 12.02 kB / 0.6576 GB, free: 3.352 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006945/0.7836, allocations: 107 kB / 0.6577 GB, free: 3.246 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.7853, allocations: 0.5745 MB / 0.6583 GB, free: 2.629 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.7855, allocations: 121.3 kB / 0.6584 GB, free: 2.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002214/0.7857, allocations: 67.98 kB / 0.6585 GB, free: 2.434 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/0.7889, allocations: 1.157 MB / 0.6596 GB, free: 1.227 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/0.789, allocations: 3.938 kB / 0.6596 GB, free: 1.223 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/0.7892, allocations: 31.98 kB / 0.6596 GB, free: 1.191 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001325/0.7894, allocations: 61.97 kB / 0.6597 GB, free: 1.133 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003506/0.7929, allocations: 1.163 MB / 0.6608 GB, free: 15.97 MB / 474.7 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.01195/0.8049, allocations: 5.033 MB / 0.6657 GB, free: 10.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/0.808, allocations: 0.8355 MB / 0.6665 GB, free: 9.762 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001859/0.8099, allocations: 1.556 MB / 0.6681 GB, free: 7.875 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.002e-05/0.81, allocations: 47.12 kB / 0.6681 GB, free: 7.82 MB / 474.7 MB Notification: Performance of pre-optimization done (n=70): time 4.007e-06/0.81, allocations: 4 kB / 0.6681 GB, free: 7.816 MB / 474.7 MB Notification: Performance of matching and sorting (n=82): time 0.02534/0.8354, allocations: 4.156 MB / 0.6722 GB, free: 3.605 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.508e-05/0.8355, allocations: 115.5 kB / 0.6723 GB, free: 3.469 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.8369, allocations: 0.6563 MB / 0.6729 GB, free: 2.801 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002672/0.8372, allocations: 41.7 kB / 0.673 GB, free: 2.754 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.8376, allocations: 414 kB / 0.6734 GB, free: 2.348 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004667/0.8381, allocations: 291.8 kB / 0.6736 GB, free: 2.059 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.8382, allocations: 20 kB / 0.6737 GB, free: 2.039 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.8384, allocations: 350.8 kB / 0.674 GB, free: 1.688 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/0.8403, allocations: 497.7 kB / 0.6745 GB, free: 1.199 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002308/0.8426, allocations: 0.7561 MB / 0.6752 GB, free: 336 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002317/0.845, allocations: 0.5886 MB / 0.6758 GB, free: 15.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.8451, allocations: 0 / 0.6758 GB, free: 15.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006276/0.8513, allocations: 1.649 MB / 0.6774 GB, free: 14.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/0.8514, allocations: 8 kB / 0.6774 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/0.8515, allocations: 8 kB / 0.6774 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01407/0.8655, allocations: 1.399 MB / 0.6788 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.8669, allocations: 163.7 kB / 0.6789 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004856/0.8718, allocations: 1.545 MB / 0.6804 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.8736, allocations: 95.88 kB / 0.6805 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/0.8739, allocations: 59.98 kB / 0.6806 GB, free: 10.78 MB / 490.7 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.0008135/0.8747, allocations: 297.4 kB / 0.6809 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003065/0.875, allocations: 87.02 kB / 0.6809 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006049/0.8811, allocations: 1.654 MB / 0.6826 GB, free: 8.707 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/0.8812, allocations: 8 kB / 0.6826 GB, free: 8.699 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.8812, allocations: 4 kB / 0.6826 GB, free: 8.695 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.588e-05/0.8812, allocations: 7.969 kB / 0.6826 GB, free: 8.688 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008015/0.8892, allocations: 2.56 MB / 0.6851 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/0.8893, allocations: 7.984 kB / 0.6851 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/0.892, allocations: 263.7 kB / 0.6853 GB, free: 5.785 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003631/0.8957, allocations: 404.4 kB / 0.6857 GB, free: 5.387 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002561/0.896, allocations: 31.97 kB / 0.6858 GB, free: 5.355 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004313/0.9003, allocations: 2.28 MB / 0.688 GB, free: 2.914 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.9003, allocations: 0 / 0.688 GB, free: 2.914 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00681/0.9072, allocations: 2.085 MB / 0.69 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009382/0.9081, allocations: 315.7 kB / 0.6903 GB, free: 444 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/0.9084, allocations: 20 kB / 0.6903 GB, free: 424 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/0.9101, allocations: 71.94 kB / 0.6904 GB, free: 352 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/0.9104, allocations: 64.91 kB / 0.6905 GB, free: 288 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001998/0.9106, allocations: 51.95 kB / 0.6905 GB, free: 236 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001024/0.9116, allocations: 483 kB / 0.691 GB, free: 15.77 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7.71e-07/0.9116, allocations: 0 / 0.691 GB, free: 15.77 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.003058/0.9147, allocations: 0.6988 MB / 0.6917 GB, free: 15.07 MB / 0.4949 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 (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.003569/0.9183, allocations: 0.8766 MB / 0.6925 GB, free: 14.18 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.004771/0.9231, allocations: 1.249 MB / 0.6937 GB, free: 12.94 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.9232, allocations: 0 / 0.6937 GB, free: 12.94 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003292/0.9265, allocations: 0.7133 MB / 0.6944 GB, free: 12.22 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004062/0.9306, allocations: 459.7 kB / 0.6949 GB, free: 11.77 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008115/0.9387, allocations: 2.566 MB / 0.6974 GB, free: 9.16 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009963/0.9398, allocations: 1.062 MB / 0.6984 GB, free: 8.07 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007527/0.9406, allocations: 107.4 kB / 0.6985 GB, free: 7.969 MB / 0.4949 GB Notification: Performance of SimCode: time 1.343e-06/0.9406, allocations: 0 / 0.6985 GB, free: 7.969 MB / 0.4949 GB Notification: Performance of Templates: time 0.3818/1.322, allocations: 28.89 MB / 0.7267 GB, free: 173.2 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches