Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 196.7 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 226.5 MB / 245.4 MB, free: 6.391 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008536/0.0008534, allocations: 105 kB / 297.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4486/0.4486, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 12 kB / 467.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4767/0.4771, allocations: 62.95 MB / 0.5184 GB, free: 37.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.431/1.908, allocations: 431.6 MB / 0.9399 GB, free: 182.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00036/1.908, allocations: 99.62 kB / 0.94 GB, free: 182.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4197/2.328, allocations: 135.3 MB / 1.072 GB, free: 49.16 MB / 0.5417 GB Notification: Performance of FrontEnd: time 7.554e-06/2.328, allocations: 0 / 1.072 GB, free: 49.16 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001481/2.328, allocations: 20.34 kB / 1.072 GB, free: 49.14 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.004864/2.333, allocations: 0.9742 MB / 1.073 GB, free: 48.11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.802e-05/2.333, allocations: 8.031 kB / 1.073 GB, free: 48.11 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000986/2.334, allocations: 91.98 kB / 1.073 GB, free: 48.02 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/2.336, allocations: 0.5609 MB / 1.074 GB, free: 47.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/2.337, allocations: 101.5 kB / 1.074 GB, free: 47.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002353/2.337, allocations: 48 kB / 1.074 GB, free: 47.26 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/2.339, allocations: 0.8204 MB / 1.075 GB, free: 46.37 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.941e-05/2.339, allocations: 0 / 1.075 GB, free: 46.37 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/2.339, allocations: 24 kB / 1.075 GB, free: 46.34 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.932e-05/2.339, allocations: 40.98 kB / 1.075 GB, free: 46.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/2.341, allocations: 0.64 MB / 1.075 GB, free: 45.66 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006271/2.347, allocations: 3.632 MB / 1.079 GB, free: 41.81 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009896/2.348, allocations: 404.1 kB / 1.079 GB, free: 41.41 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004135/2.349, allocations: 201.4 kB / 1.079 GB, free: 41.21 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006157/2.349, allocations: 0.7327 MB / 1.08 GB, free: 40.31 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/2.35, allocations: 46.89 kB / 1.08 GB, free: 40.25 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=40): time 5.21e-06/2.35, allocations: 0 / 1.08 GB, free: 40.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=45): time 0.004522/2.354, allocations: 1.52 MB / 1.082 GB, free: 38.66 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/2.354, allocations: 136.5 kB / 1.082 GB, free: 38.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/2.355, allocations: 0.5692 MB / 1.082 GB, free: 37.92 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.641e-05/2.355, allocations: 37.7 kB / 1.082 GB, free: 37.88 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/2.356, allocations: 354.9 kB / 1.083 GB, free: 37.53 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/2.356, allocations: 153.8 kB / 1.083 GB, free: 37.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/2.356, allocations: 12 kB / 1.083 GB, free: 37.36 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001622/2.356, allocations: 378.8 kB / 1.083 GB, free: 36.98 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/2.357, allocations: 209.9 kB / 1.083 GB, free: 36.78 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006992/2.357, allocations: 0.5123 MB / 1.084 GB, free: 36.13 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/2.359, allocations: 0.7484 MB / 1.085 GB, free: 35.25 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/2.359, allocations: 4 kB / 1.085 GB, free: 35.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002255/2.361, allocations: 0.8939 MB / 1.086 GB, free: 34.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/2.361, allocations: 11.94 kB / 1.086 GB, free: 34.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.652e-05/2.361, allocations: 16.86 kB / 1.086 GB, free: 34.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/2.363, allocations: 284.5 kB / 1.086 GB, free: 34.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005411/2.363, allocations: 123.8 kB / 1.086 GB, free: 33.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/2.365, allocations: 0.8754 MB / 1.087 GB, free: 33.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009831/2.366, allocations: 51.94 kB / 1.087 GB, free: 32.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/2.366, allocations: 40 kB / 1.087 GB, free: 32.93 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 (71): * Single equations (assignments): 70 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006274/2.366, allocations: 253.3 kB / 1.087 GB, free: 32.67 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/2.367, allocations: 63.25 kB / 1.087 GB, free: 32.61 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/2.368, allocations: 0.7565 MB / 1.088 GB, free: 31.82 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/2.368, allocations: 8 kB / 1.088 GB, free: 31.81 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/2.368, allocations: 4 kB / 1.088 GB, free: 31.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/2.368, allocations: 3.938 kB / 1.088 GB, free: 31.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/2.371, allocations: 1.383 MB / 1.089 GB, free: 30.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/2.371, allocations: 7.938 kB / 1.089 GB, free: 30.31 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/2.372, allocations: 199.8 kB / 1.09 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001261/2.373, allocations: 25.03 kB / 1.09 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.493e-05/2.373, allocations: 19.98 kB / 1.09 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/2.375, allocations: 2.699 MB / 1.092 GB, free: 27.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/2.375, allocations: 224 / 1.092 GB, free: 27.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/2.377, allocations: 0.9916 MB / 1.093 GB, free: 26.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005385/2.377, allocations: 200.2 kB / 1.093 GB, free: 25.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/2.377, allocations: 8 kB / 1.093 GB, free: 25.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007816/2.378, allocations: 31.92 kB / 1.093 GB, free: 25.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/2.378, allocations: 43.94 kB / 1.093 GB, free: 25.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.572e-05/2.379, allocations: 23.98 kB / 1.093 GB, free: 25.73 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007668/2.379, allocations: 407.1 kB / 1.094 GB, free: 25.33 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.61e-07/2.379, allocations: 0 / 1.094 GB, free: 25.33 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00171/2.381, allocations: 243.9 kB / 1.094 GB, free: 25.09 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/2.382, allocations: 379.2 kB / 1.094 GB, free: 24.73 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001412/2.384, allocations: 0.5912 MB / 1.095 GB, free: 24.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/2.384, allocations: 0 / 1.095 GB, free: 24.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/2.385, allocations: 450.4 kB / 1.095 GB, free: 23.68 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/2.387, allocations: 330.1 kB / 1.096 GB, free: 23.37 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/2.39, allocations: 1.618 MB / 1.097 GB, free: 21.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005627/2.39, allocations: 0.9387 MB / 1.098 GB, free: 20.73 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008468/2.391, allocations: 209.4 kB / 1.098 GB, free: 20.53 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/2.391, allocations: 71.36 kB / 1.099 GB, free: 20.46 MB / 0.5417 GB Notification: Performance of SimCode: time 1.152e-06/2.391, allocations: 0 / 1.099 GB, free: 20.46 MB / 0.5417 GB Notification: Performance of Templates: time 0.03102/2.422, allocations: 15.24 MB / 1.113 GB, free: 5.348 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches