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) 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.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002362/0.002362, allocations: 111.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003642/0.003642, allocations: 205.8 kB / 18.92 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.775/2.775, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5544/0.5544, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001556, allocations: 72.81 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1235, allocations: 62.44 MB / 480.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.304/0.4276, allocations: 44.72 MB / 0.5126 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006078/0.4337, allocations: 4.461 MB / 0.5169 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009832/0.4347, allocations: 27.12 kB / 0.517 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.4357, allocations: 276.8 kB / 0.5172 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002177/0.438, allocations: 0.808 MB / 0.518 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.4406, allocations: 0.8194 MB / 0.5188 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002827/0.4434, allocations: 1.805 MB / 0.5206 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009022/0.4443, allocations: 457.5 kB / 0.521 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09532/0.5397, allocations: 44.03 MB / 0.564 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01665/0.5564, allocations: 7.998 MB / 0.5718 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002529/0.5566, allocations: 60 kB / 0.5719 GB, free: 4.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02491/0.5816, allocations: 10.7 MB / 0.5823 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006275/0.5822, allocations: 265.2 kB / 0.5826 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.5833, allocations: 392.9 kB / 0.583 GB, free: 9.531 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.585, allocations: 0.8086 MB / 0.5838 GB, free: 8.758 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.585, allocations: 0 / 0.5838 GB, free: 8.758 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.585, allocations: 7.938 kB / 0.5838 GB, free: 8.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.28e-05/0.5851, allocations: 0 / 0.5838 GB, free: 8.75 MB / 430.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.002862/0.5879, allocations: 1.043 MB / 0.5848 GB, free: 7.668 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.588, allocations: 12.02 kB / 0.5848 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004495/0.5885, allocations: 88 kB / 0.5849 GB, free: 7.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009462/0.5894, allocations: 0.5088 MB / 0.5854 GB, free: 7.031 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.5896, allocations: 107 kB / 0.5855 GB, free: 6.918 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.5897, allocations: 48.38 kB / 0.5855 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.5911, allocations: 0.819 MB / 0.5863 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.5911, allocations: 7.938 kB / 0.5863 GB, free: 5.973 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.792e-05/0.5912, allocations: 22.42 kB / 0.5863 GB, free: 5.953 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-05/0.5913, allocations: 44.97 kB / 0.5864 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.5924, allocations: 0.64 MB / 0.587 GB, free: 5.27 MB / 430.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.005562/0.598, allocations: 4.215 MB / 0.5911 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.5992, allocations: 423.9 kB / 0.5915 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/0.5997, allocations: 205.4 kB / 0.5917 GB, free: 176 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000635/0.6004, allocations: 0.5024 MB / 0.5922 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.6004, allocations: 39.22 kB / 0.5923 GB, free: 15.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 3.937e-06/0.6004, allocations: 0 / 0.5923 GB, free: 15.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.004472/0.6049, allocations: 1.522 MB / 0.5937 GB, free: 13.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.6051, allocations: 136.5 kB / 0.5939 GB, free: 13.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009724/0.606, allocations: 0.5654 MB / 0.5944 GB, free: 13.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.812e-05/0.6061, allocations: 37.7 kB / 0.5945 GB, free: 13.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.6065, allocations: 353.4 kB / 0.5948 GB, free: 12.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.6067, allocations: 163.3 kB / 0.595 GB, free: 12.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.607, allocations: 138.6 kB / 0.5951 GB, free: 12.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.6072, allocations: 378.7 kB / 0.5955 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005269/0.6077, allocations: 221.9 kB / 0.5957 GB, free: 11.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007949/0.6085, allocations: 0.5278 MB / 0.5962 GB, free: 11.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.6099, allocations: 0.7757 MB / 0.5969 GB, free: 10.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/0.6099, allocations: 4 kB / 0.5969 GB, free: 10.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002493/0.6124, allocations: 0.9453 MB / 0.5979 GB, free: 9.379 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.6125, allocations: 10.5 kB / 0.5979 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.6125, allocations: 8 kB / 0.5979 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.6139, allocations: 267.4 kB / 0.5981 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005695/0.6145, allocations: 127.8 kB / 0.5983 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.6158, allocations: 0.8645 MB / 0.5991 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008095/0.6166, allocations: 39.98 kB / 0.5991 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.447e-05/0.6167, allocations: 40.05 kB / 0.5992 GB, free: 8.008 MB / 446.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.0004646/0.6172, allocations: 241.5 kB / 0.5994 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.6174, allocations: 79.09 kB / 0.5995 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/0.6192, allocations: 0.7108 MB / 0.6002 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.6192, allocations: 11.92 kB / 0.6002 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.6192, allocations: 4 kB / 0.6002 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.6193, allocations: 3.984 kB / 0.6002 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/0.6221, allocations: 1.398 MB / 0.6016 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/0.6222, allocations: 7.938 kB / 0.6016 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.6235, allocations: 192 kB / 0.6018 GB, free: 5.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003071/0.6238, allocations: 56.78 kB / 0.6018 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.979e-05/0.6239, allocations: 12 kB / 0.6018 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00306/0.6269, allocations: 2.99 MB / 0.6047 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6269, allocations: 0 / 0.6047 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.629, allocations: 0.9956 MB / 0.6057 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/0.6295, allocations: 200.8 kB / 0.6059 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.6297, allocations: 12 kB / 0.6059 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006551/0.6304, allocations: 35.98 kB / 0.6059 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.6305, allocations: 39.83 kB / 0.606 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/0.6306, allocations: 21.67 kB / 0.606 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007062/0.6313, allocations: 423 kB / 0.6064 GB, free: 180 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6313, allocations: 4 kB / 0.6064 GB, free: 176 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001062/0.6324, allocations: 212 kB / 0.6066 GB, free: 15.96 MB / 462.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.0005682/0.633, allocations: 228.7 kB / 0.6068 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.6345, allocations: 0.6749 MB / 0.6075 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.6345, allocations: 0 / 0.6075 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.6357, allocations: 482.7 kB / 0.608 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.6376, allocations: 373.3 kB / 0.6083 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.6402, allocations: 1.672 MB / 0.6099 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/0.6408, allocations: 0.9346 MB / 0.6109 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.641, allocations: 67.42 kB / 0.6109 GB, free: 11.49 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.641, allocations: 0 / 0.6109 GB, free: 11.49 MB / 462.1 MB Notification: Performance of Templates: time 0.02457/0.6656, allocations: 15.54 MB / 0.6261 GB, free: 12.04 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (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) 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.0.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) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p