Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001487/0.001487, allocations: 116.9 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001799/0.0018, allocations: 204.5 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 68 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08616/0.08754, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2011/0.2886, allocations: 65.71 MB / 424.6 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006882/0.2955, allocations: 5.462 MB / 430.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.2958, allocations: 11.94 kB / 430.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009562/0.2968, allocations: 346 kB / 430.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007271/0.2976, allocations: 0.5089 MB / 430.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01883/0.3164, allocations: 7.432 MB / 438.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001765/0.3182, allocations: 1.551 MB / 439.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003129/0.3185, allocations: 221.2 kB / 440.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007783/0.3193, allocations: 0.6268 MB / 440.8 MB, free: 9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006297/0.3199, allocations: 0.5645 MB / 441.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.32, allocations: 80 kB / 441.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01699/0.337, allocations: 10.23 MB / 451.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004304/0.3375, allocations: 327.2 kB / 451.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005667/0.3381, allocations: 426.4 kB / 452.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.3504, allocations: 5.964 MB / 458.3 MB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3504, allocations: 0 / 458.3 MB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3504, allocations: 0 / 458.3 MB, free: 7.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.3504, allocations: 0 / 458.3 MB, free: 7.398 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003349/0.3538, allocations: 1.568 MB / 459.9 MB, free: 5.781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3538, allocations: 12.02 kB / 459.9 MB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004172/0.3543, allocations: 79.25 kB / 460 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006334/0.3549, allocations: 452.8 kB / 460.4 MB, free: 5.211 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.355, allocations: 49.94 kB / 460.5 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.67e-05/0.3551, allocations: 67.91 kB / 460.5 MB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.3567, allocations: 0.8107 MB / 461.3 MB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.3567, allocations: 4 kB / 461.4 MB, free: 4.273 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.747e-05/0.3568, allocations: 24 kB / 461.4 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.3568, allocations: 16 kB / 461.4 MB, free: 4.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.3587, allocations: 1.028 MB / 462.4 MB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0163/0.375, allocations: 12.78 MB / 475.2 MB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.3767, allocations: 0.7412 MB / 475.9 MB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005475/0.3772, allocations: 409 kB / 476.3 MB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01422/0.3915, allocations: 12.25 MB / 488.6 MB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.3915, allocations: 43.22 kB / 488.6 MB, free: 4.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 2.304e-06/0.3915, allocations: 0 / 488.6 MB, free: 4.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.009728/0.4013, allocations: 3.377 MB / 492 MB, free: 0.9883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.4013, allocations: 60.41 kB / 492.1 MB, free: 0.9141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.4017, allocations: 356.4 kB / 492.4 MB, free: 0.5586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.4018, allocations: 41.7 kB / 492.5 MB, free: 0.5117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.4019, allocations: 244.7 kB / 492.7 MB, free: 272 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.4022, allocations: 303.8 kB / 493 MB, free: 15.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.4024, allocations: 162.5 kB / 493.1 MB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4025, allocations: 362.8 kB / 493.5 MB, free: 15.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/0.4031, allocations: 373.8 kB / 493.9 MB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008956/0.404, allocations: 0.4884 MB / 494.4 MB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.4057, allocations: 0.9059 MB / 495.3 MB, free: 13.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4057, allocations: 0 / 495.3 MB, free: 13.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002633/0.4084, allocations: 1.113 MB / 496.4 MB, free: 12.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.4084, allocations: 11.97 kB / 496.4 MB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4084, allocations: 4 kB / 496.4 MB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009099/0.4093, allocations: 167.2 kB / 496.6 MB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007321/0.4101, allocations: 187.8 kB / 496.7 MB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003602/0.4137, allocations: 4.12 MB / 0.4891 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/0.4141, allocations: 16 kB / 0.4891 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.4142, allocations: 43.98 kB / 0.4892 GB, free: 7.594 MB / 414.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0004479/0.4147, allocations: 228.8 kB / 0.4894 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004128/0.4151, allocations: 63.34 kB / 0.4895 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.4176, allocations: 1.277 MB / 0.4907 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.4176, allocations: 11.98 kB / 0.4907 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.4176, allocations: 4 kB / 0.4907 GB, free: 5.973 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001906/0.4195, allocations: 1.312 MB / 0.492 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/0.4228, allocations: 1.968 MB / 0.4939 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.4228, allocations: 4 kB / 0.4939 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006883/0.4235, allocations: 159.8 kB / 0.4941 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/0.4254, allocations: 301.2 kB / 0.4944 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.836e-05/0.4254, allocations: 27.98 kB / 0.4944 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007946/0.4262, allocations: 1.285 MB / 0.4956 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4263, allocations: 7.875 kB / 0.4957 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.4288, allocations: 1.417 MB / 0.497 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.4289, allocations: 124.6 kB / 0.4972 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.803e-05/0.429, allocations: 24.08 kB / 0.4972 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005208/0.4296, allocations: 27.98 kB / 0.4972 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.979e-05/0.4297, allocations: 60.86 kB / 0.4973 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.993e-05/0.4298, allocations: 43.97 kB / 0.4973 GB, free: 14.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002949/0.4301, allocations: 279 kB / 0.4976 GB, free: 14.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4301, allocations: 0 / 0.4976 GB, free: 14.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003553/0.4336, allocations: 1.409 MB / 0.4989 GB, free: 13.25 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005422/0.4391, allocations: 1.731 MB / 0.5006 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00212/0.4412, allocations: 1.164 MB / 0.5018 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.4412, allocations: 0 / 0.5018 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009269/0.4422, allocations: 495.2 kB / 0.5022 GB, free: 9.824 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.4439, allocations: 389.5 kB / 0.5026 GB, free: 9.449 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.4467, allocations: 1.657 MB / 0.5042 GB, free: 7.762 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.4472, allocations: 0.9127 MB / 0.5051 GB, free: 6.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006253/0.4478, allocations: 213.2 kB / 0.5053 GB, free: 6.609 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.448, allocations: 71.42 kB / 0.5054 GB, free: 6.539 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.448, allocations: 8 kB / 0.5054 GB, free: 6.531 MB / 430.1 MB Notification: Performance of Templates: time 0.2015/0.6495, allocations: 49.99 MB / 0.5542 GB, free: 142 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches