Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 109.4 kB / 18.34 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 192.1 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 55.91 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07362/0.07482, allocations: 46.62 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05116/0.126, allocations: 50.69 MB / 379.4 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1456/0.2716, allocations: 5.186 MB / 384.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003443/0.272, allocations: 3.953 kB / 384.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007524/0.2728, allocations: 252.3 kB / 384.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008351/0.2737, allocations: 360.4 kB / 385.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01499/0.2887, allocations: 6.75 MB / 391.9 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.29, allocations: 1.096 MB / 393 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000246/0.2902, allocations: 146.5 kB / 393.2 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006253/0.2965, allocations: 3.589 MB / 396.8 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006537/0.2971, allocations: 402 kB / 397.2 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.2973, allocations: 58.97 kB / 397.2 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01516/0.3124, allocations: 9.824 MB / 407 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.3128, allocations: 219.2 kB / 407.3 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000476/0.3132, allocations: 313 kB / 407.6 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009106/0.3224, allocations: 5.484 MB / 413.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3224, allocations: 0 / 413.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3224, allocations: 4 kB / 413.1 MB, free: 4.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.3224, allocations: 0 / 413.1 MB, free: 4.676 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002571/0.325, allocations: 1.346 MB / 414.4 MB, free: 3.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.325, allocations: 11.89 kB / 414.4 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003055/0.3253, allocations: 63.52 kB / 414.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.3258, allocations: 362.2 kB / 414.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.3258, allocations: 37 kB / 414.9 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.784e-05/0.3259, allocations: 40 kB / 414.9 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.3269, allocations: 0.5885 MB / 415.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.327, allocations: 0 / 415.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.327, allocations: 20 kB / 415.5 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.327, allocations: 12.88 kB / 415.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.3282, allocations: 0.7462 MB / 416.3 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01492/0.3431, allocations: 11.97 MB / 428.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.3443, allocations: 0.5349 MB / 428.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.3447, allocations: 254 kB / 429 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01355/0.3582, allocations: 11.89 MB / 440.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.3583, allocations: 43 kB / 441 MB, free: 4.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.974e-06/0.3583, allocations: 0 / 441 MB, free: 4.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.005515/0.3638, allocations: 2.117 MB / 443.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.3639, allocations: 59.95 kB / 443.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.3642, allocations: 318.8 kB / 443.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.3642, allocations: 37.7 kB / 443.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.3644, allocations: 201.6 kB / 443.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.3645, allocations: 186.9 kB / 443.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.3647, allocations: 122.1 kB / 444 MB, free: 1.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3648, allocations: 346.8 kB / 444.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.3652, allocations: 240.2 kB / 444.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006149/0.3658, allocations: 343.3 kB / 444.9 MB, free: 404 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.3669, allocations: 0.5975 MB / 445.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3669, allocations: 4 kB / 445.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001773/0.3687, allocations: 0.7555 MB / 446.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3688, allocations: 8 kB / 446.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3688, allocations: 3.938 kB / 446.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004721/0.3692, allocations: 109.7 kB / 446.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.3697, allocations: 122.2 kB / 446.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.372, allocations: 3.468 MB / 450 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.3723, allocations: 12 kB / 450 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.826e-05/0.3724, allocations: 35.17 kB / 450 MB, free: 10.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002411/0.3726, allocations: 199.6 kB / 450.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.3729, allocations: 39.62 kB / 450.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/0.3745, allocations: 0.8183 MB / 451 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.3745, allocations: 7.984 kB / 451.1 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.3745, allocations: 0 / 451.1 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001082/0.3756, allocations: 0.759 MB / 451.8 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.3776, allocations: 1.296 MB / 453.1 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3776, allocations: 4.062 kB / 453.1 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.378, allocations: 98.94 kB / 453.2 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009207/0.379, allocations: 151.7 kB / 453.4 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/0.379, allocations: 27.92 kB / 453.4 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003625/0.3794, allocations: 0.6407 MB / 454 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3794, allocations: 0 / 454 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.381, allocations: 0.9137 MB / 454.9 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.3811, allocations: 112.6 kB / 455.1 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.198e-05/0.3812, allocations: 16.03 kB / 455.1 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.3816, allocations: 15.98 kB / 455.1 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.3817, allocations: 32.39 kB / 455.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/0.3817, allocations: 31.98 kB / 455.1 MB, free: 5.621 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002596/0.382, allocations: 257.9 kB / 455.4 MB, free: 5.371 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.92e-07/0.382, allocations: 7.938 kB / 455.4 MB, free: 5.363 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003279/0.3853, allocations: 1.307 MB / 456.7 MB, free: 4.059 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004561/0.3899, allocations: 1.692 MB / 458.4 MB, free: 2.496 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.3913, allocations: 0.8068 MB / 459.2 MB, free: 1.676 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.3914, allocations: 3.938 kB / 459.2 MB, free: 1.672 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005296/0.3919, allocations: 289.8 kB / 459.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.3931, allocations: 277 kB / 459.8 MB, free: 1.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.3949, allocations: 1.097 MB / 460.9 MB, free: 8 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.3953, allocations: 0.8365 MB / 461.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004539/0.3958, allocations: 140.2 kB / 461.8 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.3959, allocations: 59.42 kB / 461.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.396, allocations: 0 / 461.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of Templates: time 0.05686/0.4528, allocations: 46.3 MB / 0.4963 GB, free: 0.6523 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches