Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001409/0.001409, allocations: 114.3 kB / 17.07 MB, free: 6 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.001659/0.001659, allocations: 190.9 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009802/0.0009801, allocations: 55.91 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2237, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05238/0.2761, allocations: 50.54 MB / 451.3 MB, free: 6.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006113/0.2822, allocations: 5.195 MB / 456.5 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003607/0.2826, allocations: 4 kB / 456.5 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008163/0.2835, allocations: 254.5 kB / 456.7 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007485/0.2843, allocations: 366 kB / 457.1 MB, free: 328 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01638/0.3007, allocations: 7.133 MB / 464.2 MB, free: 9.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.3019, allocations: 1.091 MB / 465.3 MB, free: 8.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.3022, allocations: 137.6 kB / 465.4 MB, free: 7.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006361/0.3086, allocations: 3.617 MB / 469.1 MB, free: 4.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005855/0.3092, allocations: 398.6 kB / 469.5 MB, free: 3.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.3093, allocations: 60 kB / 469.5 MB, free: 3.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01627/0.3256, allocations: 9.924 MB / 479.4 MB, free: 9.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003214/0.3259, allocations: 223.5 kB / 479.7 MB, free: 9.723 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004388/0.3264, allocations: 306.8 kB / 480 MB, free: 9.422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.3366, allocations: 5.501 MB / 485.5 MB, free: 3.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3366, allocations: 3.938 kB / 485.5 MB, free: 3.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3366, allocations: 0 / 485.5 MB, free: 3.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.3366, allocations: 4 kB / 485.5 MB, free: 3.902 MB / 398.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.00311/0.3398, allocations: 1.357 MB / 486.8 MB, free: 2.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3398, allocations: 15.89 kB / 486.8 MB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003505/0.3402, allocations: 59.52 kB / 486.9 MB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.3407, allocations: 366.1 kB / 487.2 MB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.3407, allocations: 29 kB / 487.3 MB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.395e-05/0.3408, allocations: 51.91 kB / 487.3 MB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.342, allocations: 0.5804 MB / 487.9 MB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.3421, allocations: 7.938 kB / 487.9 MB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/0.3421, allocations: 20 kB / 487.9 MB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.3422, allocations: 12 kB / 487.9 MB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.3435, allocations: 0.7417 MB / 488.7 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01565/0.3592, allocations: 11.97 MB / 0.4889 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.3605, allocations: 0.5272 MB / 0.4894 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003768/0.3608, allocations: 259.5 kB / 0.4897 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01374/0.3746, allocations: 11.9 MB / 0.5013 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.3747, allocations: 39 kB / 0.5013 GB, free: 3.492 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.204e-06/0.3747, allocations: 0 / 0.5013 GB, free: 3.492 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005691/0.3804, allocations: 2.124 MB / 0.5034 GB, free: 1.273 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.3804, allocations: 55.97 kB / 0.5035 GB, free: 1.207 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.3808, allocations: 311 kB / 0.5038 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.3808, allocations: 37.7 kB / 0.5038 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.381, allocations: 208.3 kB / 0.504 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.3811, allocations: 189.2 kB / 0.5042 GB, free: 472 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.3813, allocations: 118.1 kB / 0.5043 GB, free: 348 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3814, allocations: 346.8 kB / 0.5046 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/0.3818, allocations: 240.9 kB / 0.5049 GB, free: 15.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/0.3825, allocations: 347.3 kB / 0.5052 GB, free: 15.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.3837, allocations: 0.5995 MB / 0.5058 GB, free: 14.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3837, allocations: 0 / 0.5058 GB, free: 14.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001853/0.3855, allocations: 0.7558 MB / 0.5065 GB, free: 13.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3856, allocations: 11.94 kB / 0.5065 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3856, allocations: 0 / 0.5065 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004733/0.3861, allocations: 102.5 kB / 0.5066 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.3866, allocations: 123.8 kB / 0.5067 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/0.389, allocations: 3.476 MB / 0.5101 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.3893, allocations: 12 kB / 0.5101 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/0.3894, allocations: 31.98 kB / 0.5102 GB, free: 9.91 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.0002482/0.3897, allocations: 197.6 kB / 0.5104 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/0.39, allocations: 43.53 kB / 0.5104 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.3915, allocations: 0.8229 MB / 0.5112 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3916, allocations: 4 kB / 0.5112 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3916, allocations: 0 / 0.5112 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/0.3927, allocations: 0.7558 MB / 0.5119 GB, free: 7.977 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.3947, allocations: 1.305 MB / 0.5132 GB, free: 6.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3947, allocations: 0 / 0.5132 GB, free: 6.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004441/0.3952, allocations: 99.88 kB / 0.5133 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000938/0.3961, allocations: 156.5 kB / 0.5135 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.391e-05/0.3962, allocations: 16 kB / 0.5135 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003763/0.3966, allocations: 0.6485 MB / 0.5141 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3966, allocations: 0 / 0.5141 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.3982, allocations: 0.9132 MB / 0.515 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.3983, allocations: 116.7 kB / 0.5151 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.3984, allocations: 15.94 kB / 0.5151 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.3988, allocations: 19.98 kB / 0.5151 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.3988, allocations: 32.39 kB / 0.5152 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-05/0.3989, allocations: 31.98 kB / 0.5152 GB, free: 4.496 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002621/0.3992, allocations: 257.9 kB / 0.5155 GB, free: 4.242 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3992, allocations: 0 / 0.5155 GB, free: 4.242 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003192/0.4024, allocations: 1.304 MB / 0.5167 GB, free: 2.938 MB / 446.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.005246/0.4076, allocations: 1.695 MB / 0.5184 GB, free: 1.238 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.4091, allocations: 0.8003 MB / 0.5192 GB, free: 416 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4091, allocations: 64 / 0.5192 GB, free: 416 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005325/0.4096, allocations: 299.2 kB / 0.5195 GB, free: 116 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.4109, allocations: 276.2 kB / 0.5197 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.4127, allocations: 1.096 MB / 0.5208 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.4131, allocations: 0.8365 MB / 0.5216 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004381/0.4135, allocations: 144.2 kB / 0.5217 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.4137, allocations: 55.42 kB / 0.5218 GB, free: 13.66 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4137, allocations: 0 / 0.5218 GB, free: 13.66 MB / 462.1 MB Notification: Performance of Templates: time 0.2367/0.6504, allocations: 44.99 MB / 0.5657 GB, free: 114.9 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches