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.001815/0.001815, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002411/0.002411, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.483/1.483, allocations: 230.5 MB / 258.1 MB, free: 7.805 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.2529/0.2529, allocations: 46.95 MB / 361.6 MB, free: 3.93 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.002442/0.002442, allocations: 79.88 kB / 0.4974 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3082, allocations: 66.08 MB / 0.5619 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05198/0.3602, allocations: 39.8 MB / 0.6008 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006556/0.3667, allocations: 4.067 MB / 0.6048 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005368/0.3673, allocations: 31.69 kB / 0.6048 GB, free: 7.906 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009325/0.3682, allocations: 306 kB / 0.6051 GB, free: 7.605 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002186/0.3704, allocations: 0.8823 MB / 0.6059 GB, free: 6.719 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002474/0.3729, allocations: 0.9063 MB / 0.6068 GB, free: 5.816 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002384/0.3752, allocations: 1.817 MB / 0.6086 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006868/0.3759, allocations: 401.6 kB / 0.609 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09838/0.4743, allocations: 44.18 MB / 0.6521 GB, free: 6.984 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01762/0.4919, allocations: 7.923 MB / 0.6599 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002345/0.4922, allocations: 60 kB / 0.6599 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02355/0.5157, allocations: 10.57 MB / 0.6702 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005679/0.5163, allocations: 263.2 kB / 0.6705 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005868/0.5169, allocations: 330.6 kB / 0.6708 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.5186, allocations: 1.078 MB / 0.6719 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.5186, allocations: 4 kB / 0.6719 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5186, allocations: 0 / 0.6719 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.795e-05/0.5186, allocations: 0 / 0.6719 GB, free: 2.57 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.002304/0.5209, allocations: 0.9912 MB / 0.6728 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.521, allocations: 12.03 kB / 0.6729 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003578/0.5213, allocations: 92.45 kB / 0.6729 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.5224, allocations: 482.7 kB / 0.6734 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/0.5225, allocations: 152.4 kB / 0.6735 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.5226, allocations: 60.11 kB / 0.6736 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.5242, allocations: 1.072 MB / 0.6746 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.5242, allocations: 7.938 kB / 0.6747 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.258e-05/0.5243, allocations: 23.98 kB / 0.6747 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.953e-05/0.5244, allocations: 40.92 kB / 0.6747 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.5255, allocations: 0.6478 MB / 0.6754 GB, free: 14.79 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.005001/0.5305, allocations: 3.317 MB / 0.6786 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009431/0.5315, allocations: 401.8 kB / 0.679 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/0.5318, allocations: 193.4 kB / 0.6792 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/0.5321, allocations: 48.28 kB / 0.6792 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.5321, allocations: 42.83 kB / 0.6792 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.124e-06/0.5321, allocations: 4 kB / 0.6792 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003404/0.5355, allocations: 1.456 MB / 0.6807 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.5356, allocations: 136.5 kB / 0.6808 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007309/0.5364, allocations: 0.5143 MB / 0.6813 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/0.5364, allocations: 33.7 kB / 0.6813 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.5368, allocations: 376.3 kB / 0.6817 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.5369, allocations: 170.5 kB / 0.6819 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.5371, allocations: 146.5 kB / 0.682 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002725/0.5374, allocations: 374.7 kB / 0.6824 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.5378, allocations: 221.9 kB / 0.6826 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007179/0.5385, allocations: 0.5964 MB / 0.6831 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.5397, allocations: 0.7833 MB / 0.6839 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5397, allocations: 0 / 0.6839 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001901/0.5416, allocations: 0.9298 MB / 0.6848 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.5416, allocations: 8 kB / 0.6848 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.5416, allocations: 8 kB / 0.6848 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.5428, allocations: 265.1 kB / 0.6851 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004382/0.5432, allocations: 127.8 kB / 0.6852 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.5443, allocations: 0.8665 MB / 0.6861 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.5448, allocations: 24 kB / 0.6861 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-05/0.5448, allocations: 36 kB / 0.6861 GB, free: 3.223 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.0003511/0.5452, allocations: 245.9 kB / 0.6863 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.5453, allocations: 59.62 kB / 0.6864 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.5467, allocations: 0.7219 MB / 0.6871 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.5467, allocations: 4 kB / 0.6871 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5467, allocations: 3.984 kB / 0.6871 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5467, allocations: 0 / 0.6871 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.5491, allocations: 1.232 MB / 0.6883 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.5491, allocations: 4 kB / 0.6883 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.5501, allocations: 191.8 kB / 0.6885 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002441/0.5503, allocations: 60.95 kB / 0.6886 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.5504, allocations: 23.92 kB / 0.6886 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002847/0.5532, allocations: 2.727 MB / 0.6913 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.5532, allocations: 3.984 kB / 0.6913 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.5549, allocations: 0.9934 MB / 0.6922 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000402/0.5553, allocations: 127.5 kB / 0.6923 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.492e-05/0.5554, allocations: 12 kB / 0.6924 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.5558, allocations: 16 kB / 0.6924 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.295e-05/0.5559, allocations: 35.88 kB / 0.6924 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.5559, allocations: 24.11 kB / 0.6924 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004542/0.5564, allocations: 350.8 kB / 0.6928 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5564, allocations: 0 / 0.6928 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007988/0.5572, allocations: 211.8 kB / 0.693 GB, free: 11.88 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.0004057/0.5576, allocations: 214.2 kB / 0.6932 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001268/0.5588, allocations: 0.5875 MB / 0.6937 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5588, allocations: 1.562 kB / 0.6937 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.56, allocations: 466.6 kB / 0.6942 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.5615, allocations: 307.5 kB / 0.6945 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.564, allocations: 1.471 MB / 0.6959 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.5644, allocations: 337 kB / 0.6962 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.5646, allocations: 63.42 kB / 0.6963 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/0.5646, allocations: 0 / 0.6963 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of Templates: time 0.02217/0.5868, allocations: 15.19 MB / 0.7111 GB, free: 9.234 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: 10.280061111785471]