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.001139/0.001139, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2084/0.2084, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002698/0.002698, allocations: 72.11 kB / 482 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3212, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04492/0.3661, allocations: 44.11 MB / 0.5747 GB, free: 5.457 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00621/0.3724, allocations: 4.367 MB / 0.579 GB, free: 1.074 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007601/0.3732, allocations: 19.88 kB / 0.579 GB, free: 1.055 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.3742, allocations: 322 kB / 0.5793 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.3764, allocations: 0.8549 MB / 0.5802 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.3789, allocations: 0.8919 MB / 0.581 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002139/0.3811, allocations: 1.801 MB / 0.5828 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000775/0.3818, allocations: 469.2 kB / 0.5832 GB, free: 12.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.094/0.4759, allocations: 44.57 MB / 0.6268 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01582/0.4917, allocations: 7.967 MB / 0.6345 GB, free: 7.605 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003008/0.4921, allocations: 60 kB / 0.6346 GB, free: 7.547 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02277/0.5149, allocations: 10.68 MB / 0.645 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000467/0.5154, allocations: 263.3 kB / 0.6453 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006898/0.5161, allocations: 390.2 kB / 0.6457 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.5178, allocations: 1.094 MB / 0.6467 GB, free: 11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5179, allocations: 0 / 0.6467 GB, free: 11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5179, allocations: 0 / 0.6467 GB, free: 11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.945e-05/0.5179, allocations: 0 / 0.6467 GB, free: 11 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.002521/0.5204, allocations: 1.04 MB / 0.6477 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.5205, allocations: 12.03 kB / 0.6477 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000402/0.5209, allocations: 95.98 kB / 0.6478 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008883/0.5218, allocations: 0.5327 MB / 0.6484 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.5219, allocations: 96.97 kB / 0.6485 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.786e-05/0.522, allocations: 56.11 kB / 0.6485 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.5233, allocations: 0.8213 MB / 0.6493 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.5233, allocations: 3.938 kB / 0.6493 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.23e-05/0.5234, allocations: 27.98 kB / 0.6493 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-05/0.5235, allocations: 32.98 kB / 0.6494 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.5245, allocations: 0.6439 MB / 0.65 GB, free: 7.469 MB / 0.4981 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.004762/0.5293, allocations: 4.225 MB / 0.6541 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008687/0.5302, allocations: 419.1 kB / 0.6545 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.5305, allocations: 205.4 kB / 0.6547 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004575/0.531, allocations: 0.4951 MB / 0.6552 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.531, allocations: 38.89 kB / 0.6552 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.595e-06/0.531, allocations: 0 / 0.6552 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003168/0.5342, allocations: 1.528 MB / 0.6567 GB, free: 100 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.22e-05/0.5343, allocations: 132.5 kB / 0.6569 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006831/0.535, allocations: 0.5693 MB / 0.6574 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.5351, allocations: 41.7 kB / 0.6575 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.5353, allocations: 351 kB / 0.6578 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.5355, allocations: 161.6 kB / 0.6579 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.5356, allocations: 138.6 kB / 0.6581 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5358, allocations: 382.7 kB / 0.6584 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.5362, allocations: 221.9 kB / 0.6587 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.5368, allocations: 0.5201 MB / 0.6592 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009677/0.5377, allocations: 0.7835 MB / 0.6599 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.5377, allocations: 4 kB / 0.6599 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001773/0.5395, allocations: 0.937 MB / 0.6608 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.5396, allocations: 22.38 kB / 0.6609 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.5396, allocations: 8 kB / 0.6609 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.5407, allocations: 261.2 kB / 0.6611 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.5411, allocations: 127.8 kB / 0.6612 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008946/0.542, allocations: 0.8645 MB / 0.6621 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.5425, allocations: 31.98 kB / 0.6621 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/0.5426, allocations: 32 kB / 0.6622 GB, free: 10.18 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.000337/0.5429, allocations: 249.5 kB / 0.6624 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.5431, allocations: 71.25 kB / 0.6625 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.5444, allocations: 0.6984 MB / 0.6631 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.5445, allocations: 11.98 kB / 0.6632 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.5445, allocations: 8 kB / 0.6632 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5445, allocations: 0 / 0.6632 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.5466, allocations: 1.404 MB / 0.6645 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.5466, allocations: 4 kB / 0.6645 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009586/0.5476, allocations: 191.8 kB / 0.6647 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002455/0.5479, allocations: 52.95 kB / 0.6648 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/0.5479, allocations: 19.98 kB / 0.6648 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/0.5502, allocations: 2.983 MB / 0.6677 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5502, allocations: 0 / 0.6677 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.5517, allocations: 0.9931 MB / 0.6687 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003038/0.552, allocations: 200.2 kB / 0.6689 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.5522, allocations: 15.98 kB / 0.6689 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.5526, allocations: 20.06 kB / 0.6689 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.5527, allocations: 39.83 kB / 0.6689 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.5527, allocations: 23.98 kB / 0.669 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004962/0.5532, allocations: 419 kB / 0.6694 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5532, allocations: 0 / 0.6694 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007543/0.554, allocations: 204 kB / 0.6695 GB, free: 2.16 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.000486/0.5545, allocations: 234.2 kB / 0.6698 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.5557, allocations: 0.6119 MB / 0.6704 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.5557, allocations: 3.984 kB / 0.6704 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.5568, allocations: 471.4 kB / 0.6708 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.5585, allocations: 381.4 kB / 0.6712 GB, free: 496 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.5608, allocations: 1.441 MB / 0.6726 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.5613, allocations: 0.9307 MB / 0.6735 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.5615, allocations: 67.42 kB / 0.6736 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.5615, allocations: 0 / 0.6736 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of Templates: time 0.02101/0.5826, allocations: 15.63 MB / 0.6888 GB, free: 14.4 MB / 0.545 GB 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