Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00153/0.00153, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001672/0.001672, allocations: 161.7 kB / 24.26 MB, free: 180 kB / 18.57 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.537/1.537, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3612/0.3612, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 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.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.797e-05, allocations: 2.312 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05939/0.05942, allocations: 39.68 MB / 415 MB, free: 13.13 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00756/0.06698, allocations: 4.077 MB / 419 MB, free: 9.039 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007511/0.06773, allocations: 27.75 kB / 419.1 MB, free: 9.012 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.06896, allocations: 309.9 kB / 419.4 MB, free: 8.707 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002636/0.07159, allocations: 0.9087 MB / 420.3 MB, free: 7.793 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00272/0.07431, allocations: 0.9385 MB / 421.2 MB, free: 6.852 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002726/0.07704, allocations: 1.832 MB / 423 MB, free: 5.016 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008735/0.07791, allocations: 417.8 kB / 423.4 MB, free: 4.602 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2695/0.3474, allocations: 44.56 MB / 468 MB, free: 55.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01504/0.3625, allocations: 7.902 MB / 475.9 MB, free: 53.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002411/0.3627, allocations: 57.75 kB / 476 MB, free: 53.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02177/0.3845, allocations: 10.59 MB / 486.6 MB, free: 49.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006745/0.3852, allocations: 279.4 kB / 486.8 MB, free: 49.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006573/0.3858, allocations: 277.3 kB / 487.1 MB, free: 49.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002108/0.3879, allocations: 1.126 MB / 488.2 MB, free: 49.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3879, allocations: 4 kB / 488.2 MB, free: 49.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3879, allocations: 0 / 488.2 MB, free: 49.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.388, allocations: 1.156 kB / 488.2 MB, free: 49.8 MB / 410.7 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.002325/0.3903, allocations: 0.9872 MB / 489.2 MB, free: 49.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3903, allocations: 9.906 kB / 489.2 MB, free: 49.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000491/0.3908, allocations: 151.4 kB / 489.4 MB, free: 49.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000866/0.3917, allocations: 0.4969 MB / 489.9 MB, free: 48.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.3918, allocations: 151.8 kB / 490 MB, free: 48.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.3919, allocations: 56.56 kB / 490.1 MB, free: 48.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.3934, allocations: 1.069 MB / 491.2 MB, free: 47.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.3934, allocations: 6.312 kB / 491.2 MB, free: 47.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.576e-05/0.3935, allocations: 20.5 kB / 491.2 MB, free: 47.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.837e-05/0.3936, allocations: 39.69 kB / 491.2 MB, free: 47.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.3948, allocations: 0.6429 MB / 491.9 MB, free: 47.71 MB / 410.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.004091/0.3989, allocations: 3.352 MB / 495.2 MB, free: 45.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008249/0.3998, allocations: 390.5 kB / 495.6 MB, free: 45.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.4001, allocations: 193.2 kB / 495.8 MB, free: 45.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.4003, allocations: 58.83 kB / 495.8 MB, free: 45.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4004, allocations: 43.42 kB / 495.9 MB, free: 45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.294e-06/0.4004, allocations: 0 / 495.9 MB, free: 45 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.002991/0.4034, allocations: 1.465 MB / 497.3 MB, free: 44.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.4034, allocations: 131.5 kB / 497.5 MB, free: 44.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004821/0.4039, allocations: 0.5241 MB / 498 MB, free: 43.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.4039, allocations: 37.3 kB / 498 MB, free: 43.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.4041, allocations: 368 kB / 498.4 MB, free: 43.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.863e-05/0.4042, allocations: 166.8 kB / 498.6 MB, free: 43.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.4044, allocations: 139.2 kB / 498.7 MB, free: 43.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.69e-05/0.4044, allocations: 371.7 kB / 499.1 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.4048, allocations: 227 kB / 499.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/0.4052, allocations: 0.5914 MB / 499.9 MB, free: 42.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007941/0.406, allocations: 0.7808 MB / 0.4889 GB, free: 41.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.406, allocations: 3.219 kB / 0.4889 GB, free: 41.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001591/0.4076, allocations: 0.9668 MB / 0.4899 GB, free: 41.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.4076, allocations: 10.91 kB / 0.4899 GB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.4076, allocations: 9.844 kB / 0.4899 GB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.4087, allocations: 266.6 kB / 0.4901 GB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.4091, allocations: 129.7 kB / 0.4903 GB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007528/0.4099, allocations: 0.8567 MB / 0.4911 GB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/0.4104, allocations: 27.19 kB / 0.4911 GB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/0.4104, allocations: 37.88 kB / 0.4912 GB, free: 40.73 MB / 410.7 MB 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.000284/0.4107, allocations: 256 kB / 0.4914 GB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.4108, allocations: 81.45 kB / 0.4915 GB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.412, allocations: 0.709 MB / 0.4922 GB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.412, allocations: 10.89 kB / 0.4922 GB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.412, allocations: 0 / 0.4922 GB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.412, allocations: 4.828 kB / 0.4922 GB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.4139, allocations: 1.231 MB / 0.4934 GB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/0.4139, allocations: 0 / 0.4934 GB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009675/0.4148, allocations: 190.8 kB / 0.4936 GB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002734/0.4151, allocations: 65.92 kB / 0.4936 GB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.922e-05/0.4151, allocations: 18.72 kB / 0.4937 GB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.4169, allocations: 2.728 MB / 0.4963 GB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4169, allocations: 2.875 kB / 0.4963 GB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.4183, allocations: 1.016 MB / 0.4973 GB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/0.4185, allocations: 115 kB / 0.4974 GB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.132e-05/0.4186, allocations: 17.05 kB / 0.4974 GB, free: 36.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.419, allocations: 18.45 kB / 0.4975 GB, free: 36.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.4191, allocations: 43.45 kB / 0.4975 GB, free: 36.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.4191, allocations: 19.28 kB / 0.4975 GB, free: 36.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003775/0.4195, allocations: 347.5 kB / 0.4979 GB, free: 36.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4195, allocations: 0 / 0.4979 GB, free: 36.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008521/0.4204, allocations: 205.8 kB / 0.498 GB, free: 36.1 MB / 410.7 MB 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.0003839/0.4208, allocations: 223.9 kB / 0.4983 GB, free: 35.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.4218, allocations: 0.589 MB / 0.4988 GB, free: 35.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4218, allocations: 0.625 kB / 0.4988 GB, free: 35.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.4229, allocations: 477.2 kB / 0.4993 GB, free: 35.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.4244, allocations: 335.7 kB / 0.4996 GB, free: 35.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.4262, allocations: 1.314 MB / 0.5009 GB, free: 34.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.4265, allocations: 344.6 kB / 0.5012 GB, free: 34.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005637/0.427, allocations: 191.9 kB / 0.5014 GB, free: 34.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.4272, allocations: 68.08 kB / 0.5015 GB, free: 34.63 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4272, allocations: 0 / 0.5015 GB, free: 34.63 MB / 410.7 MB Notification: Performance of Templates: time 0.02096/0.4481, allocations: 13.88 MB / 0.515 GB, free: 25.64 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.7543650140287355]