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.001486/0.001486, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001789/0.001789, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 59.89 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2254, allocations: 50.55 MB / 409.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06301/0.2884, allocations: 65.71 MB / 475 MB, free: 15.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006346/0.2948, allocations: 5.461 MB / 480.4 MB, free: 10.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000349/0.2952, allocations: 8 kB / 480.4 MB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009734/0.2962, allocations: 353.9 kB / 480.8 MB, free: 9.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009451/0.2972, allocations: 0.5011 MB / 481.3 MB, free: 9.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01648/0.3137, allocations: 7.444 MB / 488.7 MB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001719/0.3154, allocations: 1.547 MB / 490.3 MB, free: 300 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003123/0.3157, allocations: 216.8 kB / 490.5 MB, free: 72 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007443/0.3165, allocations: 0.6269 MB / 491.1 MB, free: 15.44 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006878/0.3172, allocations: 0.5606 MB / 491.7 MB, free: 14.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.3173, allocations: 84 kB / 491.8 MB, free: 14.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01643/0.3337, allocations: 10.23 MB / 0.4902 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004288/0.3342, allocations: 327.2 kB / 0.4905 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006009/0.3348, allocations: 426.5 kB / 0.4909 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.3454, allocations: 5.957 MB / 0.4968 GB, free: 13.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3455, allocations: 8 kB / 0.4968 GB, free: 13.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3455, allocations: 0 / 0.4968 GB, free: 13.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.507e-05/0.3455, allocations: 0 / 0.4968 GB, free: 13.84 MB / 430.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.004072/0.3496, allocations: 1.567 MB / 0.4983 GB, free: 12.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3496, allocations: 8.031 kB / 0.4983 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004493/0.3501, allocations: 83.23 kB / 0.4984 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/0.3507, allocations: 448.8 kB / 0.4988 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.3508, allocations: 45.31 kB / 0.4989 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.372e-05/0.3509, allocations: 72 kB / 0.4989 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.3526, allocations: 0.8029 MB / 0.4997 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.3527, allocations: 3.906 kB / 0.4997 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.74e-05/0.3527, allocations: 32 kB / 0.4997 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.3528, allocations: 16 kB / 0.4998 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.3546, allocations: 1.024 MB / 0.5008 GB, free: 9.652 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01639/0.371, allocations: 12.79 MB / 0.5132 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.3727, allocations: 0.7451 MB / 0.514 GB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005664/0.3733, allocations: 406.7 kB / 0.5144 GB, free: 9.566 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01568/0.389, allocations: 12.25 MB / 0.5263 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/0.3891, allocations: 43.22 kB / 0.5264 GB, free: 10.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.785e-06/0.3891, allocations: 4 kB / 0.5264 GB, free: 10.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.009877/0.3989, allocations: 3.384 MB / 0.5297 GB, free: 7.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.399, allocations: 60.41 kB / 0.5297 GB, free: 7.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000476/0.3995, allocations: 352.5 kB / 0.5301 GB, free: 6.984 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.728e-05/0.3996, allocations: 41.7 kB / 0.5301 GB, free: 6.938 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.3998, allocations: 244.6 kB / 0.5303 GB, free: 6.695 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.4, allocations: 303.6 kB / 0.5306 GB, free: 6.395 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.4003, allocations: 170.5 kB / 0.5308 GB, free: 6.219 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4004, allocations: 358.8 kB / 0.5311 GB, free: 5.859 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005875/0.401, allocations: 373.8 kB / 0.5315 GB, free: 5.496 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009064/0.4019, allocations: 492.2 kB / 0.532 GB, free: 4.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.4038, allocations: 0.9021 MB / 0.5328 GB, free: 4.043 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.4038, allocations: 0 / 0.5328 GB, free: 4.043 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002594/0.4064, allocations: 1.117 MB / 0.5339 GB, free: 2.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4064, allocations: 8.031 kB / 0.5339 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4064, allocations: 4 kB / 0.5339 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007947/0.4072, allocations: 167.2 kB / 0.5341 GB, free: 2.723 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008252/0.4081, allocations: 183.8 kB / 0.5343 GB, free: 2.543 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1765/0.5845, allocations: 4.103 MB / 0.5383 GB, free: 130.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005025/0.5851, allocations: 26.22 kB / 0.5383 GB, free: 130.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.5852, allocations: 44.45 kB / 0.5384 GB, free: 130.2 MB / 462.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.0003719/0.5856, allocations: 227.8 kB / 0.5386 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004175/0.586, allocations: 61.69 kB / 0.5386 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/0.5886, allocations: 1.282 MB / 0.5399 GB, free: 129.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.5886, allocations: 8.594 kB / 0.5399 GB, free: 129.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.5887, allocations: 1.594 kB / 0.5399 GB, free: 129.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001556/0.5902, allocations: 1.321 MB / 0.5412 GB, free: 128.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/0.593, allocations: 1.966 MB / 0.5431 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.593, allocations: 12.55 kB / 0.5431 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006311/0.5937, allocations: 156.8 kB / 0.5433 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/0.5953, allocations: 300.6 kB / 0.5436 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/0.5954, allocations: 27.23 kB / 0.5436 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004543/0.5958, allocations: 1.288 MB / 0.5448 GB, free: 126.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5958, allocations: 0 / 0.5448 GB, free: 126.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.5979, allocations: 1.421 MB / 0.5462 GB, free: 126 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.598, allocations: 130.5 kB / 0.5463 GB, free: 125.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.364e-05/0.5981, allocations: 23.61 kB / 0.5464 GB, free: 125.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/0.5986, allocations: 31.27 kB / 0.5464 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.5987, allocations: 51.17 kB / 0.5464 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.296e-05/0.5988, allocations: 46.83 kB / 0.5465 GB, free: 125.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002437/0.599, allocations: 278.9 kB / 0.5468 GB, free: 125.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.599, allocations: 0 / 0.5468 GB, free: 125.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003315/0.6024, allocations: 1.408 MB / 0.5481 GB, free: 125.6 MB / 462.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.004649/0.607, allocations: 1.733 MB / 0.5498 GB, free: 125.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.6088, allocations: 1.17 MB / 0.551 GB, free: 124.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.6089, allocations: 1.688 kB / 0.551 GB, free: 124.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007563/0.6096, allocations: 0.4895 MB / 0.5514 GB, free: 124.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.6113, allocations: 386 kB / 0.5518 GB, free: 124.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.6136, allocations: 1.654 MB / 0.5534 GB, free: 123.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.6139, allocations: 0.9089 MB / 0.5543 GB, free: 122.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000593/0.6145, allocations: 207.5 kB / 0.5545 GB, free: 122.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.6147, allocations: 75.42 kB / 0.5546 GB, free: 122.1 MB / 462.1 MB Notification: Performance of SimCode: time 4.21e-07/0.6147, allocations: 3.938 kB / 0.5546 GB, free: 122.1 MB / 462.1 MB Notification: Performance of Templates: time 0.04708/0.6618, allocations: 50.16 MB / 0.6036 GB, free: 71.98 MB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches