Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009574/0.0009574, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009255/0.0009255, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.7 MB / 247.5 MB, free: 11.24 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002343/0.0002343, allocations: 8 kB / 308.4 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09445/0.09471, allocations: 51.52 MB / 359.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2451/0.3399, allocations: 65.97 MB / 425.9 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007298/0.3472, allocations: 5.493 MB / 431.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006631/0.3479, allocations: 4 kB / 431.4 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.3491, allocations: 310.5 kB / 431.7 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.3504, allocations: 497.5 kB / 432.2 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02067/0.3711, allocations: 6.254 MB / 438.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002563/0.3737, allocations: 2.308 MB / 440.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003556/0.3741, allocations: 169.9 kB / 440.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.3752, allocations: 0.5176 MB / 441.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009962/0.3762, allocations: 0.576 MB / 442 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.3764, allocations: 36 kB / 442 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01942/0.3958, allocations: 10.39 MB / 452.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005407/0.3964, allocations: 275.2 kB / 452.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008042/0.3972, allocations: 408.2 kB / 453.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00805/0.4053, allocations: 4.093 MB / 457.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.4053, allocations: 11.92 kB / 457.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4053, allocations: 0 / 457.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.4053, allocations: 0 / 457.2 MB, free: 10.05 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003352/0.4087, allocations: 1.413 MB / 458.6 MB, free: 8.586 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4087, allocations: 11.97 kB / 458.6 MB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004018/0.4091, allocations: 83.23 kB / 458.7 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005582/0.4097, allocations: 436.8 kB / 459.1 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.4098, allocations: 49.31 kB / 459.2 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.4099, allocations: 64 kB / 459.2 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.4116, allocations: 0.8068 MB / 460 MB, free: 7.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.4116, allocations: 3.906 kB / 460 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.689e-05/0.4117, allocations: 31.98 kB / 460.1 MB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.4117, allocations: 16 kB / 460.1 MB, free: 7.047 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.4135, allocations: 1.02 MB / 461.1 MB, free: 6.027 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01694/0.4305, allocations: 12.83 MB / 473.9 MB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.4323, allocations: 0.7541 MB / 474.7 MB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006012/0.433, allocations: 410.6 kB / 475.1 MB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01436/0.4473, allocations: 12.31 MB / 487.4 MB, free: 7.199 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/0.4474, allocations: 49.22 kB / 487.4 MB, free: 7.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 3.086e-06/0.4474, allocations: 0 / 487.4 MB, free: 7.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.01015/0.4576, allocations: 3.419 MB / 490.9 MB, free: 3.633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.4577, allocations: 68.34 kB / 490.9 MB, free: 3.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004299/0.4581, allocations: 356.5 kB / 491.3 MB, free: 3.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.4582, allocations: 41.7 kB / 491.3 MB, free: 3.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.4584, allocations: 240.6 kB / 491.6 MB, free: 2.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/0.4587, allocations: 307.6 kB / 491.9 MB, free: 2.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.4588, allocations: 69.69 kB / 491.9 MB, free: 2.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.459, allocations: 366.8 kB / 492.3 MB, free: 2.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006154/0.4596, allocations: 369.8 kB / 492.6 MB, free: 1.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008986/0.4605, allocations: 492.2 kB / 493.1 MB, free: 1.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/0.4622, allocations: 0.902 MB / 494 MB, free: 368 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.4622, allocations: 3.938 kB / 494 MB, free: 364 kB / 398.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002642/0.4649, allocations: 1.121 MB / 495.1 MB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.4649, allocations: 7.938 kB / 495.2 MB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.4649, allocations: 4 kB / 495.2 MB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008319/0.4658, allocations: 159.3 kB / 495.3 MB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007286/0.4665, allocations: 195.8 kB / 495.5 MB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/0.4693, allocations: 3.912 MB / 499.4 MB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/0.4699, allocations: 63.94 kB / 499.5 MB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.47, allocations: 47.92 kB / 499.5 MB, free: 10.51 MB / 414.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0003996/0.4704, allocations: 230.8 kB / 499.8 MB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003701/0.4708, allocations: 59.44 kB / 499.8 MB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002361/0.4731, allocations: 1.281 MB / 0.4893 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.4731, allocations: 8 kB / 0.4894 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4732, allocations: 0 / 0.4894 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001767/0.4749, allocations: 1.324 MB / 0.4906 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/0.4781, allocations: 1.971 MB / 0.4926 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4781, allocations: 4 kB / 0.4926 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006984/0.4788, allocations: 159.8 kB / 0.4927 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/0.4806, allocations: 297.1 kB / 0.493 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.712e-05/0.4807, allocations: 35.98 kB / 0.493 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00078/0.4815, allocations: 1.285 MB / 0.4943 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4815, allocations: 3.984 kB / 0.4943 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.484, allocations: 1.417 MB / 0.4957 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.4842, allocations: 140.5 kB / 0.4958 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.4843, allocations: 16 kB / 0.4958 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006646/0.485, allocations: 63.86 kB / 0.4959 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.69e-05/0.4851, allocations: 60.92 kB / 0.496 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.133e-05/0.4852, allocations: 43.97 kB / 0.496 GB, free: 1.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003144/0.4855, allocations: 283 kB / 0.4963 GB, free: 1.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4855, allocations: 0 / 0.4963 GB, free: 1.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003821/0.4894, allocations: 1.413 MB / 0.4976 GB, free: 108 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006107/0.4955, allocations: 1.726 MB / 0.4993 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002219/0.4977, allocations: 1.152 MB / 0.5005 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/0.4977, allocations: 4 kB / 0.5005 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009368/0.4987, allocations: 495.6 kB / 0.5009 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.5008, allocations: 373.2 kB / 0.5013 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/0.5039, allocations: 2.104 MB / 0.5033 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.5044, allocations: 0.9128 MB / 0.5042 GB, free: 9.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/0.5047, allocations: 95.39 kB / 0.5043 GB, free: 9.176 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5047, allocations: 0 / 0.5043 GB, free: 9.176 MB / 430.1 MB Notification: Performance of Templates: time 0.2316/0.7364, allocations: 40.93 MB / 0.5443 GB, free: 135.8 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches