Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001448/0.001448, allocations: 117.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001823/0.001823, allocations: 208.5 kB / 18.74 MB, free: 4.316 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 / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2259, allocations: 50.56 MB / 409.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05227/0.2782, allocations: 50.65 MB / 459.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00588/0.2841, allocations: 5.195 MB / 465.1 MB, free: 9.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002774/0.2844, allocations: 4 kB / 465.1 MB, free: 9.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007095/0.2852, allocations: 258.5 kB / 465.4 MB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006676/0.2859, allocations: 370 kB / 465.7 MB, free: 8.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01558/0.3015, allocations: 7.133 MB / 472.9 MB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.3027, allocations: 1.095 MB / 474 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.3029, allocations: 145.5 kB / 474.1 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006221/0.3092, allocations: 3.601 MB / 477.7 MB, free: 12.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000576/0.3097, allocations: 406.6 kB / 478.1 MB, free: 12.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.3099, allocations: 60 kB / 478.2 MB, free: 12.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0165/0.3264, allocations: 9.947 MB / 488.1 MB, free: 2.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003353/0.3267, allocations: 227.4 kB / 488.3 MB, free: 2.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004939/0.3272, allocations: 318.8 kB / 488.6 MB, free: 1.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.3381, allocations: 5.513 MB / 494.1 MB, free: 12.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3381, allocations: 0 / 494.1 MB, free: 12.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3381, allocations: 0 / 494.1 MB, free: 12.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.156e-05/0.3381, allocations: 4 kB / 494.2 MB, free: 12.44 MB / 414.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.003261/0.3414, allocations: 1.357 MB / 495.5 MB, free: 11.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3414, allocations: 8.031 kB / 495.5 MB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003612/0.3418, allocations: 63.52 kB / 495.6 MB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.3423, allocations: 374.8 kB / 495.9 MB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.3424, allocations: 33 kB / 496 MB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.96e-05/0.3424, allocations: 47.98 kB / 496 MB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.3437, allocations: 0.5804 MB / 496.6 MB, free: 9.887 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.3438, allocations: 0 / 496.6 MB, free: 9.887 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.486e-05/0.3438, allocations: 20 kB / 496.6 MB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.3438, allocations: 8 kB / 496.6 MB, free: 9.859 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.3452, allocations: 0.7495 MB / 497.4 MB, free: 9.113 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01538/0.3606, allocations: 11.97 MB / 0.4974 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.3618, allocations: 0.5274 MB / 0.4979 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/0.3622, allocations: 257.4 kB / 0.4982 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01407/0.3763, allocations: 11.89 MB / 0.5098 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.3764, allocations: 46.94 kB / 0.5098 GB, free: 12.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.114e-06/0.3764, allocations: 3.938 kB / 0.5098 GB, free: 12.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.005635/0.382, allocations: 2.12 MB / 0.5119 GB, free: 9.809 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.3821, allocations: 55.97 kB / 0.512 GB, free: 9.738 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.3824, allocations: 318.9 kB / 0.5123 GB, free: 9.422 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.3825, allocations: 37.7 kB / 0.5123 GB, free: 9.379 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.3826, allocations: 200.4 kB / 0.5125 GB, free: 9.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.3827, allocations: 197.2 kB / 0.5127 GB, free: 8.984 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.3829, allocations: 110.1 kB / 0.5128 GB, free: 8.871 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.383, allocations: 350.8 kB / 0.5131 GB, free: 8.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/0.3834, allocations: 241 kB / 0.5133 GB, free: 8.285 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.384, allocations: 343.3 kB / 0.5137 GB, free: 7.914 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.3852, allocations: 0.6034 MB / 0.5143 GB, free: 7.277 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3852, allocations: 0 / 0.5143 GB, free: 7.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001782/0.387, allocations: 0.744 MB / 0.515 GB, free: 6.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.387, allocations: 15.19 kB / 0.515 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3871, allocations: 4 kB / 0.515 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004732/0.3875, allocations: 106.5 kB / 0.5151 GB, free: 6.391 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/0.388, allocations: 119.8 kB / 0.5152 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/0.3905, allocations: 3.48 MB / 0.5186 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.3908, allocations: 16.22 kB / 0.5186 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.98e-05/0.3909, allocations: 31.98 kB / 0.5187 GB, free: 2.441 MB / 446.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.0002403/0.3911, allocations: 205.5 kB / 0.5189 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/0.3914, allocations: 39.62 kB / 0.5189 GB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.393, allocations: 0.819 MB / 0.5197 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.393, allocations: 4 kB / 0.5197 GB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.393, allocations: 0 / 0.5197 GB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001089/0.3941, allocations: 0.7635 MB / 0.5204 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.3961, allocations: 1.301 MB / 0.5217 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3961, allocations: 0 / 0.5217 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/0.3966, allocations: 103.9 kB / 0.5218 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009427/0.3975, allocations: 152.5 kB / 0.522 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/0.3976, allocations: 19.98 kB / 0.522 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003824/0.398, allocations: 0.6485 MB / 0.5226 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.398, allocations: 0 / 0.5226 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.3997, allocations: 0.9093 MB / 0.5235 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.3998, allocations: 116.7 kB / 0.5236 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.035e-05/0.3999, allocations: 12 kB / 0.5236 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.4003, allocations: 19.98 kB / 0.5236 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.4004, allocations: 28.39 kB / 0.5237 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.529e-05/0.4004, allocations: 35.97 kB / 0.5237 GB, free: 13.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002668/0.4007, allocations: 253.9 kB / 0.5239 GB, free: 12.78 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4007, allocations: 0 / 0.5239 GB, free: 12.78 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003333/0.4041, allocations: 1.327 MB / 0.5252 GB, free: 11.45 MB / 462.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.00555/0.4096, allocations: 1.699 MB / 0.5269 GB, free: 9.746 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.4111, allocations: 0.7959 MB / 0.5277 GB, free: 8.922 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4111, allocations: 4 kB / 0.5277 GB, free: 8.918 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000543/0.4117, allocations: 291.8 kB / 0.528 GB, free: 8.633 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.413, allocations: 284.5 kB / 0.5282 GB, free: 8.359 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.4148, allocations: 1.094 MB / 0.5293 GB, free: 7.227 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.4152, allocations: 0.8326 MB / 0.5301 GB, free: 6.367 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004564/0.4157, allocations: 148.2 kB / 0.5303 GB, free: 6.219 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.4158, allocations: 55.42 kB / 0.5303 GB, free: 6.168 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4158, allocations: 0 / 0.5303 GB, free: 6.168 MB / 462.1 MB Notification: Performance of Templates: time 0.2156/0.6314, allocations: 45.18 MB / 0.5744 GB, free: 100.7 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches