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.001344/0.001344, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001472/0.001472, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.442/1.442, allocations: 230.2 MB / 255.2 MB, free: 15.23 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.2402/0.2402, allocations: 46.89 MB / 358.1 MB, free: 10.5 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.00225/0.00225, allocations: 83.86 kB / 0.4924 GB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1405, allocations: 65.99 MB / 0.5568 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.4455/0.586, allocations: 44.3 MB / 0.6001 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007328/0.5934, allocations: 4.394 MB / 0.6044 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009598/0.5943, allocations: 20.38 kB / 0.6044 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.5955, allocations: 322.2 kB / 0.6047 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002827/0.5983, allocations: 0.8747 MB / 0.6055 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003121/0.6014, allocations: 0.9007 MB / 0.6064 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003562/0.605, allocations: 1.798 MB / 0.6082 GB, free: 4.148 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.606, allocations: 410.6 kB / 0.6086 GB, free: 4.137 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1252/0.7313, allocations: 44.68 MB / 0.6522 GB, free: 10.11 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.021/0.7523, allocations: 8.024 MB / 0.66 GB, free: 2.102 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002728/0.7525, allocations: 60 kB / 0.6601 GB, free: 2.043 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02968/0.7822, allocations: 10.71 MB / 0.6705 GB, free: 7.297 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006011/0.7828, allocations: 265.4 kB / 0.6708 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007975/0.7836, allocations: 389.4 kB / 0.6712 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002003/0.7856, allocations: 1.098 MB / 0.6722 GB, free: 5.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.7856, allocations: 0 / 0.6722 GB, free: 5.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.7856, allocations: 0 / 0.6722 GB, free: 5.605 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.7856, allocations: 0 / 0.6722 GB, free: 5.605 MB / 494.1 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.002389/0.788, allocations: 1.072 MB / 0.6733 GB, free: 4.492 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.7881, allocations: 12.03 kB / 0.6733 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003741/0.7884, allocations: 96.45 kB / 0.6734 GB, free: 4.387 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000886/0.7893, allocations: 0.5336 MB / 0.6739 GB, free: 3.824 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.7895, allocations: 101 kB / 0.674 GB, free: 3.715 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.591e-05/0.7895, allocations: 51.58 kB / 0.6741 GB, free: 3.668 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.791, allocations: 0.8208 MB / 0.6749 GB, free: 2.773 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.791, allocations: 3.938 kB / 0.6749 GB, free: 2.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.897e-05/0.7911, allocations: 27.2 kB / 0.6749 GB, free: 2.746 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.126e-05/0.7912, allocations: 36.98 kB / 0.6749 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.7923, allocations: 0.6438 MB / 0.6756 GB, free: 2.066 MB / 494.1 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.005761/0.7981, allocations: 4.221 MB / 0.6797 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009115/0.799, allocations: 399 kB / 0.6801 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/0.7994, allocations: 193.4 kB / 0.6802 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006052/0.8, allocations: 0.5029 MB / 0.6807 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.374e-05/0.8, allocations: 46.39 kB / 0.6808 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 3.065e-06/0.8, allocations: 0 / 0.6808 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.004634/0.8046, allocations: 1.535 MB / 0.6823 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.8048, allocations: 140.5 kB / 0.6824 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009217/0.8057, allocations: 0.5693 MB / 0.683 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.121e-05/0.8058, allocations: 37.7 kB / 0.683 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/0.8061, allocations: 355.3 kB / 0.6833 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.8063, allocations: 177.7 kB / 0.6835 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.8065, allocations: 134.6 kB / 0.6836 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002289/0.8067, allocations: 378.7 kB / 0.684 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/0.8072, allocations: 221.9 kB / 0.6842 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000693/0.8078, allocations: 0.5279 MB / 0.6847 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.809, allocations: 0.7718 MB / 0.6855 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.809, allocations: 4 kB / 0.6855 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001917/0.811, allocations: 0.9451 MB / 0.6864 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.811, allocations: 8 kB / 0.6864 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.811, allocations: 8 kB / 0.6864 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.8122, allocations: 268.9 kB / 0.6867 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.8126, allocations: 127.8 kB / 0.6868 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.8138, allocations: 0.865 MB / 0.6876 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.8143, allocations: 27.81 kB / 0.6877 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.877e-05/0.8143, allocations: 39.98 kB / 0.6877 GB, free: 4.816 MB / 0.4981 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.0003681/0.8147, allocations: 245.6 kB / 0.6879 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.8148, allocations: 67.58 kB / 0.688 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.8163, allocations: 0.7124 MB / 0.6887 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.8163, allocations: 8 kB / 0.6887 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.8163, allocations: 4 kB / 0.6887 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.8163, allocations: 3.984 kB / 0.6887 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/0.8187, allocations: 1.4 MB / 0.6901 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.8187, allocations: 7.938 kB / 0.6901 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.8198, allocations: 187.8 kB / 0.6903 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002775/0.82, allocations: 60.97 kB / 0.6903 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.8201, allocations: 12 kB / 0.6903 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002829/0.8229, allocations: 2.983 MB / 0.6933 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.8229, allocations: 4 kB / 0.6933 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.8247, allocations: 1.001 MB / 0.6942 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003515/0.8251, allocations: 204.5 kB / 0.6944 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.85e-05/0.8252, allocations: 13.88 kB / 0.6944 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.8255, allocations: 20.06 kB / 0.6945 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.8257, allocations: 39.88 kB / 0.6945 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/0.8257, allocations: 20 kB / 0.6945 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005631/0.8263, allocations: 423 kB / 0.6949 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8263, allocations: 0 / 0.6949 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008069/0.8271, allocations: 203.9 kB / 0.6951 GB, free: 12.81 MB / 0.5137 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.0006419/0.8277, allocations: 243 kB / 0.6954 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.829, allocations: 0.5805 MB / 0.6959 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.829, allocations: 0 / 0.6959 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.8302, allocations: 467.6 kB / 0.6964 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.832, allocations: 371.7 kB / 0.6967 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.8347, allocations: 1.463 MB / 0.6981 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007264/0.8354, allocations: 0.9423 MB / 0.6991 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.8356, allocations: 63.44 kB / 0.6991 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of SimCode: time 1.172e-06/0.8356, allocations: 0 / 0.6991 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of Templates: time 0.02479/0.8604, allocations: 15.71 MB / 0.7145 GB, free: 9.02 MB / 0.5294 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_2/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_2/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.910789150046185]