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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.002423/0.002423, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008944/0.0008946, allocations: 110.5 kB / 297.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4052/0.4052, allocations: 44.84 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003393, allocations: 4 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4175, allocations: 62.95 MB / 0.5184 GB, free: 37.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.314/7.731, allocations: 3.128 GB / 3.646 GB, free: 75.38 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/7.732, allocations: 99.92 kB / 3.646 GB, free: 75.28 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.777/10.51, allocations: 0.8692 GB / 4.515 GB, free: 59.02 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.784e-06/10.51, allocations: 0 / 4.515 GB, free: 59.02 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.363e-05/10.51, allocations: 24.56 kB / 4.516 GB, free: 59 MB / 0.5417 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.006268/10.51, allocations: 1.649 MB / 4.517 GB, free: 57.98 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/10.51, allocations: 7.719 kB / 4.517 GB, free: 57.98 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004825/10.52, allocations: 88.48 kB / 4.517 GB, free: 57.95 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/10.52, allocations: 0.5566 MB / 4.518 GB, free: 57.56 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/10.52, allocations: 110.5 kB / 4.518 GB, free: 57.48 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/10.52, allocations: 52.58 kB / 4.518 GB, free: 57.46 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/10.52, allocations: 0.8159 MB / 4.519 GB, free: 56.99 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/10.52, allocations: 18.33 kB / 4.519 GB, free: 56.98 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.049e-05/10.52, allocations: 19.97 kB / 4.519 GB, free: 56.96 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.301e-05/10.52, allocations: 37.53 kB / 4.519 GB, free: 56.96 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/10.52, allocations: 0.635 MB / 4.519 GB, free: 56.74 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004161/10.52, allocations: 3.91 MB / 4.523 GB, free: 53.68 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007315/10.52, allocations: 388.9 kB / 4.524 GB, free: 53.52 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/10.52, allocations: 201.1 kB / 4.524 GB, free: 53.44 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000416/10.52, allocations: 0.4976 MB / 4.524 GB, free: 52.87 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/10.52, allocations: 38.86 kB / 4.524 GB, free: 52.83 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=40): time 2.695e-06/10.52, allocations: 0 / 4.524 GB, free: 52.83 MB / 0.5417 GB Notification: Performance of matching and sorting (n=45): time 0.003257/10.53, allocations: 1.51 MB / 4.526 GB, free: 52 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/10.53, allocations: 139.3 kB / 4.526 GB, free: 51.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006612/10.53, allocations: 0.5585 MB / 4.526 GB, free: 51.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.963e-05/10.53, allocations: 41.39 kB / 4.527 GB, free: 51.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/10.53, allocations: 349.9 kB / 4.527 GB, free: 51.27 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/10.53, allocations: 163.2 kB / 4.527 GB, free: 51.14 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/10.53, allocations: 15.97 kB / 4.527 GB, free: 51.13 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001088/10.53, allocations: 373.4 kB / 4.527 GB, free: 50.79 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/10.53, allocations: 218.7 kB / 4.528 GB, free: 50.71 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/10.53, allocations: 0.5114 MB / 4.528 GB, free: 50.25 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007896/10.53, allocations: 0.7784 MB / 4.529 GB, free: 49.55 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/10.53, allocations: 0 / 4.529 GB, free: 49.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001616/10.53, allocations: 0.9291 MB / 4.53 GB, free: 48.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/10.53, allocations: 11.94 kB / 4.53 GB, free: 48.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/10.53, allocations: 12 kB / 4.53 GB, free: 48.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/10.53, allocations: 266.7 kB / 4.53 GB, free: 48.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/10.53, allocations: 123.8 kB / 4.53 GB, free: 48.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007558/10.53, allocations: 0.8606 MB / 4.531 GB, free: 47.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006439/10.54, allocations: 39.98 kB / 4.531 GB, free: 47.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.891e-05/10.54, allocations: 41.86 kB / 4.531 GB, free: 47.27 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003442/10.54, allocations: 249.4 kB / 4.531 GB, free: 47.02 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/10.54, allocations: 67.16 kB / 4.531 GB, free: 46.95 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/10.54, allocations: 0.6957 MB / 4.532 GB, free: 46.24 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/10.54, allocations: 11.98 kB / 4.532 GB, free: 46.23 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/10.54, allocations: 3.938 kB / 4.532 GB, free: 46.23 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/10.54, allocations: 0 / 4.532 GB, free: 46.23 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/10.54, allocations: 1.377 MB / 4.533 GB, free: 44.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/10.54, allocations: 11.88 kB / 4.533 GB, free: 44.76 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009024/10.54, allocations: 192 kB / 4.534 GB, free: 44.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002511/10.54, allocations: 60.78 kB / 4.534 GB, free: 44.51 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/10.54, allocations: 15.98 kB / 4.534 GB, free: 44.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/10.54, allocations: 2.796 MB / 4.536 GB, free: 41.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/10.54, allocations: 0 / 4.536 GB, free: 41.44 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/10.54, allocations: 0.9778 MB / 4.537 GB, free: 40.43 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/10.54, allocations: 200.2 kB / 4.538 GB, free: 40.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.103e-05/10.54, allocations: 8 kB / 4.538 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004385/10.54, allocations: 31.97 kB / 4.538 GB, free: 40.17 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/10.54, allocations: 43.89 kB / 4.538 GB, free: 40.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/10.54, allocations: 19.98 kB / 4.538 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004784/10.54, allocations: 394.8 kB / 4.538 GB, free: 39.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.6e-07/10.54, allocations: 0 / 4.538 GB, free: 39.73 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001056/10.55, allocations: 243.9 kB / 4.538 GB, free: 39.49 MB / 0.5417 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007339/10.55, allocations: 384.5 kB / 4.539 GB, free: 39.13 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00117/10.55, allocations: 0.6008 MB / 4.539 GB, free: 38.53 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/10.55, allocations: 3.938 kB / 4.539 GB, free: 38.53 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/10.55, allocations: 478.8 kB / 4.54 GB, free: 38.05 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/10.55, allocations: 337.2 kB / 4.54 GB, free: 37.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/10.55, allocations: 1.641 MB / 4.542 GB, free: 36.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/10.55, allocations: 0.9425 MB / 4.543 GB, free: 35.09 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007059/10.55, allocations: 200.6 kB / 4.543 GB, free: 34.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/10.55, allocations: 59.42 kB / 4.543 GB, free: 34.84 MB / 0.5417 GB Notification: Performance of SimCode: time 9.32e-07/10.55, allocations: 0 / 4.543 GB, free: 34.84 MB / 0.5417 GB Notification: Performance of Templates: time 0.02261/10.58, allocations: 15.85 MB / 4.558 GB, free: 19.21 MB / 0.5417 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","../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches