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) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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.0008669/0.0008669, allocations: 97.58 kB / 17 MB, free: 6.418 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.0009874/0.0009874, allocations: 187.9 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.3 MB / 241.9 MB, free: 248 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2099/0.2099, allocations: 44.25 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000423/0.000423, allocations: 12 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1356, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4975/0.6332, allocations: 173.9 MB / 0.6304 GB, free: 5.031 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.6439, allocations: 6.998 MB / 0.6372 GB, free: 14.01 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.6452, allocations: 27.75 kB / 0.6373 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.6463, allocations: 314 kB / 0.6376 GB, free: 13.68 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006003/0.6523, allocations: 1.868 MB / 0.6394 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005074/0.6574, allocations: 1.672 MB / 0.641 GB, free: 10.13 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003408/0.6608, allocations: 2.652 MB / 0.6436 GB, free: 7.473 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008484/0.6617, allocations: 495.5 kB / 0.6441 GB, free: 6.977 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003816/0.6655, allocations: 1.538 MB / 0.6456 GB, free: 5.434 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.6669, allocations: 0.8568 MB / 0.6464 GB, free: 4.574 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.667, allocations: 44 kB / 0.6465 GB, free: 4.531 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008178/0.6752, allocations: 4.255 MB / 0.6506 GB, free: 276 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009322/0.6762, allocations: 382.9 kB / 0.651 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004985/0.6767, allocations: 213.3 kB / 0.6512 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005569/0.6823, allocations: 2.456 MB / 0.6536 GB, free: 13.22 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.6823, allocations: 3.938 kB / 0.6536 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.6823, allocations: 0 / 0.6536 GB, free: 13.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.6823, allocations: 0 / 0.6536 GB, free: 13.21 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.004068/0.6864, allocations: 1.53 MB / 0.6551 GB, free: 11.63 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.113e-05/0.6865, allocations: 12.56 kB / 0.6551 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004504/0.6869, allocations: 107 kB / 0.6552 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.6881, allocations: 0.5783 MB / 0.6558 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.6882, allocations: 118.3 kB / 0.6559 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.6883, allocations: 75.89 kB / 0.656 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.6902, allocations: 1.155 MB / 0.6571 GB, free: 9.492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.6903, allocations: 7.938 kB / 0.6571 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.6904, allocations: 35.95 kB / 0.6571 GB, free: 9.449 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-05/0.6905, allocations: 57.97 kB / 0.6572 GB, free: 9.395 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.6924, allocations: 1.155 MB / 0.6583 GB, free: 8.238 MB / 494.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.006772/0.6992, allocations: 4.974 MB / 0.6632 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.7008, allocations: 0.8301 MB / 0.664 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006612/0.7015, allocations: 422.3 kB / 0.6644 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001604/0.7031, allocations: 1.626 MB / 0.666 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/0.7032, allocations: 43.12 kB / 0.666 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 2.565e-06/0.7032, allocations: 0 / 0.666 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.01318/0.7164, allocations: 4.137 MB / 0.6701 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.715e-05/0.7165, allocations: 111.5 kB / 0.6702 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.7175, allocations: 0.6601 MB / 0.6708 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.817e-05/0.7176, allocations: 45.64 kB / 0.6708 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.7179, allocations: 379.6 kB / 0.6712 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/0.7182, allocations: 299.8 kB / 0.6715 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.7183, allocations: 20 kB / 0.6715 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003516/0.7186, allocations: 390.8 kB / 0.6719 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009903/0.7196, allocations: 497.7 kB / 0.6724 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.7208, allocations: 0.7562 MB / 0.6731 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.722, allocations: 0.5886 MB / 0.6737 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.722, allocations: 7.938 kB / 0.6737 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003479/0.7255, allocations: 1.688 MB / 0.6753 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.7255, allocations: 8 kB / 0.6753 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.7256, allocations: 11.98 kB / 0.6754 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006905/0.7325, allocations: 1.367 MB / 0.6767 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/0.7332, allocations: 159.7 kB / 0.6768 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/0.7363, allocations: 1.541 MB / 0.6783 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.7378, allocations: 83.98 kB / 0.6784 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/0.738, allocations: 55.97 kB / 0.6785 GB, free: 2.609 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 (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.0009016/0.739, allocations: 297.5 kB / 0.6788 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/0.7393, allocations: 86.97 kB / 0.6788 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003941/0.7433, allocations: 1.699 MB / 0.6805 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.7433, allocations: 8 kB / 0.6805 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.7433, allocations: 0 / 0.6805 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.7434, allocations: 7.984 kB / 0.6805 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004958/0.7483, allocations: 2.64 MB / 0.6831 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.7483, allocations: 0 / 0.6831 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.7496, allocations: 259.9 kB / 0.6833 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001851/0.7515, allocations: 406 kB / 0.6837 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.687e-05/0.7516, allocations: 31.98 kB / 0.6838 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002672/0.7543, allocations: 2.276 MB / 0.686 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.7543, allocations: 0 / 0.686 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004166/0.7585, allocations: 2.043 MB / 0.688 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007232/0.7592, allocations: 295.9 kB / 0.6883 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/0.7595, allocations: 24 kB / 0.6883 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00099/0.7605, allocations: 83.91 kB / 0.6884 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.7606, allocations: 64.81 kB / 0.6884 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/0.7608, allocations: 51.97 kB / 0.6885 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007687/0.7616, allocations: 483 kB / 0.6889 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.41e-07/0.7616, allocations: 0 / 0.6889 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002451/0.764, allocations: 0.6597 MB / 0.6896 GB, free: 6.902 MB / 0.5137 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 (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.002775/0.7668, allocations: 0.7763 MB / 0.6903 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002911/0.7697, allocations: 1.241 MB / 0.6916 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/0.7698, allocations: 192 / 0.6916 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.7716, allocations: 0.7242 MB / 0.6923 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.7741, allocations: 482.8 kB / 0.6927 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005232/0.7793, allocations: 2.501 MB / 0.6952 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007922/0.7801, allocations: 1.043 MB / 0.6962 GB, free: 84 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001374/0.7815, allocations: 374.6 kB / 0.6965 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/0.7818, allocations: 87.42 kB / 0.6966 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of SimCode: time 9.52e-07/0.7819, allocations: 0 / 0.6966 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of Templates: time 0.2977/1.08, allocations: 31.86 MB / 0.7277 GB, free: 196.8 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (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) 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) Reference file matches