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.001311/0.001311, allocations: 103.6 kB / 18.39 MB, free: 4.641 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.001294/0.001294, allocations: 187 kB / 19.33 MB, free: 3.715 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.358/1.358, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.001299/0.001299, allocations: 51.92 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08067/0.08198, allocations: 46.62 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2231/0.3051, allocations: 50.69 MB / 426.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006451/0.3116, allocations: 5.201 MB / 431.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003119/0.3119, allocations: 2.5 kB / 431.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008447/0.3129, allocations: 251.4 kB / 432 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000767/0.3136, allocations: 364.3 kB / 432.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01953/0.3332, allocations: 6.755 MB / 439.1 MB, free: 316 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.3347, allocations: 1.091 MB / 440.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002602/0.335, allocations: 150.4 kB / 440.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006342/0.3413, allocations: 3.601 MB / 443.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000583/0.3419, allocations: 402.6 kB / 444.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.969e-05/0.342, allocations: 56 kB / 444.4 MB, free: 11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01799/0.36, allocations: 9.815 MB / 454.2 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003412/0.3604, allocations: 219.5 kB / 454.4 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004132/0.3608, allocations: 306.9 kB / 454.7 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.3744, allocations: 5.489 MB / 460.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3744, allocations: 0 / 460.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3745, allocations: 0 / 460.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.3745, allocations: 0 / 460.2 MB, free: 11.16 MB / 382.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.003372/0.3779, allocations: 1.346 MB / 461.5 MB, free: 9.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3779, allocations: 19.89 kB / 461.6 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.3783, allocations: 59.42 kB / 461.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.3788, allocations: 361.9 kB / 462 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.3788, allocations: 37 kB / 462 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.463e-05/0.3789, allocations: 40 kB / 462 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.3802, allocations: 0.5881 MB / 462.6 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.3802, allocations: 8 kB / 462.6 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.587e-05/0.3802, allocations: 18.81 kB / 462.7 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.3803, allocations: 8 kB / 462.7 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.3816, allocations: 0.7495 MB / 463.4 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01624/0.3978, allocations: 11.96 MB / 475.4 MB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.3992, allocations: 0.5236 MB / 475.9 MB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.3995, allocations: 258 kB / 476.1 MB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0146/0.4142, allocations: 11.89 MB / 488 MB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/0.4142, allocations: 43 kB / 488.1 MB, free: 10.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 3.136e-06/0.4143, allocations: 0 / 488.1 MB, free: 10.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.006147/0.4204, allocations: 2.115 MB / 490.2 MB, free: 8.562 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.4205, allocations: 63.91 kB / 490.3 MB, free: 8.488 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004053/0.4209, allocations: 311 kB / 490.6 MB, free: 8.172 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.431e-05/0.421, allocations: 41.69 kB / 490.6 MB, free: 8.125 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.4211, allocations: 204.3 kB / 490.8 MB, free: 7.922 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.4213, allocations: 197.1 kB / 491 MB, free: 7.727 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.4215, allocations: 110.2 kB / 491.1 MB, free: 7.613 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4216, allocations: 346.8 kB / 491.4 MB, free: 7.266 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.422, allocations: 241 kB / 491.7 MB, free: 7.027 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006622/0.4227, allocations: 339.3 kB / 492 MB, free: 6.668 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.4239, allocations: 0.5956 MB / 492.6 MB, free: 6.039 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4239, allocations: 0 / 492.6 MB, free: 6.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001828/0.4257, allocations: 0.7518 MB / 493.4 MB, free: 5.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.4257, allocations: 8 kB / 493.4 MB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.4258, allocations: 8.812 kB / 493.4 MB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005335/0.4263, allocations: 114.4 kB / 493.5 MB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.4268, allocations: 123.9 kB / 493.6 MB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002733/0.4296, allocations: 3.48 MB / 497.1 MB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.4299, allocations: 12 kB / 497.1 MB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.031e-05/0.43, allocations: 28 kB / 497.1 MB, free: 1.188 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 (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.0003499/0.4304, allocations: 197.5 kB / 497.3 MB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000353/0.4307, allocations: 43.53 kB / 497.4 MB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.4323, allocations: 0.8191 MB / 498.2 MB, free: 92 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.4324, allocations: 4 kB / 498.2 MB, free: 88 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4324, allocations: 7.938 kB / 498.2 MB, free: 80 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001159/0.4335, allocations: 0.7596 MB / 499 MB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.4357, allocations: 1.297 MB / 0.4885 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.4357, allocations: 4 kB / 0.4885 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000436/0.4361, allocations: 99.88 kB / 0.4886 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009158/0.4371, allocations: 148.7 kB / 0.4888 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/0.4371, allocations: 15.94 kB / 0.4888 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004317/0.4376, allocations: 0.6522 MB / 0.4894 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4376, allocations: 0 / 0.4894 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.4392, allocations: 0.9093 MB / 0.4903 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.4394, allocations: 116.7 kB / 0.4904 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.993e-05/0.4395, allocations: 12 kB / 0.4904 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.4399, allocations: 19.98 kB / 0.4904 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.44, allocations: 32.39 kB / 0.4905 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.552e-05/0.4401, allocations: 31.97 kB / 0.4905 GB, free: 11.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002939/0.4404, allocations: 261.9 kB / 0.4908 GB, free: 11.53 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4404, allocations: 3.938 kB / 0.4908 GB, free: 11.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004043/0.4444, allocations: 1.304 MB / 0.492 GB, free: 10.22 MB / 430.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.006595/0.451, allocations: 1.699 MB / 0.4937 GB, free: 8.512 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.453, allocations: 0.8036 MB / 0.4945 GB, free: 7.676 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.453, allocations: 0.5625 kB / 0.4945 GB, free: 7.676 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006298/0.4536, allocations: 295.2 kB / 0.4948 GB, free: 7.387 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.4553, allocations: 276.4 kB / 0.495 GB, free: 7.121 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.4574, allocations: 1.136 MB / 0.4961 GB, free: 5.941 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.4579, allocations: 0.8287 MB / 0.4969 GB, free: 5.082 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.4582, allocations: 71.41 kB / 0.497 GB, free: 5.016 MB / 430.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4582, allocations: 3.938 kB / 0.497 GB, free: 5.012 MB / 430.1 MB Notification: Performance of Templates: time 0.05278/0.511, allocations: 35.09 MB / 0.5313 GB, free: 1.855 MB / 462.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 -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