Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 198.4 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 226.5 MB / 244.1 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007623/0.0007623, allocations: 95.45 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3553/0.3553, allocations: 44.83 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003074, allocations: 4 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4261, allocations: 62.95 MB / 0.5165 GB, free: 37.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.109/1.535, allocations: 431.6 MB / 0.9379 GB, free: 182.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000378/1.536, allocations: 104.5 kB / 0.938 GB, free: 182.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2529/1.788, allocations: 135.3 MB / 1.07 GB, free: 49.06 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.338e-06/1.789, allocations: 0 / 1.07 GB, free: 49.06 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.166e-05/1.789, allocations: 24.09 kB / 1.07 GB, free: 49.04 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.002039/1.791, allocations: 0.9742 MB / 1.071 GB, free: 48.02 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.791, allocations: 12.03 kB / 1.071 GB, free: 48 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003177/1.791, allocations: 88 kB / 1.071 GB, free: 47.92 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000905/1.792, allocations: 0.553 MB / 1.072 GB, free: 47.32 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.185e-05/1.792, allocations: 113.4 kB / 1.072 GB, free: 47.2 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.731e-05/1.792, allocations: 44 kB / 1.072 GB, free: 47.16 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/1.793, allocations: 0.8205 MB / 1.073 GB, free: 46.27 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/1.793, allocations: 3.984 kB / 1.073 GB, free: 46.27 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/1.793, allocations: 24 kB / 1.073 GB, free: 46.24 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.533e-05/1.793, allocations: 32.98 kB / 1.073 GB, free: 46.21 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008846/1.794, allocations: 0.6478 MB / 1.073 GB, free: 45.56 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00361/1.798, allocations: 3.638 MB / 1.077 GB, free: 41.71 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006879/1.799, allocations: 408.1 kB / 1.077 GB, free: 41.3 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/1.799, allocations: 204.7 kB / 1.077 GB, free: 41.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004882/1.799, allocations: 0.7366 MB / 1.078 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/1.799, allocations: 42.83 kB / 1.078 GB, free: 40.14 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=40): time 2.995e-06/1.799, allocations: 4 kB / 1.078 GB, free: 40.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=45): time 0.002979/1.802, allocations: 1.516 MB / 1.08 GB, free: 38.55 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/1.803, allocations: 136.5 kB / 1.08 GB, free: 38.39 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005716/1.803, allocations: 0.5654 MB / 1.08 GB, free: 37.82 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/1.803, allocations: 37.7 kB / 1.08 GB, free: 37.77 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/1.803, allocations: 354.9 kB / 1.081 GB, free: 37.42 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/1.803, allocations: 161.7 kB / 1.081 GB, free: 37.26 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/1.804, allocations: 16 kB / 1.081 GB, free: 37.25 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.804, allocations: 374.8 kB / 1.081 GB, free: 36.87 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/1.804, allocations: 209.9 kB / 1.082 GB, free: 36.67 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/1.804, allocations: 0.5123 MB / 1.082 GB, free: 36.02 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007971/1.805, allocations: 0.7445 MB / 1.083 GB, free: 35.14 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.805, allocations: 4 kB / 1.083 GB, free: 35.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001384/1.807, allocations: 0.898 MB / 1.084 GB, free: 34.23 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/1.807, allocations: 14.44 kB / 1.084 GB, free: 34.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/1.807, allocations: 8 kB / 1.084 GB, free: 34.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/1.808, allocations: 281.1 kB / 1.084 GB, free: 33.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/1.808, allocations: 131.8 kB / 1.084 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008667/1.809, allocations: 0.8723 MB / 1.085 GB, free: 32.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005887/1.81, allocations: 51.94 kB / 1.085 GB, free: 32.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/1.81, allocations: 36 kB / 1.085 GB, free: 32.82 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.0003867/1.81, allocations: 253.4 kB / 1.085 GB, free: 32.56 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/1.81, allocations: 63.25 kB / 1.085 GB, free: 32.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/1.812, allocations: 0.7489 MB / 1.086 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/1.812, allocations: 12.02 kB / 1.086 GB, free: 31.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.812, allocations: 0 / 1.086 GB, free: 31.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/1.812, allocations: 11.94 kB / 1.086 GB, free: 31.69 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/1.813, allocations: 1.384 MB / 1.087 GB, free: 30.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.814, allocations: 4 kB / 1.087 GB, free: 30.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009631/1.814, allocations: 203.8 kB / 1.088 GB, free: 30 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.083e-05/1.815, allocations: 28.78 kB / 1.088 GB, free: 29.97 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/1.815, allocations: 15.98 kB / 1.088 GB, free: 29.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/1.816, allocations: 2.688 MB / 1.09 GB, free: 27 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.816, allocations: 0 / 1.09 GB, free: 27 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/1.818, allocations: 0.984 MB / 1.091 GB, free: 25.96 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/1.818, allocations: 204.2 kB / 1.091 GB, free: 25.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/1.818, allocations: 12 kB / 1.091 GB, free: 25.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004337/1.818, allocations: 31.92 kB / 1.091 GB, free: 25.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/1.819, allocations: 35.89 kB / 1.091 GB, free: 25.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/1.819, allocations: 27.98 kB / 1.092 GB, free: 25.64 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005047/1.819, allocations: 407 kB / 1.092 GB, free: 25.24 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/1.819, allocations: 4 kB / 1.092 GB, free: 25.23 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001133/1.82, allocations: 243.9 kB / 1.092 GB, free: 25 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.0008808/1.821, allocations: 391.1 kB / 1.093 GB, free: 24.63 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001195/1.822, allocations: 0.5912 MB / 1.093 GB, free: 24.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.822, allocations: 8 kB / 1.093 GB, free: 24.03 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009019/1.823, allocations: 434.5 kB / 1.094 GB, free: 23.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/1.825, allocations: 333.7 kB / 1.094 GB, free: 23.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/1.827, allocations: 1.664 MB / 1.095 GB, free: 21.55 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/1.828, allocations: 0.9348 MB / 1.096 GB, free: 20.59 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/1.828, allocations: 71.36 kB / 1.096 GB, free: 20.52 MB / 0.5417 GB Notification: Performance of SimCode: time 8.92e-07/1.828, allocations: 0 / 1.096 GB, free: 20.52 MB / 0.5417 GB Notification: Performance of Templates: time 0.02113/1.849, allocations: 15.89 MB / 1.112 GB, free: 4.688 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches