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.001491/0.001491, allocations: 104.3 kB / 17.16 MB, free: 6.316 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.001646/0.001646, allocations: 190 kB / 18.07 MB, free: 5.414 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 / 223.9 MB, free: 12.48 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.001114/0.001114, allocations: 47.94 kB / 280 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07754/0.07867, allocations: 46.63 MB / 326.6 MB, free: 4.914 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05195/0.1307, allocations: 52.37 MB / 379 MB, free: 368 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1586/0.2893, allocations: 5.273 MB / 384.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.2896, allocations: 6.719 kB / 384.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007268/0.2904, allocations: 218.8 kB / 384.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006359/0.291, allocations: 354.3 kB / 384.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01515/0.3062, allocations: 5.596 MB / 390.4 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001927/0.3081, allocations: 1.606 MB / 392 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.3084, allocations: 119.7 kB / 392.1 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007512/0.3159, allocations: 3.645 MB / 395.8 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000569/0.3165, allocations: 421.2 kB / 396.2 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.512e-05/0.3166, allocations: 29.09 kB / 396.2 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01818/0.3348, allocations: 9.971 MB / 406.2 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003432/0.3352, allocations: 195.4 kB / 406.4 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005234/0.3357, allocations: 276.2 kB / 406.6 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.3483, allocations: 5.563 MB / 412.2 MB, free: 5.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.026e-06/0.3484, allocations: 2.531 kB / 412.2 MB, free: 5.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3484, allocations: 4 kB / 412.2 MB, free: 5.219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.3484, allocations: 0 / 412.2 MB, free: 5.219 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.003162/0.3516, allocations: 1.346 MB / 413.5 MB, free: 4.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3516, allocations: 8.031 kB / 413.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003657/0.352, allocations: 67.45 kB / 413.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.3524, allocations: 365.4 kB / 414 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.3524, allocations: 36.62 kB / 414 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/0.3525, allocations: 44.86 kB / 414.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.3536, allocations: 0.5859 MB / 414.6 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.3537, allocations: 0 / 414.6 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.211e-05/0.3537, allocations: 24 kB / 414.7 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3538, allocations: 8 kB / 414.7 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.3549, allocations: 0.7423 MB / 415.4 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01635/0.3713, allocations: 11.96 MB / 427.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.3726, allocations: 0.526 MB / 427.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/0.373, allocations: 258 kB / 428.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01431/0.3873, allocations: 11.9 MB / 440.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.3874, allocations: 40.69 kB / 440.1 MB, free: 5.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.324e-06/0.3874, allocations: 0 / 440.1 MB, free: 5.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.005864/0.3932, allocations: 2.116 MB / 442.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.3933, allocations: 58.78 kB / 442.3 MB, free: 3.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.3937, allocations: 330.8 kB / 442.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.83e-05/0.3938, allocations: 37.7 kB / 442.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.3939, allocations: 188.5 kB / 442.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.394, allocations: 192.4 kB / 443 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.3942, allocations: 122.1 kB / 443.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3944, allocations: 350.4 kB / 443.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.3947, allocations: 241 kB / 443.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006516/0.3954, allocations: 338.2 kB / 444 MB, free: 1.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.3966, allocations: 0.6044 MB / 444.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3967, allocations: 6.938 kB / 444.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001891/0.3986, allocations: 0.7435 MB / 445.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.3986, allocations: 12 kB / 445.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3986, allocations: 7.938 kB / 445.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000511/0.3991, allocations: 98.52 kB / 445.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.3996, allocations: 128.1 kB / 445.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/0.402, allocations: 3.268 MB / 448.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/0.4024, allocations: 40.98 kB / 448.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-05/0.4025, allocations: 31.98 kB / 449 MB, free: 12.06 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.000289/0.4028, allocations: 189.1 kB / 449.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003102/0.4031, allocations: 54.23 kB / 449.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.4046, allocations: 0.8129 MB / 450 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-06/0.4046, allocations: 4 kB / 450 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.4046, allocations: 4 kB / 450 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001101/0.4057, allocations: 0.7635 MB / 450.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.4078, allocations: 1.299 MB / 452.1 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.4078, allocations: 4 kB / 452.1 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/0.4083, allocations: 97.86 kB / 452.2 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009133/0.4092, allocations: 148.7 kB / 452.3 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/0.4093, allocations: 19.98 kB / 452.4 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003845/0.4097, allocations: 0.6514 MB / 453 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4097, allocations: 0 / 453 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.4113, allocations: 0.8996 MB / 453.9 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.4115, allocations: 116.8 kB / 454 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.533e-05/0.4116, allocations: 19.83 kB / 454 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/0.4121, allocations: 43.84 kB / 454.1 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/0.4121, allocations: 32.39 kB / 454.1 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.082e-05/0.4122, allocations: 31.97 kB / 454.1 MB, free: 6.688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002737/0.4125, allocations: 257.9 kB / 454.4 MB, free: 6.438 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4125, allocations: 0 / 454.4 MB, free: 6.438 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003939/0.4165, allocations: 1.308 MB / 455.7 MB, free: 5.129 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.006579/0.4231, allocations: 1.694 MB / 457.4 MB, free: 3.566 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001871/0.425, allocations: 0.798 MB / 458.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.425, allocations: 0.5625 kB / 458.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000612/0.4256, allocations: 287.3 kB / 458.5 MB, free: 2.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.4272, allocations: 270.5 kB / 458.7 MB, free: 2.215 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.4293, allocations: 1.255 MB / 460 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.4297, allocations: 0.8365 MB / 460.8 MB, free: 76 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006116/0.4303, allocations: 144.2 kB / 461 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.4305, allocations: 59.42 kB / 461 MB, free: 15.88 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4305, allocations: 0 / 461 MB, free: 15.88 MB / 382.1 MB Notification: Performance of Templates: time 0.05918/0.4897, allocations: 45.86 MB / 0.495 GB, free: 2.035 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches