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.00161/0.00161, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001775/0.001775, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.232/0.232, allocations: 46.13 MB / 344.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 70.84 kB / 417.8 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.118, allocations: 62.46 MB / 480.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.277/0.3951, allocations: 44.72 MB / 0.5127 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006429/0.4015, allocations: 4.465 MB / 0.517 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.4026, allocations: 27.31 kB / 0.517 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009701/0.4036, allocations: 277.7 kB / 0.5173 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002163/0.4058, allocations: 0.806 MB / 0.5181 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.4089, allocations: 0.8248 MB / 0.5189 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002969/0.4119, allocations: 1.806 MB / 0.5207 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008814/0.4128, allocations: 458.2 kB / 0.5211 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09574/0.5085, allocations: 44.03 MB / 0.5641 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01845/0.527, allocations: 8.006 MB / 0.5719 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002599/0.5273, allocations: 60 kB / 0.572 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02528/0.5526, allocations: 10.7 MB / 0.5824 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005809/0.5532, allocations: 260.9 kB / 0.5827 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007808/0.554, allocations: 396.5 kB / 0.583 GB, free: 9.523 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.5554, allocations: 0.8085 MB / 0.5838 GB, free: 8.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5554, allocations: 0 / 0.5838 GB, free: 8.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5554, allocations: 0 / 0.5838 GB, free: 8.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.5554, 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.00239/0.5578, allocations: 1.052 MB / 0.5849 GB, free: 7.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.5578, allocations: 8.031 kB / 0.5849 GB, free: 7.652 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000379/0.5582, allocations: 91.98 kB / 0.585 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008568/0.5591, allocations: 0.5073 MB / 0.5855 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.5592, allocations: 102.6 kB / 0.5856 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.5594, allocations: 50.64 kB / 0.5856 GB, free: 6.867 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.5608, allocations: 0.8219 MB / 0.5864 GB, free: 5.973 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.5609, allocations: 7.938 kB / 0.5864 GB, free: 5.965 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.356e-05/0.561, allocations: 22.97 kB / 0.5864 GB, free: 5.945 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.474e-05/0.561, allocations: 36.98 kB / 0.5865 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.5623, allocations: 0.6517 MB / 0.5871 GB, free: 5.258 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.005753/0.568, allocations: 4.212 MB / 0.5912 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.5691, allocations: 421.7 kB / 0.5916 GB, free: 380 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003762/0.5695, allocations: 207.6 kB / 0.5918 GB, free: 172 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006112/0.5701, allocations: 0.499 MB / 0.5923 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.5701, allocations: 39.22 kB / 0.5923 GB, free: 15.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.264e-06/0.5702, allocations: 0 / 0.5923 GB, free: 15.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.00368/0.5738, allocations: 1.52 MB / 0.5938 GB, free: 13.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.869e-05/0.574, allocations: 140.5 kB / 0.594 GB, free: 13.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008246/0.5748, allocations: 0.5693 MB / 0.5945 GB, free: 13.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.266e-05/0.5749, allocations: 37.7 kB / 0.5946 GB, free: 13.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/0.5752, allocations: 356.1 kB / 0.5949 GB, free: 12.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.5754, allocations: 164.8 kB / 0.5951 GB, free: 12.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.5756, allocations: 138.6 kB / 0.5952 GB, free: 12.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.5758, allocations: 378.7 kB / 0.5955 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.5762, allocations: 217.9 kB / 0.5958 GB, free: 11.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006867/0.5769, allocations: 0.5318 MB / 0.5963 GB, free: 11.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.5781, allocations: 0.7718 MB / 0.597 GB, free: 10.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.5781, allocations: 4 kB / 0.597 GB, free: 10.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001954/0.58, allocations: 0.9446 MB / 0.598 GB, free: 9.367 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.5801, allocations: 8 kB / 0.598 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.5801, allocations: 8 kB / 0.598 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.5813, allocations: 268.2 kB / 0.5982 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.5818, allocations: 123.8 kB / 0.5983 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.5829, allocations: 0.8707 MB / 0.5992 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005887/0.5835, allocations: 39.98 kB / 0.5992 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.967e-05/0.5835, allocations: 39.92 kB / 0.5993 GB, free: 7.996 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.0003712/0.5839, allocations: 245.5 kB / 0.5995 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.5841, allocations: 71.16 kB / 0.5996 GB, free: 7.676 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.5855, allocations: 0.7081 MB / 0.6003 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.5855, allocations: 8 kB / 0.6003 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.5856, allocations: 4.875 kB / 0.6003 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.5856, allocations: 3.984 kB / 0.6003 GB, free: 6.945 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.588, allocations: 1.399 MB / 0.6016 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.588, allocations: 7.938 kB / 0.6017 GB, free: 5.469 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.589, allocations: 188 kB / 0.6018 GB, free: 5.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002696/0.5893, allocations: 56.8 kB / 0.6019 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.513e-05/0.5894, allocations: 19.98 kB / 0.6019 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002835/0.5922, allocations: 2.982 MB / 0.6048 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5923, allocations: 0 / 0.6048 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.594, allocations: 0.9995 MB / 0.6058 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/0.5944, allocations: 200.2 kB / 0.606 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.5945, allocations: 12 kB / 0.606 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000448/0.595, allocations: 35.98 kB / 0.606 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.803e-05/0.5951, allocations: 39.83 kB / 0.6061 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.135e-05/0.5951, allocations: 19.98 kB / 0.6061 GB, free: 0.582 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005851/0.5957, allocations: 423 kB / 0.6065 GB, free: 172 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5957, allocations: 0 / 0.6065 GB, free: 172 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001142/0.5969, allocations: 208 kB / 0.6067 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.0006281/0.5975, allocations: 239.2 kB / 0.6069 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.599, allocations: 0.6738 MB / 0.6076 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5991, allocations: 0 / 0.6076 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.6003, allocations: 471.9 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.001814/0.6021, allocations: 384.5 kB / 0.6084 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.6048, allocations: 1.676 MB / 0.61 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/0.6054, allocations: 0.9385 MB / 0.6109 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.6057, allocations: 63.44 kB / 0.611 GB, free: 11.48 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.6057, allocations: 0 / 0.611 GB, free: 11.48 MB / 462.1 MB Notification: Performance of Templates: time 0.0228/0.6285, allocations: 15.56 MB / 0.6262 GB, free: 12 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