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.00124/0.00124, allocations: 113 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2316/0.2316, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67.89 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.36, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05049/0.4105, allocations: 44.11 MB / 0.5747 GB, free: 5.496 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006712/0.4173, allocations: 4.375 MB / 0.579 GB, free: 1.105 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008646/0.4182, allocations: 19.88 kB / 0.579 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.4194, allocations: 314 kB / 0.5793 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.422, allocations: 0.8706 MB / 0.5802 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.4246, allocations: 0.8949 MB / 0.5811 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002478/0.4271, allocations: 1.805 MB / 0.5828 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000914/0.4281, allocations: 461.3 kB / 0.5833 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1485/0.5766, allocations: 44.59 MB / 0.6268 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0323/0.6089, allocations: 7.959 MB / 0.6346 GB, free: 7.609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003693/0.6094, allocations: 64 kB / 0.6346 GB, free: 7.547 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04387/0.6533, allocations: 10.68 MB / 0.6451 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007957/0.6541, allocations: 259.3 kB / 0.6453 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.6552, allocations: 390.2 kB / 0.6457 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002844/0.6581, allocations: 1.079 MB / 0.6467 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.6581, allocations: 15.92 kB / 0.6468 GB, free: 11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6582, allocations: 0 / 0.6468 GB, free: 11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.317e-05/0.6582, allocations: 0 / 0.6468 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.004057/0.6623, allocations: 1.044 MB / 0.6478 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.6623, allocations: 11.97 kB / 0.6478 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007463/0.6631, allocations: 91.98 kB / 0.6479 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.6648, allocations: 0.5289 MB / 0.6484 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.665, allocations: 104.9 kB / 0.6485 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.6652, allocations: 52.12 kB / 0.6485 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/0.6674, allocations: 0.8136 MB / 0.6493 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.804e-05/0.6675, allocations: 7.938 kB / 0.6493 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.6676, allocations: 23.98 kB / 0.6494 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.393e-05/0.6677, allocations: 36.98 kB / 0.6494 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/0.6698, allocations: 0.6439 MB / 0.65 GB, free: 7.477 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.00874/0.6786, allocations: 4.221 MB / 0.6541 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.6803, allocations: 415 kB / 0.6545 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000619/0.6809, allocations: 213.4 kB / 0.6547 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008163/0.6818, allocations: 0.5029 MB / 0.6552 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.6818, allocations: 38.89 kB / 0.6553 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 3.767e-06/0.6818, allocations: 0 / 0.6553 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.005987/0.6878, allocations: 1.528 MB / 0.6568 GB, free: 100 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.688, allocations: 132.5 kB / 0.6569 GB, free: 15.94 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.6894, allocations: 0.5693 MB / 0.6574 GB, free: 15.36 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 8.229e-05/0.6895, allocations: 33.7 kB / 0.6575 GB, free: 15.32 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.000431/0.6899, allocations: 355 kB / 0.6578 GB, free: 14.96 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/0.6902, allocations: 165.7 kB / 0.658 GB, free: 14.8 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003568/0.6906, allocations: 138.6 kB / 0.6581 GB, free: 14.66 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0002469/0.6908, allocations: 374.7 kB / 0.6585 GB, free: 14.29 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007157/0.6916, allocations: 229.8 kB / 0.6587 GB, free: 14.06 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008337/0.6924, allocations: 0.5201 MB / 0.6592 GB, free: 13.41 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.6935, allocations: 0.7796 MB / 0.66 GB, free: 12.5 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.6935, allocations: 4 kB / 0.66 GB, free: 12.49 MB / 0.5138 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001819/0.6953, allocations: 0.9371 MB / 0.6609 GB, free: 11.55 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.6954, allocations: 8 kB / 0.6609 GB, free: 11.54 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.6954, allocations: 19.88 kB / 0.6609 GB, free: 11.52 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.6966, allocations: 263.5 kB / 0.6612 GB, free: 11.26 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.697, allocations: 131.7 kB / 0.6613 GB, free: 11.13 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000977/0.698, allocations: 0.8645 MB / 0.6621 GB, free: 10.24 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000489/0.6985, allocations: 27.98 kB / 0.6621 GB, free: 10.21 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.403e-05/0.6986, allocations: 36 kB / 0.6622 GB, free: 10.18 MB / 0.5138 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.0003418/0.6989, allocations: 241.5 kB / 0.6624 GB, free: 9.934 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.699, allocations: 71.3 kB / 0.6625 GB, free: 9.863 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.7004, allocations: 0.7052 MB / 0.6632 GB, free: 9.152 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.7004, allocations: 4 kB / 0.6632 GB, free: 9.148 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.7004, allocations: 0 / 0.6632 GB, free: 9.148 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.7004, allocations: 7.984 kB / 0.6632 GB, free: 9.141 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.7026, allocations: 1.412 MB / 0.6646 GB, free: 7.648 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.7026, allocations: 0 / 0.6646 GB, free: 7.648 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009555/0.7035, allocations: 191.8 kB / 0.6647 GB, free: 7.461 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002707/0.7038, allocations: 52.78 kB / 0.6648 GB, free: 7.406 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/0.7039, allocations: 20.06 kB / 0.6648 GB, free: 7.387 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.7063, allocations: 2.987 MB / 0.6677 GB, free: 4.121 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7064, allocations: 0 / 0.6677 GB, free: 4.121 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.708, allocations: 0.9931 MB / 0.6687 GB, free: 3.086 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.7083, allocations: 204.2 kB / 0.6689 GB, free: 2.867 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.347e-05/0.7084, allocations: 12 kB / 0.6689 GB, free: 2.855 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.7088, allocations: 15.98 kB / 0.6689 GB, free: 2.84 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.405e-05/0.7089, allocations: 43.95 kB / 0.669 GB, free: 2.797 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/0.7089, allocations: 19.98 kB / 0.669 GB, free: 2.777 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00053/0.7095, allocations: 419.1 kB / 0.6694 GB, free: 2.363 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7095, allocations: 0 / 0.6694 GB, free: 2.363 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0008123/0.7103, allocations: 208 kB / 0.6696 GB, free: 2.16 MB / 0.5138 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.0005337/0.7108, allocations: 237 kB / 0.6698 GB, free: 1.926 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.7121, allocations: 0.6123 MB / 0.6704 GB, free: 1.316 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.7121, allocations: 0 / 0.6704 GB, free: 1.316 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.7132, allocations: 471 kB / 0.6709 GB, free: 0.8438 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.7148, allocations: 371.7 kB / 0.6712 GB, free: 0.4922 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.7171, allocations: 1.446 MB / 0.6726 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.7177, allocations: 0.9346 MB / 0.6735 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.7179, allocations: 67.42 kB / 0.6736 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/0.7179, allocations: 0 / 0.6736 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of Templates: time 0.02184/0.7398, allocations: 15.63 MB / 0.6889 GB, free: 14.41 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