Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001405, allocations: 176.8 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000912/0.0009119, allocations: 78.42 kB / 271.3 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4117/0.4117, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003819, allocations: 12 kB / 432.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1297, allocations: 58.84 MB / 491.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.595/6.725, allocations: 3.12 GB / 3.6 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/6.725, allocations: 98.19 kB / 3.601 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.51/9.235, allocations: 0.8635 GB / 4.464 GB, free: 65.13 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.785e-06/9.235, allocations: 0 / 4.464 GB, free: 65.13 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.81e-05/9.235, allocations: 20.98 kB / 4.464 GB, free: 65.13 MB / 0.5105 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.00634/9.241, allocations: 1.647 MB / 4.466 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/9.241, allocations: 7.812 kB / 4.466 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004768/9.242, allocations: 95.81 kB / 4.466 GB, free: 64.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/9.243, allocations: 0.5561 MB / 4.466 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-05/9.243, allocations: 101.2 kB / 4.466 GB, free: 63.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/9.243, allocations: 48.69 kB / 4.466 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/9.244, allocations: 0.8213 MB / 4.467 GB, free: 63.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/9.244, allocations: 15.56 kB / 4.467 GB, free: 63.17 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.151e-05/9.245, allocations: 23.78 kB / 4.467 GB, free: 63.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.968e-05/9.245, allocations: 35.47 kB / 4.467 GB, free: 63.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/9.246, allocations: 0.6374 MB / 4.468 GB, free: 62.93 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004255/9.25, allocations: 3.897 MB / 4.472 GB, free: 59.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007769/9.251, allocations: 400.7 kB / 4.472 GB, free: 59.74 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/9.251, allocations: 202.3 kB / 4.472 GB, free: 59.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003808/9.251, allocations: 0.4997 MB / 4.473 GB, free: 59.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/9.251, allocations: 34.89 kB / 4.473 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 2.875e-06/9.251, allocations: 0 / 4.473 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.002915/9.254, allocations: 1.517 MB / 4.474 GB, free: 58.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/9.254, allocations: 139.5 kB / 4.474 GB, free: 58.06 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005993/9.255, allocations: 0.5651 MB / 4.475 GB, free: 57.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/9.255, allocations: 29.7 kB / 4.475 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/9.255, allocations: 352.9 kB / 4.475 GB, free: 57.49 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/9.255, allocations: 169.3 kB / 4.475 GB, free: 57.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/9.255, allocations: 12 kB / 4.476 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.399e-05/9.256, allocations: 374.2 kB / 4.476 GB, free: 57.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/9.256, allocations: 223.3 kB / 4.476 GB, free: 56.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/9.256, allocations: 0.5176 MB / 4.477 GB, free: 56.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008042/9.257, allocations: 0.7594 MB / 4.477 GB, free: 55.87 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/9.257, allocations: 3.75 kB / 4.477 GB, free: 55.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001567/9.259, allocations: 0.927 MB / 4.478 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/9.259, allocations: 11.69 kB / 4.478 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/9.259, allocations: 16.06 kB / 4.478 GB, free: 55.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/9.26, allocations: 268.7 kB / 4.479 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/9.26, allocations: 120.8 kB / 4.479 GB, free: 55.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007463/9.261, allocations: 0.8588 MB / 4.479 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005755/9.262, allocations: 51.64 kB / 4.48 GB, free: 54.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.965e-05/9.262, allocations: 35.78 kB / 4.48 GB, free: 54.72 MB / 0.5105 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.0003132/9.262, allocations: 248.1 kB / 4.48 GB, free: 54.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/9.262, allocations: 64.5 kB / 4.48 GB, free: 54.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/9.263, allocations: 0.7009 MB / 4.481 GB, free: 54.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/9.263, allocations: 7 kB / 4.481 GB, free: 54.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/9.263, allocations: 3.938 kB / 4.481 GB, free: 54.17 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/9.263, allocations: 7.094 kB / 4.481 GB, free: 54.17 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/9.265, allocations: 1.381 MB / 4.482 GB, free: 53.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/9.265, allocations: 2.875 kB / 4.482 GB, free: 53.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008851/9.266, allocations: 192.2 kB / 4.482 GB, free: 53.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002854/9.266, allocations: 60.88 kB / 4.482 GB, free: 53.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.623e-05/9.267, allocations: 20.44 kB / 4.482 GB, free: 53.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/9.268, allocations: 2.796 MB / 4.485 GB, free: 50.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/9.268, allocations: 3.594 kB / 4.485 GB, free: 50.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/9.27, allocations: 0.9748 MB / 4.486 GB, free: 50.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/9.27, allocations: 194.2 kB / 4.486 GB, free: 49.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/9.27, allocations: 15.45 kB / 4.486 GB, free: 49.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005009/9.271, allocations: 28.45 kB / 4.486 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/9.271, allocations: 46.75 kB / 4.486 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/9.271, allocations: 20.34 kB / 4.486 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004753/9.271, allocations: 392.7 kB / 4.487 GB, free: 49.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/9.271, allocations: 0 / 4.487 GB, free: 49.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001069/9.272, allocations: 240.6 kB / 4.487 GB, free: 49.66 MB / 0.5105 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.000792/9.273, allocations: 392.8 kB / 4.487 GB, free: 49.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001079/9.274, allocations: 0.5885 MB / 4.488 GB, free: 49.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/9.274, allocations: 4 kB / 4.488 GB, free: 49.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/9.275, allocations: 485 kB / 4.488 GB, free: 49.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/9.277, allocations: 329.2 kB / 4.488 GB, free: 49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/9.279, allocations: 1.644 MB / 4.49 GB, free: 48.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/9.279, allocations: 0.939 MB / 4.491 GB, free: 47.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007355/9.28, allocations: 200.9 kB / 4.491 GB, free: 47.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/9.28, allocations: 62.14 kB / 4.491 GB, free: 47.27 MB / 0.5105 GB Notification: Performance of SimCode: time 6.11e-07/9.28, allocations: 0 / 4.491 GB, free: 47.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.02258/9.303, allocations: 15.82 MB / 4.507 GB, free: 46.12 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches