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.00145/0.00145, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001586/0.001586, allocations: 217 kB / 24.5 MB, free: 4.133 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.33/1.33, allocations: 230.5 MB / 258.1 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] 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.2044/0.2044, allocations: 46.93 MB / 361.5 MB, free: 4.211 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.002246/0.002246, allocations: 79.88 kB / 0.4974 GB, free: 7.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2665, allocations: 66.08 MB / 0.562 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.0498/0.3163, allocations: 44.62 MB / 0.6055 GB, free: 7.508 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00607/0.3224, allocations: 4.429 MB / 0.6099 GB, free: 3.066 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005249/0.3229, allocations: 23.75 kB / 0.6099 GB, free: 3.043 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008418/0.3238, allocations: 326 kB / 0.6102 GB, free: 2.723 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.3257, allocations: 0.8862 MB / 0.6111 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.3278, allocations: 0.9024 MB / 0.6119 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002193/0.33, allocations: 1.828 MB / 0.6137 GB, free: 15.1 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006351/0.3306, allocations: 389.6 kB / 0.6141 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.08709/0.4177, allocations: 44.26 MB / 0.6573 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01474/0.4324, allocations: 7.935 MB / 0.6651 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.4326, allocations: 60 kB / 0.6651 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02013/0.4527, allocations: 10.6 MB / 0.6755 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004247/0.4532, allocations: 271.1 kB / 0.6757 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005276/0.4537, allocations: 390.2 kB / 0.6761 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.4552, allocations: 1.086 MB / 0.6772 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4552, allocations: 0 / 0.6772 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4552, allocations: 0 / 0.6772 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.4553, allocations: 0 / 0.6772 GB, free: 13.5 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.002058/0.4573, allocations: 1.007 MB / 0.6782 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.4573, allocations: 8.031 kB / 0.6782 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003189/0.4577, allocations: 92.47 kB / 0.6783 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008631/0.4585, allocations: 478.7 kB / 0.6787 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.4587, allocations: 152.4 kB / 0.6789 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.184e-05/0.4588, allocations: 56.11 kB / 0.6789 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.46, allocations: 0.8174 MB / 0.6797 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.46, allocations: 7.984 kB / 0.6797 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.025e-05/0.4601, allocations: 27.98 kB / 0.6797 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.905e-05/0.4601, allocations: 36.98 kB / 0.6798 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.4612, allocations: 0.6477 MB / 0.6804 GB, free: 10.02 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.004732/0.4659, allocations: 4.166 MB / 0.6845 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008341/0.4667, allocations: 396 kB / 0.6849 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.4671, allocations: 193.4 kB / 0.685 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002613/0.4673, allocations: 60.27 kB / 0.6851 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.4673, allocations: 38.83 kB / 0.6851 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 1.603e-06/0.4674, allocations: 0 / 0.6851 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.002991/0.4703, allocations: 1.464 MB / 0.6866 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.414e-05/0.4704, allocations: 132.5 kB / 0.6867 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006549/0.4711, allocations: 0.5732 MB / 0.6873 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.4711, allocations: 41.7 kB / 0.6873 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.4714, allocations: 359.8 kB / 0.6876 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.4715, allocations: 174.5 kB / 0.6878 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.4717, allocations: 142.6 kB / 0.6879 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.4719, allocations: 374.7 kB / 0.6883 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/0.4723, allocations: 225.9 kB / 0.6885 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/0.4729, allocations: 0.5209 MB / 0.689 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.4739, allocations: 0.7796 MB / 0.6898 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.4739, allocations: 4 kB / 0.6898 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001733/0.4757, allocations: 0.9335 MB / 0.6907 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.4757, allocations: 12 kB / 0.6907 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.4757, allocations: 8 kB / 0.6907 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.4767, allocations: 263.6 kB / 0.691 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.4771, allocations: 123.8 kB / 0.6911 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009451/0.4781, allocations: 0.8645 MB / 0.6919 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004023/0.4785, allocations: 28 kB / 0.692 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.78e-05/0.4786, allocations: 35.98 kB / 0.692 GB, free: 13.45 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.0002992/0.4789, allocations: 247.2 kB / 0.6922 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.479, allocations: 67.58 kB / 0.6923 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.4803, allocations: 0.7226 MB / 0.693 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.4803, allocations: 4 kB / 0.693 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4803, allocations: 4 kB / 0.693 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4803, allocations: 3.984 kB / 0.693 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.4825, allocations: 1.379 MB / 0.6944 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4825, allocations: 0 / 0.6944 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009604/0.4834, allocations: 191.8 kB / 0.6945 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002333/0.4837, allocations: 52.98 kB / 0.6946 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.4837, allocations: 23.98 kB / 0.6946 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/0.4861, allocations: 2.773 MB / 0.6973 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.4861, allocations: 4.031 kB / 0.6973 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.4876, allocations: 1.013 MB / 0.6983 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/0.4879, allocations: 131.4 kB / 0.6984 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.73e-05/0.488, allocations: 15.98 kB / 0.6985 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.4883, allocations: 16.2 kB / 0.6985 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.4884, allocations: 43.86 kB / 0.6985 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.4885, allocations: 19.98 kB / 0.6985 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004852/0.4889, allocations: 419 kB / 0.6989 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.4889, allocations: 4 kB / 0.6989 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006835/0.4896, allocations: 207.9 kB / 0.6991 GB, free: 5.777 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.0003437/0.49, allocations: 217.7 kB / 0.6993 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.4911, allocations: 0.5852 MB / 0.6999 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4911, allocations: 0 / 0.6999 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.4922, allocations: 458.3 kB / 0.7003 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.4937, allocations: 371.5 kB / 0.7007 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.4959, allocations: 1.484 MB / 0.7022 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/0.4965, allocations: 0.9345 MB / 0.7031 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.4966, allocations: 67.42 kB / 0.7031 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.4966, allocations: 3.938 kB / 0.7031 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of Templates: time 0.01993/0.5166, allocations: 15.65 MB / 0.7184 GB, free: 2 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/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_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: 9.133469230029732]