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.0009196/0.0009197, allocations: 94.2 kB / 16.65 MB, free: 6.59 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.001146/0.001146, allocations: 180.2 kB / 17.56 MB, free: 6.203 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.297/1.297, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002397/0.0002398, allocations: 10.09 kB / 301.4 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08609/0.08635, allocations: 50.41 MB / 351.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2083/0.2947, allocations: 51.1 MB / 402.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006479/0.3012, allocations: 5.211 MB / 408.1 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004705/0.3017, allocations: 10.28 kB / 408.1 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008137/0.3025, allocations: 214.7 kB / 408.4 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007278/0.3033, allocations: 354.6 kB / 408.7 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01602/0.3193, allocations: 5.94 MB / 414.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.3209, allocations: 1.602 MB / 416.2 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.3212, allocations: 121.2 kB / 416.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006395/0.3276, allocations: 3.661 MB / 420 MB, free: 404 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005546/0.3281, allocations: 402.5 kB / 420.4 MB, free: 0 / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.787e-05/0.3282, allocations: 28.05 kB / 420.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01699/0.3452, allocations: 10.04 MB / 430.5 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003014/0.3456, allocations: 199.4 kB / 430.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004075/0.346, allocations: 292.6 kB / 431 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.3575, allocations: 5.555 MB / 436.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3575, allocations: 0 / 436.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.3576, allocations: 0 / 436.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.3576, allocations: 3.938 kB / 436.5 MB, free: 15.85 MB / 350.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.003116/0.3607, allocations: 1.245 MB / 437.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3607, allocations: 8.031 kB / 437.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003188/0.3611, allocations: 63.42 kB / 437.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.3615, allocations: 358 kB / 438.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.3616, allocations: 40.94 kB / 438.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-05/0.3617, allocations: 40 kB / 438.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.3629, allocations: 0.5881 MB / 438.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.363, allocations: 7.984 kB / 438.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.554e-05/0.363, allocations: 20 kB / 438.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.363, allocations: 8 kB / 438.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.3644, allocations: 0.7417 MB / 439.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01612/0.3805, allocations: 12 MB / 451.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.3819, allocations: 0.5352 MB / 452.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003816/0.3823, allocations: 262 kB / 452.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01566/0.398, allocations: 11.94 MB / 464.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/0.398, allocations: 42.94 kB / 464.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.194e-06/0.398, allocations: 0 / 464.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005718/0.4038, allocations: 2.137 MB / 466.6 MB, free: 13.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.4038, allocations: 59.97 kB / 466.6 MB, free: 13.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/0.4043, allocations: 319 kB / 466.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.188e-05/0.4043, allocations: 37.7 kB / 467 MB, free: 12.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.4045, allocations: 196.3 kB / 467.2 MB, free: 12.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.4046, allocations: 193.2 kB / 467.3 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/0.4047, allocations: 53.7 kB / 467.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4048, allocations: 350.8 kB / 467.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.4052, allocations: 237 kB / 468 MB, free: 11.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007308/0.406, allocations: 339.3 kB / 468.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.4074, allocations: 0.6034 MB / 468.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4074, allocations: 0 / 468.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001783/0.4092, allocations: 0.7556 MB / 469.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4092, allocations: 8.281 kB / 469.7 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4093, allocations: 7.938 kB / 469.7 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004662/0.4097, allocations: 114.4 kB / 469.8 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.4102, allocations: 123.8 kB / 469.9 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/0.4127, allocations: 3.272 MB / 473.2 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/0.4131, allocations: 48 kB / 473.2 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.206e-05/0.4132, allocations: 28 kB / 473.3 MB, free: 6.117 MB / 382.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.0002431/0.4134, allocations: 189.7 kB / 473.4 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/0.4138, allocations: 47.53 kB / 473.5 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.4153, allocations: 0.8151 MB / 474.3 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4153, allocations: 4 kB / 474.3 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.4154, allocations: 4 kB / 474.3 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001117/0.4165, allocations: 0.7596 MB / 475.1 MB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.4186, allocations: 1.298 MB / 476.4 MB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4186, allocations: 7.984 kB / 476.4 MB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/0.419, allocations: 99.88 kB / 476.5 MB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009205/0.42, allocations: 148.7 kB / 476.6 MB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.42, allocations: 19.94 kB / 476.6 MB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003822/0.4204, allocations: 0.6483 MB / 477.3 MB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4204, allocations: 4.031 kB / 477.3 MB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.422, allocations: 0.9044 MB / 478.2 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.4222, allocations: 128.7 kB / 478.3 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/0.4222, allocations: 12 kB / 478.3 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.4227, allocations: 27.92 kB / 478.4 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.4227, allocations: 40.38 kB / 478.4 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-05/0.4228, allocations: 27.98 kB / 478.4 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002651/0.4231, allocations: 257.9 kB / 478.7 MB, free: 456 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4231, allocations: 3.938 kB / 478.7 MB, free: 452 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.003228/0.4263, allocations: 1.316 MB / 480 MB, free: 15.12 MB / 398.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.004557/0.4309, allocations: 1.687 MB / 481.7 MB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.4323, allocations: 0.804 MB / 482.5 MB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4323, allocations: 4.062 kB / 482.5 MB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005246/0.4328, allocations: 291.2 kB / 482.8 MB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.4343, allocations: 266.9 kB / 483 MB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.4362, allocations: 1.341 MB / 484.4 MB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.4366, allocations: 0.8329 MB / 485.2 MB, free: 9.816 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005039/0.4371, allocations: 144.4 kB / 485.3 MB, free: 9.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.4372, allocations: 59.42 kB / 485.4 MB, free: 9.617 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4372, allocations: 7.938 kB / 485.4 MB, free: 9.609 MB / 398.1 MB Notification: Performance of Templates: time 0.06024/0.4975, allocations: 44.3 MB / 0.5173 GB, free: 13.36 MB / 446.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