Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001356/0.001356, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 86.22 kB / 261.7 MB, free: 1.691 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.2287/0.2287, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.834e-05/1.837e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1371, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.608/8.746, allocations: 3.614 GB / 4.079 GB, free: 155.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/8.746, allocations: 98.5 kB / 4.08 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.641/10.39, allocations: 429 MB / 4.499 GB, free: 59.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.086e-06/10.39, allocations: 0 / 4.499 GB, free: 59.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001059/10.39, allocations: 24.41 kB / 4.499 GB, free: 59.48 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.009523/10.4, allocations: 2.349 MB / 4.501 GB, free: 58.19 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/10.4, allocations: 12.34 kB / 4.501 GB, free: 58.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008363/10.4, allocations: 106.9 kB / 4.501 GB, free: 58.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/10.4, allocations: 0.6256 MB / 4.502 GB, free: 57.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/10.4, allocations: 100.5 kB / 4.502 GB, free: 57.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003167/10.4, allocations: 38.12 kB / 4.502 GB, free: 57.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002114/10.4, allocations: 1.035 MB / 4.503 GB, free: 57.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/10.4, allocations: 1.035 MB / 4.504 GB, free: 57.59 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/10.4, allocations: 6.719 kB / 4.504 GB, free: 57.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/10.4, allocations: 0 / 4.504 GB, free: 57.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.131e-05/10.4, allocations: 54.75 kB / 4.504 GB, free: 57.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007022/10.41, allocations: 5.02 MB / 4.509 GB, free: 54.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/10.41, allocations: 0.7014 MB / 4.509 GB, free: 54.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/10.41, allocations: 356.2 kB / 4.51 GB, free: 54.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000867/10.41, allocations: 1.07 MB / 4.511 GB, free: 53.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/10.41, allocations: 48.3 kB / 4.511 GB, free: 53.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=64): time 2.735e-06/10.41, allocations: 0 / 4.511 GB, free: 53.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.01311/10.43, allocations: 3.813 MB / 4.515 GB, free: 53.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/10.43, allocations: 111.2 kB / 4.515 GB, free: 52.94 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006926/10.43, allocations: 484.7 kB / 4.515 GB, free: 52.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/10.43, allocations: 25.7 kB / 4.515 GB, free: 52.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/10.43, allocations: 419.2 kB / 4.516 GB, free: 52.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/10.43, allocations: 266.4 kB / 4.516 GB, free: 52.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/10.43, allocations: 0 / 4.516 GB, free: 52.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001169/10.43, allocations: 377 kB / 4.516 GB, free: 52.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005878/10.43, allocations: 427 kB / 4.517 GB, free: 52.06 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006963/10.43, allocations: 0.6812 MB / 4.517 GB, free: 51.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/10.43, allocations: 0.7407 MB / 4.518 GB, free: 51.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/10.43, allocations: 0 / 4.518 GB, free: 51.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003172/10.44, allocations: 1.637 MB / 4.52 GB, free: 51.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/10.44, allocations: 10.16 kB / 4.52 GB, free: 51.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/10.44, allocations: 10.44 kB / 4.52 GB, free: 51.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00478/10.44, allocations: 1.059 MB / 4.521 GB, free: 51.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/10.44, allocations: 155 kB / 4.521 GB, free: 51.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/10.44, allocations: 1.527 MB / 4.522 GB, free: 51.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/10.44, allocations: 73.91 kB / 4.522 GB, free: 51.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/10.44, allocations: 64.33 kB / 4.522 GB, free: 51.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0003351/10.44, allocations: 127.5 kB / 4.522 GB, free: 50.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000256/10.44, allocations: 85.38 kB / 4.523 GB, free: 50.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003198/10.45, allocations: 1.471 MB / 4.524 GB, free: 50.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/10.45, allocations: 11.62 kB / 4.524 GB, free: 50.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/10.45, allocations: 0 / 4.524 GB, free: 50.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/10.45, allocations: 6.047 kB / 4.524 GB, free: 50.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004525/10.45, allocations: 2.752 MB / 4.527 GB, free: 49.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/10.45, allocations: 5.969 kB / 4.527 GB, free: 49.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/10.45, allocations: 259.9 kB / 4.527 GB, free: 49.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/10.46, allocations: 309.8 kB / 4.527 GB, free: 49.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.658e-05/10.46, allocations: 23.55 kB / 4.527 GB, free: 49.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/10.46, allocations: 2.139 MB / 4.529 GB, free: 47.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/10.46, allocations: 7.312 kB / 4.529 GB, free: 47.65 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003196/10.46, allocations: 2.017 MB / 4.531 GB, free: 46.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005684/10.46, allocations: 277 kB / 4.532 GB, free: 46.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/10.46, allocations: 10.06 kB / 4.532 GB, free: 46.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009426/10.46, allocations: 64.34 kB / 4.532 GB, free: 46.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/10.46, allocations: 62.5 kB / 4.532 GB, free: 46.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/10.46, allocations: 55.45 kB / 4.532 GB, free: 46.42 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004904/10.46, allocations: 366.1 kB / 4.532 GB, free: 46.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/10.46, allocations: 0 / 4.532 GB, free: 46.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003124/10.47, allocations: 0.7818 MB / 4.533 GB, free: 46.02 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 73 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004634/10.47, allocations: 1.764 MB / 4.535 GB, free: 45.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001937/10.47, allocations: 1.079 MB / 4.536 GB, free: 45.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/10.47, allocations: 0 / 4.536 GB, free: 45.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/10.47, allocations: 0.6142 MB / 4.536 GB, free: 45.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/10.48, allocations: 354.2 kB / 4.537 GB, free: 45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/10.48, allocations: 1.62 MB / 4.538 GB, free: 44.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007265/10.48, allocations: 1.065 MB / 4.539 GB, free: 43.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001191/10.48, allocations: 271.7 kB / 4.539 GB, free: 43.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/10.48, allocations: 98.7 kB / 4.54 GB, free: 43.58 MB / 0.4948 GB Notification: Performance of SimCode: time 1.082e-06/10.48, allocations: 0 / 4.54 GB, free: 43.58 MB / 0.4948 GB Notification: Performance of Templates: time 0.04194/10.52, allocations: 32.71 MB / 4.572 GB, free: 25.26 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches