Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.00627/0.00627, allocations: 107.1 kB / 21.98 MB, free: 5.223 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.001639/0.001639, allocations: 212.6 kB / 25.29 MB, free: 3.203 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.423/1.423, allocations: 230.5 MB / 258.9 MB, free: 8.199 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2249/0.2249, allocations: 46.93 MB / 362.3 MB, free: 4.25 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 83.86 kB / 0.4982 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3619, allocations: 66.07 MB / 0.5627 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05549/0.4174, allocations: 44.63 MB / 0.6063 GB, free: 7.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007003/0.4244, allocations: 4.417 MB / 0.6106 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007025/0.4251, allocations: 35.62 kB / 0.6107 GB, free: 3.035 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.4261, allocations: 318 kB / 0.611 GB, free: 2.723 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.4284, allocations: 0.8862 MB / 0.6118 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.431, allocations: 0.9107 MB / 0.6127 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002649/0.4336, allocations: 1.825 MB / 0.6145 GB, free: 15.09 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007768/0.4344, allocations: 393.6 kB / 0.6149 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09962/0.534, allocations: 44.25 MB / 0.6581 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01786/0.5519, allocations: 7.943 MB / 0.6659 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002693/0.5521, allocations: 56 kB / 0.6659 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02423/0.5764, allocations: 10.6 MB / 0.6763 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006617/0.577, allocations: 267.2 kB / 0.6765 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007127/0.5777, allocations: 394.2 kB / 0.6769 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.5797, allocations: 1.094 MB / 0.678 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5797, allocations: 0 / 0.678 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5797, allocations: 0 / 0.678 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.329e-05/0.5797, allocations: 0 / 0.678 GB, free: 13.48 MB / 0.5137 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.002289/0.582, allocations: 0.9912 MB / 0.6789 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.582, allocations: 8.031 kB / 0.6789 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003751/0.5824, allocations: 96.45 kB / 0.679 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008878/0.5833, allocations: 478.7 kB / 0.6795 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.5834, allocations: 96.97 kB / 0.6796 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.5835, allocations: 56.11 kB / 0.6796 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.5849, allocations: 0.8252 MB / 0.6804 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.5849, allocations: 0 / 0.6804 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.276e-05/0.585, allocations: 23.98 kB / 0.6805 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.255e-05/0.5851, allocations: 48.89 kB / 0.6805 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.5862, allocations: 0.6439 MB / 0.6811 GB, free: 10.09 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.005232/0.5914, allocations: 4.166 MB / 0.6852 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009234/0.5923, allocations: 399.9 kB / 0.6856 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/0.5927, allocations: 197.4 kB / 0.6858 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/0.593, allocations: 56.28 kB / 0.6858 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.593, allocations: 34.89 kB / 0.6859 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.585e-06/0.593, allocations: 4 kB / 0.6859 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003389/0.5964, allocations: 1.456 MB / 0.6873 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.5965, allocations: 136.5 kB / 0.6874 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008097/0.5973, allocations: 0.5732 MB / 0.688 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/0.5974, allocations: 33.7 kB / 0.688 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.5977, allocations: 363.9 kB / 0.6884 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.5979, allocations: 178.5 kB / 0.6885 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.5981, allocations: 134.6 kB / 0.6887 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.5983, allocations: 378.7 kB / 0.689 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004074/0.5987, allocations: 225.9 kB / 0.6892 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006752/0.5994, allocations: 0.5209 MB / 0.6897 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.6005, allocations: 0.7835 MB / 0.6905 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.6005, allocations: 8 kB / 0.6905 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001937/0.6025, allocations: 0.9298 MB / 0.6914 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.6025, allocations: 12 kB / 0.6914 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.6025, allocations: 8 kB / 0.6914 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.6037, allocations: 267.6 kB / 0.6917 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.6041, allocations: 127.8 kB / 0.6918 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.6052, allocations: 0.8645 MB / 0.6927 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.6057, allocations: 27.98 kB / 0.6927 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.6058, allocations: 36 kB / 0.6927 GB, free: 13.51 MB / 0.5294 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.0003555/0.6061, allocations: 241.9 kB / 0.693 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.6063, allocations: 67.64 kB / 0.693 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.6077, allocations: 0.7167 MB / 0.6937 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.6077, allocations: 4 kB / 0.6937 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.6077, allocations: 0 / 0.6937 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.6077, allocations: 3.984 kB / 0.6937 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.61, allocations: 1.375 MB / 0.6951 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.61, allocations: 4.219 kB / 0.6951 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009919/0.611, allocations: 199.7 kB / 0.6953 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002541/0.6113, allocations: 56.78 kB / 0.6953 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.6113, allocations: 8 kB / 0.6953 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002592/0.6139, allocations: 2.784 MB / 0.6981 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.6139, allocations: 4.031 kB / 0.6981 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.6156, allocations: 1.009 MB / 0.699 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.6159, allocations: 131.4 kB / 0.6992 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.938e-05/0.616, allocations: 8 kB / 0.6992 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.6164, allocations: 16 kB / 0.6992 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.6165, allocations: 43.92 kB / 0.6992 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/0.6165, allocations: 16 kB / 0.6992 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005596/0.6171, allocations: 431 kB / 0.6997 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6171, allocations: 0 / 0.6997 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007707/0.6179, allocations: 203.9 kB / 0.6999 GB, free: 5.848 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.000387/0.6182, allocations: 222.5 kB / 0.7001 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.6195, allocations: 0.5852 MB / 0.7006 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/0.6195, allocations: 8 kB / 0.7006 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.6206, allocations: 458.6 kB / 0.7011 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.6221, allocations: 369.7 kB / 0.7014 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.6245, allocations: 1.488 MB / 0.7029 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/0.6251, allocations: 0.9345 MB / 0.7038 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.6253, allocations: 63.44 kB / 0.7039 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of SimCode: time 6.11e-07/0.6253, allocations: 0 / 0.7039 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of Templates: time 0.02202/0.6473, allocations: 15.66 MB / 0.7191 GB, free: 2.078 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 10.077502944041044]