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.001481/0.001481, allocations: 96.2 kB / 16.5 MB, free: 6.688 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.001692/0.001692, allocations: 192.5 kB / 17.42 MB, free: 6.09 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.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 39.34 kB / 299.9 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07845/0.07947, allocations: 49.44 MB / 349.4 MB, free: 4.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1925/0.272, allocations: 52.2 MB / 401.6 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006099/0.2781, allocations: 5.28 MB / 406.9 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003034/0.2785, allocations: 3.312 kB / 406.9 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007238/0.2792, allocations: 220.1 kB / 407.1 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006691/0.2799, allocations: 353.7 kB / 407.4 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01587/0.2958, allocations: 5.953 MB / 413.4 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.2973, allocations: 1.604 MB / 415 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.2975, allocations: 108.1 kB / 415.1 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007255/0.3048, allocations: 3.67 MB / 418.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006296/0.3055, allocations: 414.6 kB / 419.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.3056, allocations: 31.94 kB / 419.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01734/0.3229, allocations: 10.05 MB / 429.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003013/0.3233, allocations: 199.5 kB / 429.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004355/0.3237, allocations: 274.9 kB / 429.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.334, allocations: 5.598 MB / 435.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.334, allocations: 0 / 435.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.334, allocations: 0 / 435.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.334, allocations: 0 / 435.3 MB, free: 15.03 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.003068/0.3371, allocations: 1.35 MB / 436.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.3371, allocations: 12.03 kB / 436.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003503/0.3375, allocations: 63.42 kB / 436.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005073/0.338, allocations: 365.9 kB / 437.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.3381, allocations: 29 kB / 437.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.827e-05/0.3381, allocations: 47.98 kB / 437.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.3395, allocations: 0.5882 MB / 437.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.3395, allocations: 0 / 437.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-05/0.3395, allocations: 16 kB / 437.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.3396, allocations: 12 kB / 437.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.341, allocations: 0.7495 MB / 438.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01606/0.357, allocations: 11.95 MB / 450.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.3583, allocations: 0.5313 MB / 451 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003673/0.3587, allocations: 258 kB / 451.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01443/0.3731, allocations: 11.89 MB / 463.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.3732, allocations: 39 kB / 463.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.043e-06/0.3732, allocations: 0 / 463.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005982/0.3792, allocations: 2.122 MB / 465.3 MB, free: 12.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.3793, allocations: 55.97 kB / 465.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.3796, allocations: 318.9 kB / 465.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/0.3797, allocations: 37.7 kB / 465.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.3798, allocations: 208.3 kB / 465.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.38, allocations: 181.3 kB / 466.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.3802, allocations: 122.1 kB / 466.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3803, allocations: 346.8 kB / 466.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.3807, allocations: 237 kB / 466.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006451/0.3814, allocations: 351.2 kB / 467.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.3826, allocations: 0.5995 MB / 467.7 MB, free: 9.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3826, allocations: 0 / 467.7 MB, free: 9.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001868/0.3845, allocations: 0.7518 MB / 468.5 MB, free: 9.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.3845, allocations: 4 kB / 468.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3845, allocations: 4 kB / 468.5 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004883/0.385, allocations: 102.5 kB / 468.6 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000531/0.3856, allocations: 128 kB / 468.7 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.3879, allocations: 3.287 MB / 472 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/0.3883, allocations: 36.17 kB / 472 MB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.539e-05/0.3884, allocations: 35.98 kB / 472.1 MB, free: 5.258 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.000234/0.3886, allocations: 185.7 kB / 472.2 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/0.3889, allocations: 47.53 kB / 472.3 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.3905, allocations: 0.8228 MB / 473.1 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.3905, allocations: 4 kB / 473.1 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3905, allocations: 0 / 473.1 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001082/0.3916, allocations: 0.7635 MB / 473.9 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.3936, allocations: 1.298 MB / 475.2 MB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3936, allocations: 0 / 475.2 MB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00045/0.3941, allocations: 103.9 kB / 475.3 MB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009061/0.395, allocations: 144.6 kB / 475.4 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.291e-05/0.3951, allocations: 23.98 kB / 475.4 MB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003615/0.3954, allocations: 0.6444 MB / 476.1 MB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3954, allocations: 4.031 kB / 476.1 MB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.3971, allocations: 0.9043 MB / 477 MB, free: 92 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.3972, allocations: 116.7 kB / 477.1 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.23e-05/0.3973, allocations: 12 kB / 477.1 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/0.3977, allocations: 43.98 kB / 477.2 MB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.3978, allocations: 36.39 kB / 477.2 MB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.698e-05/0.3979, allocations: 31.97 kB / 477.2 MB, free: 15.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002639/0.3982, allocations: 249.9 kB / 477.5 MB, free: 15.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3982, allocations: 0 / 477.5 MB, free: 15.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003335/0.4015, allocations: 1.32 MB / 478.8 MB, free: 14.27 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.005759/0.4073, allocations: 1.685 MB / 480.5 MB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.4089, allocations: 0.7963 MB / 481.3 MB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.4089, allocations: 4 kB / 481.3 MB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000569/0.4095, allocations: 291.1 kB / 481.6 MB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.4109, allocations: 272.5 kB / 481.8 MB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.4129, allocations: 1.26 MB / 483.1 MB, free: 9.914 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.4133, allocations: 0.8367 MB / 483.9 MB, free: 9.051 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005748/0.4139, allocations: 144.4 kB / 484.1 MB, free: 8.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.414, allocations: 59.42 kB / 484.1 MB, free: 8.852 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.414, allocations: 0 / 484.1 MB, free: 8.852 MB / 398.1 MB Notification: Performance of Templates: time 0.06047/0.4745, allocations: 44.41 MB / 0.5161 GB, free: 12.49 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