Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 115.1 kB / 18.46 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 215.2 kB / 21.42 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2645/0.2645, allocations: 46.93 MB / 357.8 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 63.91 kB / 0.4921 GB, free: 7.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1487, allocations: 66 MB / 0.5565 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3805/0.5292, allocations: 44.3 MB / 0.5998 GB, free: 4.281 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00691/0.5361, allocations: 4.388 MB / 0.6041 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.5372, allocations: 31.28 kB / 0.6041 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.5383, allocations: 315.7 kB / 0.6044 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00271/0.5411, allocations: 0.872 MB / 0.6053 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003161/0.5442, allocations: 0.8946 MB / 0.6061 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003618/0.5478, allocations: 1.801 MB / 0.6079 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009716/0.5488, allocations: 411.8 kB / 0.6083 GB, free: 4.168 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1082/0.657, allocations: 44.68 MB / 0.6519 GB, free: 9.949 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01855/0.6755, allocations: 8.017 MB / 0.6597 GB, free: 1.945 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002685/0.6758, allocations: 60 kB / 0.6598 GB, free: 1.887 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02613/0.7019, allocations: 10.71 MB / 0.6703 GB, free: 7.137 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000725/0.7026, allocations: 262.9 kB / 0.6705 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008061/0.7034, allocations: 392.8 kB / 0.6709 GB, free: 6.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.7054, allocations: 1.084 MB / 0.6719 GB, free: 5.457 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.7054, allocations: 4 kB / 0.6719 GB, free: 5.453 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.7054, allocations: 0 / 0.6719 GB, free: 5.453 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.7054, allocations: 0 / 0.6719 GB, free: 5.453 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002391/0.7078, allocations: 1.072 MB / 0.673 GB, free: 4.344 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.7078, allocations: 12.03 kB / 0.673 GB, free: 4.332 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003774/0.7082, allocations: 88.47 kB / 0.6731 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008877/0.7091, allocations: 0.5382 MB / 0.6736 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.7092, allocations: 103.6 kB / 0.6737 GB, free: 3.566 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.657e-05/0.7093, allocations: 55.11 kB / 0.6738 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.7107, allocations: 0.8143 MB / 0.6746 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.7107, allocations: 3.938 kB / 0.6746 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.39e-05/0.7108, allocations: 23.94 kB / 0.6746 GB, free: 2.609 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.838e-05/0.7108, allocations: 43.92 kB / 0.6746 GB, free: 2.566 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.712, allocations: 0.6439 MB / 0.6753 GB, free: 1.926 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.00534/0.7173, allocations: 4.22 MB / 0.6794 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009346/0.7183, allocations: 401.7 kB / 0.6798 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.7186, allocations: 193.4 kB / 0.6799 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005533/0.7192, allocations: 0.4947 MB / 0.6804 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.7192, allocations: 38.89 kB / 0.6805 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.976e-06/0.7192, allocations: 4 kB / 0.6805 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003488/0.7227, allocations: 1.546 MB / 0.682 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.7228, allocations: 135.9 kB / 0.6821 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007296/0.7235, allocations: 0.5693 MB / 0.6827 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.7236, allocations: 33.7 kB / 0.6827 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.7239, allocations: 360 kB / 0.683 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.724, allocations: 176.9 kB / 0.6832 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.7243, allocations: 142.6 kB / 0.6833 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.7244, allocations: 378.7 kB / 0.6837 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.7248, allocations: 225.9 kB / 0.6839 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006621/0.7255, allocations: 0.5201 MB / 0.6844 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.7266, allocations: 0.7757 MB / 0.6852 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7266, allocations: 4 kB / 0.6852 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001923/0.7285, allocations: 0.9301 MB / 0.6861 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.7285, allocations: 8 kB / 0.6861 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.7286, allocations: 16.12 kB / 0.6861 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.7297, allocations: 266.4 kB / 0.6864 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/0.7301, allocations: 123.8 kB / 0.6865 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.7312, allocations: 0.8689 MB / 0.6873 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004956/0.7317, allocations: 30.91 kB / 0.6874 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/0.7317, allocations: 40 kB / 0.6874 GB, free: 4.672 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (73): * Single equations (assignments): 72 * 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 {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003602/0.7321, allocations: 239.7 kB / 0.6876 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.7322, allocations: 71.56 kB / 0.6877 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.7336, allocations: 0.7106 MB / 0.6884 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.7337, allocations: 8 kB / 0.6884 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.7337, allocations: 3.812 kB / 0.6884 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.7337, allocations: 3.984 kB / 0.6884 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/0.7359, allocations: 1.392 MB / 0.6898 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.7359, allocations: 11.88 kB / 0.6898 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.7369, allocations: 192 kB / 0.69 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002516/0.7371, allocations: 56.78 kB / 0.69 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.7372, allocations: 12 kB / 0.69 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002821/0.74, allocations: 2.987 MB / 0.693 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.74, allocations: 3.938 kB / 0.693 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.7417, allocations: 1.005 MB / 0.6939 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/0.742, allocations: 204.6 kB / 0.6941 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-05/0.7421, allocations: 11.94 kB / 0.6941 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/0.7424, allocations: 16 kB / 0.6942 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.7425, allocations: 43.81 kB / 0.6942 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/0.7426, allocations: 16.62 kB / 0.6942 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005465/0.7431, allocations: 427.1 kB / 0.6946 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7431, allocations: 4 kB / 0.6946 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008172/0.7439, allocations: 203.9 kB / 0.6948 GB, free: 12.66 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,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 (47): * Single equations (assignments): 43 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004196/0.7444, allocations: 206.8 kB / 0.695 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.7456, allocations: 0.5915 MB / 0.6956 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7456, allocations: 1.438 kB / 0.6956 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.7467, allocations: 459 kB / 0.696 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.7484, allocations: 385.1 kB / 0.6964 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.751, allocations: 1.448 MB / 0.6978 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006498/0.7516, allocations: 0.9423 MB / 0.6987 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.7519, allocations: 67.38 kB / 0.6988 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of SimCode: time 8.52e-07/0.7519, allocations: 0 / 0.6988 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of Templates: time 0.02472/0.7766, allocations: 15.67 MB / 0.7141 GB, free: 8.926 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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: 11.044575990003068]