Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002347/0.002347, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002434/0.002434, allocations: 207.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.234/0.234, allocations: 46.94 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 79.88 kB / 0.4967 GB, free: 7.027 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3807, allocations: 66.09 MB / 0.5612 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.0551/0.4358, allocations: 39.81 MB / 0.6001 GB, free: 12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007529/0.4434, allocations: 4.055 MB / 0.604 GB, free: 7.934 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007772/0.4442, allocations: 27.75 kB / 0.6041 GB, free: 7.906 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.4453, allocations: 310 kB / 0.6043 GB, free: 7.602 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002946/0.4483, allocations: 0.8823 MB / 0.6052 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003351/0.4516, allocations: 0.9066 MB / 0.6061 GB, free: 5.812 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002793/0.4544, allocations: 1.809 MB / 0.6079 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009114/0.4553, allocations: 397.6 kB / 0.6082 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1072/0.5625, allocations: 44.2 MB / 0.6514 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01849/0.581, allocations: 7.919 MB / 0.6591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003086/0.5813, allocations: 60 kB / 0.6592 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02518/0.6065, allocations: 10.56 MB / 0.6695 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006246/0.6072, allocations: 267.2 kB / 0.6698 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007956/0.6079, allocations: 330.6 kB / 0.6701 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.6101, allocations: 1.086 MB / 0.6711 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6101, allocations: 0 / 0.6711 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6101, allocations: 0 / 0.6711 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.261e-05/0.6101, allocations: 0 / 0.6711 GB, free: 2.574 MB / 0.4981 GB 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.002661/0.6128, allocations: 0.9912 MB / 0.6721 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.6128, allocations: 12.03 kB / 0.6721 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004126/0.6132, allocations: 92.45 kB / 0.6722 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.6143, allocations: 482.7 kB / 0.6727 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.6144, allocations: 152.4 kB / 0.6728 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.6145, allocations: 56.11 kB / 0.6729 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.6162, allocations: 1.076 MB / 0.6739 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.6162, allocations: 4 kB / 0.6739 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.922e-05/0.6163, allocations: 19.94 kB / 0.6739 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-05/0.6163, allocations: 48.92 kB / 0.674 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.6175, allocations: 0.64 MB / 0.6746 GB, free: 14.8 MB / 0.5137 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.005132/0.6227, allocations: 3.313 MB / 0.6778 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009414/0.6236, allocations: 407.9 kB / 0.6782 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.6239, allocations: 197.4 kB / 0.6784 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002813/0.6242, allocations: 56.22 kB / 0.6785 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.6243, allocations: 30.89 kB / 0.6785 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.094e-06/0.6243, allocations: 0 / 0.6785 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003406/0.6277, allocations: 1.464 MB / 0.6799 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.6278, allocations: 132.5 kB / 0.6801 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006939/0.6285, allocations: 0.5182 MB / 0.6806 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/0.6285, allocations: 37.7 kB / 0.6806 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.6289, allocations: 368.3 kB / 0.681 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.629, allocations: 174.5 kB / 0.6811 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.6293, allocations: 142.6 kB / 0.6813 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.6295, allocations: 370.7 kB / 0.6816 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/0.6299, allocations: 225.9 kB / 0.6818 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007638/0.6307, allocations: 0.5925 MB / 0.6824 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.6318, allocations: 0.7833 MB / 0.6832 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.6319, allocations: 8 kB / 0.6832 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001961/0.6338, allocations: 0.926 MB / 0.6841 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.6338, allocations: 8 kB / 0.6841 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/0.6339, allocations: 8 kB / 0.6841 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.6352, allocations: 268.8 kB / 0.6844 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.6356, allocations: 123.8 kB / 0.6845 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.6369, allocations: 0.8688 MB / 0.6853 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.6374, allocations: 27.98 kB / 0.6853 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.597e-05/0.6375, allocations: 40 kB / 0.6854 GB, free: 3.211 MB / 0.5137 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.0003949/0.6379, allocations: 237.9 kB / 0.6856 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.638, allocations: 63.61 kB / 0.6857 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.6395, allocations: 0.7154 MB / 0.6864 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.6395, allocations: 4 kB / 0.6864 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.6395, allocations: 4 kB / 0.6864 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.6395, allocations: 3.984 kB / 0.6864 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.6419, allocations: 1.228 MB / 0.6876 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.6419, allocations: 0 / 0.6876 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.6429, allocations: 195.7 kB / 0.6878 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002533/0.6432, allocations: 68.69 kB / 0.6878 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.6432, allocations: 16 kB / 0.6878 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002804/0.646, allocations: 2.731 MB / 0.6905 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.646, allocations: 4.219 kB / 0.6905 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.6478, allocations: 0.9973 MB / 0.6915 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.6482, allocations: 123.5 kB / 0.6916 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.6483, allocations: 12 kB / 0.6916 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/0.6487, allocations: 19.98 kB / 0.6916 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.195e-05/0.6488, allocations: 35.88 kB / 0.6917 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.111e-05/0.6488, allocations: 23.98 kB / 0.6917 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005047/0.6493, allocations: 346.8 kB / 0.692 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6493, allocations: 4.062 kB / 0.692 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009019/0.6502, allocations: 211.8 kB / 0.6922 GB, free: 11.86 MB / 0.5294 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.0004612/0.6507, allocations: 214.2 kB / 0.6924 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.6521, allocations: 0.5881 MB / 0.693 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.6521, allocations: 0 / 0.693 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.6533, allocations: 475.6 kB / 0.6935 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.6549, allocations: 311.3 kB / 0.6938 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.6576, allocations: 1.435 MB / 0.6952 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.658, allocations: 341.1 kB / 0.6955 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006761/0.6587, allocations: 196 kB / 0.6957 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.6589, allocations: 63.42 kB / 0.6957 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.6589, allocations: 0 / 0.6957 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of Templates: time 0.02838/0.6872, allocations: 14.85 MB / 0.7102 GB, free: 9.609 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.944191249087453]