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.001286/0.001291, allocations: 112.1 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 210.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2102, allocations: 50.55 MB / 410 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07332/0.2835, allocations: 65.7 MB / 475.7 MB, free: 15.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01198/0.2956, allocations: 5.461 MB / 481.1 MB, free: 10.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004252/0.296, allocations: 8 kB / 481.1 MB, free: 10.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.2976, allocations: 357.9 kB / 481.5 MB, free: 9.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.2993, allocations: 0.5049 MB / 482 MB, free: 9.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03152/0.3308, allocations: 7.447 MB / 489.4 MB, free: 2.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002777/0.3336, allocations: 1.547 MB / 491 MB, free: 496 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004973/0.3341, allocations: 208.9 kB / 491.2 MB, free: 276 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.3356, allocations: 0.623 MB / 491.8 MB, free: 15.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.337, allocations: 0.5645 MB / 492.4 MB, free: 15.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002487/0.3372, allocations: 88 kB / 492.5 MB, free: 14.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01939/0.3566, allocations: 10.23 MB / 0.4909 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003892/0.357, allocations: 323.2 kB / 0.4912 GB, free: 4.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005762/0.3576, allocations: 438.4 kB / 0.4916 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009462/0.3671, allocations: 5.957 MB / 0.4974 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3671, allocations: 0 / 0.4974 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3671, allocations: 0 / 0.4974 GB, free: 14.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.3672, allocations: 0 / 0.4974 GB, free: 14.04 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.003387/0.3705, allocations: 1.571 MB / 0.499 GB, free: 12.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3706, allocations: 8.031 kB / 0.499 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004287/0.371, allocations: 83.23 kB / 0.4991 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006582/0.3717, allocations: 448.8 kB / 0.4995 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.3717, allocations: 45.31 kB / 0.4995 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.3718, allocations: 63.98 kB / 0.4996 GB, free: 11.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.3736, allocations: 0.8107 MB / 0.5004 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.3736, allocations: 7.891 kB / 0.5004 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.539e-05/0.3737, allocations: 28 kB / 0.5004 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.3737, allocations: 16 kB / 0.5004 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.3755, allocations: 1.02 MB / 0.5014 GB, free: 9.852 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01661/0.3922, allocations: 12.8 MB / 0.5139 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.3939, allocations: 0.7299 MB / 0.5146 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005655/0.3944, allocations: 418.6 kB / 0.515 GB, free: 9.762 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01467/0.4091, allocations: 12.25 MB / 0.527 GB, free: 11.13 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.4092, allocations: 43.22 kB / 0.527 GB, free: 11.08 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.324e-06/0.4092, allocations: 3.938 kB / 0.527 GB, free: 11.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.009403/0.4186, allocations: 3.368 MB / 0.5303 GB, free: 7.621 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.4186, allocations: 68.33 kB / 0.5304 GB, free: 7.543 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.419, allocations: 352.5 kB / 0.5307 GB, free: 7.188 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.008e-05/0.4191, allocations: 41.7 kB / 0.5308 GB, free: 7.141 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.4192, allocations: 252.6 kB / 0.531 GB, free: 6.891 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.4195, allocations: 303.6 kB / 0.5313 GB, free: 6.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.4197, allocations: 162.5 kB / 0.5315 GB, free: 6.422 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4199, allocations: 362.8 kB / 0.5318 GB, free: 6.059 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/0.4204, allocations: 369.8 kB / 0.5322 GB, free: 5.699 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000901/0.4214, allocations: 492.2 kB / 0.5326 GB, free: 5.184 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.4231, allocations: 0.9059 MB / 0.5335 GB, free: 4.242 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4231, allocations: 0 / 0.5335 GB, free: 4.242 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002525/0.4256, allocations: 1.117 MB / 0.5346 GB, free: 3.109 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4257, allocations: 11.94 kB / 0.5346 GB, free: 3.098 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.4257, allocations: 4 kB / 0.5346 GB, free: 3.094 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007937/0.4265, allocations: 163.5 kB / 0.5348 GB, free: 2.922 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007623/0.4272, allocations: 195.7 kB / 0.535 GB, free: 2.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1685/0.5957, allocations: 4.102 MB / 0.539 GB, free: 130.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005103/0.5963, allocations: 21.38 kB / 0.539 GB, free: 130.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.5964, allocations: 42.73 kB / 0.539 GB, free: 130.4 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.000383/0.5968, allocations: 226.5 kB / 0.5392 GB, free: 130.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004686/0.5973, allocations: 61.91 kB / 0.5393 GB, free: 130.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/0.5999, allocations: 1.277 MB / 0.5406 GB, free: 130 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001602/0.6015, allocations: 1.318 MB / 0.5418 GB, free: 129.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6015, allocations: 4.797 kB / 0.5418 GB, free: 129.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.6017, allocations: 129.9 kB / 0.542 GB, free: 129 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-05/0.6018, allocations: 17.66 kB / 0.542 GB, free: 129 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/0.6023, allocations: 33.8 kB / 0.542 GB, free: 129 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.671e-05/0.6024, allocations: 53.72 kB / 0.5421 GB, free: 128.9 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002048/0.6044, allocations: 1.017 MB / 0.5431 GB, free: 128.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002089/0.6065, allocations: 1.416 MB / 0.5444 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005823/0.6071, allocations: 399.3 kB / 0.5448 GB, free: 127.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000228/0.6074, allocations: 274.9 kB / 0.5451 GB, free: 127.6 MB / 462.1 MB Notification: Performance of Backend: time 5.61e-07/0.6074, allocations: 0 / 0.5451 GB, free: 127.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007195/0.6146, allocations: 2.754 MB / 0.5478 GB, free: 127 MB / 462.1 MB Notification: Performance of SimCode: time 0.002055/0.6166, allocations: 1.912 MB / 0.5496 GB, free: 125.9 MB / 462.1 MB Notification: Performance of Templates: time 0.04976/0.6664, allocations: 53.15 MB / 0.6016 GB, free: 75.09 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/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