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.001261/0.001261, allocations: 116 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001162/0.001162, allocations: 205.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001164, allocations: 59.36 kB / 306.4 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07836/0.07954, allocations: 50.54 MB / 357 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.187/0.2666, allocations: 50.56 MB / 407.5 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005775/0.2724, allocations: 5.181 MB / 412.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.2726, allocations: 3.125 kB / 412.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006736/0.2733, allocations: 220.4 kB / 412.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005451/0.2739, allocations: 339.5 kB / 413.3 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.017/0.2909, allocations: 6.448 MB / 419.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.2922, allocations: 1.099 MB / 420.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.2924, allocations: 152.7 kB / 421 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005987/0.2984, allocations: 3.757 MB / 424.7 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004823/0.2989, allocations: 422.6 kB / 425.1 MB, free: 7.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.746e-05/0.299, allocations: 56 kB / 425.2 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01674/0.3157, allocations: 9.915 MB / 435.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003474/0.3161, allocations: 223.5 kB / 435.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004272/0.3166, allocations: 310.9 kB / 435.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.328, allocations: 5.633 MB / 441.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.328, allocations: 0 / 441.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.328, allocations: 0 / 441.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.328, allocations: 0 / 441.3 MB, free: 7.535 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.003223/0.3313, allocations: 1.369 MB / 442.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3313, allocations: 8.031 kB / 442.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003488/0.3317, allocations: 59.44 kB / 442.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.3321, allocations: 361.9 kB / 443 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.3322, allocations: 36.98 kB / 443.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.97e-05/0.3323, allocations: 40 kB / 443.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.3336, allocations: 0.5882 MB / 443.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.3336, allocations: 3.984 kB / 443.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.697e-05/0.3337, allocations: 20 kB / 443.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.3337, allocations: 12 kB / 443.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.3351, allocations: 0.7417 MB / 444.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01575/0.3508, allocations: 11.96 MB / 456.4 MB, free: 6.176 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.3521, allocations: 0.5236 MB / 457 MB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003679/0.3525, allocations: 260.9 kB / 457.2 MB, free: 5.387 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01445/0.3669, allocations: 11.89 MB / 469.1 MB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.367, allocations: 42.98 kB / 469.2 MB, free: 7.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.565e-06/0.367, allocations: 0 / 469.2 MB, free: 7.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005898/0.3729, allocations: 2.132 MB / 471.3 MB, free: 4.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.3729, allocations: 55.97 kB / 471.3 MB, free: 4.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.3733, allocations: 322.9 kB / 471.7 MB, free: 4.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.52e-05/0.3734, allocations: 37.7 kB / 471.7 MB, free: 4.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.3735, allocations: 200.3 kB / 471.9 MB, free: 4.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.3737, allocations: 193.2 kB / 472.1 MB, free: 4.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.3739, allocations: 118.1 kB / 472.2 MB, free: 3.977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.374, allocations: 350.8 kB / 472.5 MB, free: 3.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.3744, allocations: 237 kB / 472.8 MB, free: 3.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/0.3751, allocations: 343.3 kB / 473.1 MB, free: 3.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.3763, allocations: 0.6034 MB / 473.7 MB, free: 2.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3763, allocations: 0 / 473.7 MB, free: 2.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001797/0.3781, allocations: 0.7439 MB / 474.4 MB, free: 1.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3781, allocations: 4.281 kB / 474.5 MB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3781, allocations: 8 kB / 474.5 MB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004912/0.3786, allocations: 110.4 kB / 474.6 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.3792, allocations: 119.9 kB / 474.7 MB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.3817, allocations: 3.484 MB / 478.2 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.3821, allocations: 36.14 kB / 478.2 MB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.082e-05/0.3822, allocations: 31.98 kB / 478.2 MB, free: 13.53 MB / 398.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.0002661/0.3824, allocations: 197.6 kB / 478.4 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/0.3827, allocations: 43.53 kB / 478.5 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.3843, allocations: 0.8151 MB / 479.3 MB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3843, allocations: 4 kB / 479.3 MB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.3844, allocations: 0 / 479.3 MB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001134/0.3855, allocations: 0.7635 MB / 480.1 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.3876, allocations: 1.305 MB / 481.4 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.3876, allocations: 4 kB / 481.4 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/0.3881, allocations: 99.83 kB / 481.5 MB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009649/0.3891, allocations: 152.6 kB / 481.6 MB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/0.3891, allocations: 19.92 kB / 481.6 MB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004215/0.3896, allocations: 0.6446 MB / 482.3 MB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3896, allocations: 0 / 482.3 MB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.3913, allocations: 0.9003 MB / 483.2 MB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.3914, allocations: 116.7 kB / 483.3 MB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-05/0.3915, allocations: 16.08 kB / 483.3 MB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/0.392, allocations: 36.08 kB / 483.3 MB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.3921, allocations: 40.31 kB / 483.4 MB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-05/0.3921, allocations: 31.97 kB / 483.4 MB, free: 8.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002772/0.3924, allocations: 253.9 kB / 483.7 MB, free: 7.855 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3924, allocations: 4 kB / 483.7 MB, free: 7.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003516/0.3959, allocations: 1.323 MB / 485 MB, free: 6.527 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.00583/0.4018, allocations: 1.698 MB / 486.7 MB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.4035, allocations: 0.8582 MB / 487.5 MB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4035, allocations: 0 / 487.5 MB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005461/0.4041, allocations: 295.8 kB / 487.8 MB, free: 3.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.4055, allocations: 272.8 kB / 488.1 MB, free: 3.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.4074, allocations: 1.269 MB / 489.4 MB, free: 2.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.4078, allocations: 0.8287 MB / 490.2 MB, free: 1.227 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005351/0.4084, allocations: 152.2 kB / 490.3 MB, free: 1.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.4085, allocations: 55.42 kB / 490.4 MB, free: 1.023 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4085, allocations: 0 / 490.4 MB, free: 1.023 MB / 398.1 MB Notification: Performance of Templates: time 0.05822/0.4668, allocations: 45.08 MB / 0.5229 GB, free: 3.965 MB / 446.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