Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001816/0.001815, allocations: 112.5 kB / 17.86 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002235/0.002235, allocations: 209.7 kB / 18.79 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.4/2.4, allocations: 227.4 MB / 246.9 MB, free: 9.027 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4325/0.4325, allocations: 46.12 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002963/0.002963, allocations: 75.59 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2138, allocations: 62.44 MB / 479.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.04455/0.2585, allocations: 21.08 MB / 0.4893 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.2706, allocations: 4.455 MB / 0.4936 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.2722, allocations: 27.75 kB / 0.4937 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.2742, allocations: 270.5 kB / 0.4939 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004369/0.2787, allocations: 0.8048 MB / 0.4947 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004751/0.2835, allocations: 0.8095 MB / 0.4955 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005268/0.2888, allocations: 2.675 MB / 0.4981 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/0.2903, allocations: 397.3 kB / 0.4985 GB, free: 7.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003892/0.2943, allocations: 0.8326 MB / 0.4993 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/0.2967, allocations: 0.6538 MB / 0.4999 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000426/0.2972, allocations: 36 kB / 0.5 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.2992, allocations: 267.6 kB / 0.5002 GB, free: 5.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007619/0.3, allocations: 235.2 kB / 0.5004 GB, free: 5.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001433/0.3015, allocations: 374.2 kB / 0.5008 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.3036, allocations: 0.8029 MB / 0.5016 GB, free: 3.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3037, allocations: 4 kB / 0.5016 GB, free: 3.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3037, allocations: 0 / 0.5016 GB, free: 3.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.7e-05/0.3038, allocations: 0 / 0.5016 GB, free: 3.879 MB / 382.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.005197/0.309, allocations: 1.052 MB / 0.5026 GB, free: 2.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.51e-05/0.3091, allocations: 8.031 kB / 0.5026 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008849/0.31, allocations: 95.98 kB / 0.5027 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.3119, allocations: 0.4938 MB / 0.5032 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.3122, allocations: 108.9 kB / 0.5033 GB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/0.3124, allocations: 52.28 kB / 0.5034 GB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.3149, allocations: 0.8174 MB / 0.5042 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.815e-05/0.315, allocations: 11.92 kB / 0.5042 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/0.3152, allocations: 27.98 kB / 0.5042 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/0.3153, allocations: 40.98 kB / 0.5042 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.3175, allocations: 0.6361 MB / 0.5049 GB, free: 376 kB / 382.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.4396/0.7571, allocations: 4.204 MB / 0.509 GB, free: 41.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.7588, allocations: 426.9 kB / 0.5094 GB, free: 41.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005988/0.7594, allocations: 206 kB / 0.5096 GB, free: 41.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005997/0.76, allocations: 0.4935 MB / 0.51 GB, free: 40.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.7601, allocations: 37.86 kB / 0.5101 GB, free: 40.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 3.757e-06/0.7601, allocations: 0.5312 kB / 0.5101 GB, free: 40.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.00596/0.7661, allocations: 1.534 MB / 0.5116 GB, free: 39.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.7663, allocations: 138.8 kB / 0.5117 GB, free: 39.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.768, allocations: 0.5636 MB / 0.5123 GB, free: 39.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.7681, allocations: 36.14 kB / 0.5123 GB, free: 39.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.7685, allocations: 356.6 kB / 0.5126 GB, free: 38.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.7688, allocations: 157 kB / 0.5128 GB, free: 38.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003937/0.7692, allocations: 142.3 kB / 0.5129 GB, free: 38.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002249/0.7694, allocations: 373.7 kB / 0.5133 GB, free: 38.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006956/0.7701, allocations: 227.7 kB / 0.5135 GB, free: 38.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00099/0.7711, allocations: 0.5132 MB / 0.514 GB, free: 37.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.7728, allocations: 0.783 MB / 0.5148 GB, free: 37.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.329e-05/0.7729, allocations: 2.312 kB / 0.5148 GB, free: 37.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003561/0.7764, allocations: 0.9452 MB / 0.5157 GB, free: 36.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.2e-05/0.7765, allocations: 12.16 kB / 0.5157 GB, free: 36.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-05/0.7766, allocations: 13.83 kB / 0.5157 GB, free: 36.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00224/0.7788, allocations: 266 kB / 0.516 GB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009266/0.7798, allocations: 121.9 kB / 0.5161 GB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.7816, allocations: 0.8652 MB / 0.5169 GB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.7831, allocations: 42.95 kB / 0.517 GB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/0.7833, allocations: 36.62 kB / 0.517 GB, free: 36.18 MB / 382.1 MB 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.0008533/0.7841, allocations: 250.2 kB / 0.5172 GB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003823/0.7845, allocations: 70.22 kB / 0.5173 GB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.787, allocations: 0.7113 MB / 0.518 GB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-05/0.787, allocations: 6.703 kB / 0.518 GB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/0.787, allocations: 0 / 0.518 GB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.7871, allocations: 6.422 kB / 0.518 GB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004458/0.7915, allocations: 1.411 MB / 0.5194 GB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.7916, allocations: 2.75 kB / 0.5194 GB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/0.7934, allocations: 188.8 kB / 0.5196 GB, free: 34.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000458/0.7939, allocations: 57.41 kB / 0.5196 GB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.124e-05/0.794, allocations: 14.41 kB / 0.5196 GB, free: 34.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003585/0.7976, allocations: 2.789 MB / 0.5224 GB, free: 32.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.7976, allocations: 2.875 kB / 0.5224 GB, free: 32.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003725/0.8014, allocations: 0.9958 MB / 0.5233 GB, free: 31.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009532/0.8024, allocations: 195.1 kB / 0.5235 GB, free: 31.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004026/0.8028, allocations: 14.89 kB / 0.5235 GB, free: 31.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.8038, allocations: 33.62 kB / 0.5236 GB, free: 31.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002662/0.8041, allocations: 42.38 kB / 0.5236 GB, free: 31.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-05/0.8042, allocations: 20.25 kB / 0.5236 GB, free: 31.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001258/0.8055, allocations: 423.7 kB / 0.524 GB, free: 31.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.8055, allocations: 0 / 0.524 GB, free: 31.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002376/0.8079, allocations: 209.6 kB / 0.5242 GB, free: 31.12 MB / 382.1 MB 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.001006/0.8089, allocations: 235.8 kB / 0.5245 GB, free: 31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002549/0.8115, allocations: 0.6045 MB / 0.5251 GB, free: 30.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.8115, allocations: 3.938 kB / 0.5251 GB, free: 30.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001894/0.8134, allocations: 475.6 kB / 0.5255 GB, free: 30.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/0.8166, allocations: 356.6 kB / 0.5258 GB, free: 30.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004696/0.8213, allocations: 1.671 MB / 0.5275 GB, free: 29.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008971/0.8222, allocations: 0.9375 MB / 0.5284 GB, free: 28.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004615/0.8227, allocations: 66.66 kB / 0.5285 GB, free: 28.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.8227, allocations: 0 / 0.5285 GB, free: 28.73 MB / 382.1 MB Notification: Performance of Templates: time 0.03763/0.8604, allocations: 15.53 MB / 0.5436 GB, free: 17.55 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p