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.001066/0.001066, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001122/0.001122, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 59.91 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.216, allocations: 50.54 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06439/0.2805, allocations: 50.65 MB / 460.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005796/0.2863, allocations: 5.191 MB / 465.8 MB, free: 9.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.2865, allocations: 4 kB / 465.8 MB, free: 9.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006792/0.2872, allocations: 258.5 kB / 466 MB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005523/0.2878, allocations: 365.9 kB / 466.4 MB, free: 8.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01536/0.3032, allocations: 7.134 MB / 473.5 MB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.3043, allocations: 1.091 MB / 474.6 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.3046, allocations: 145.5 kB / 474.8 MB, free: 0.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006121/0.3107, allocations: 3.593 MB / 478.4 MB, free: 12.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004783/0.3112, allocations: 406.6 kB / 478.8 MB, free: 12.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.201e-05/0.3113, allocations: 56 kB / 478.8 MB, free: 12.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01572/0.327, allocations: 9.951 MB / 488.8 MB, free: 2.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.3273, allocations: 227.5 kB / 489 MB, free: 2.297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003725/0.3277, allocations: 310.8 kB / 489.3 MB, free: 1.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008925/0.3366, allocations: 5.513 MB / 494.8 MB, free: 12.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3367, allocations: 4 kB / 494.8 MB, free: 12.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3367, allocations: 0 / 494.8 MB, free: 12.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.3367, allocations: 0 / 494.8 MB, free: 12.46 MB / 414.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.002666/0.3394, allocations: 1.365 MB / 496.2 MB, free: 11.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3394, allocations: 8.031 kB / 496.2 MB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003223/0.3397, allocations: 55.52 kB / 496.2 MB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.3402, allocations: 378.8 kB / 496.6 MB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.3403, allocations: 29 kB / 496.6 MB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.617e-05/0.3403, allocations: 48 kB / 496.7 MB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.3416, allocations: 0.5803 MB / 497.3 MB, free: 9.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.3416, allocations: 4 kB / 497.3 MB, free: 9.906 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.23e-05/0.3417, allocations: 20 kB / 497.3 MB, free: 9.887 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.3417, allocations: 12 kB / 497.3 MB, free: 9.875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.343, allocations: 0.7417 MB / 498 MB, free: 9.137 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01565/0.3587, allocations: 11.98 MB / 0.4981 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.3599, allocations: 0.5235 MB / 0.4986 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003651/0.3603, allocations: 257.4 kB / 0.4988 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01434/0.3746, allocations: 11.89 MB / 0.5104 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.3747, allocations: 43 kB / 0.5105 GB, free: 12.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.866e-06/0.3747, allocations: 3.938 kB / 0.5105 GB, free: 12.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.005761/0.3805, allocations: 2.124 MB / 0.5125 GB, free: 9.828 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.3805, allocations: 59.97 kB / 0.5126 GB, free: 9.754 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.3809, allocations: 322.9 kB / 0.5129 GB, free: 9.434 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/0.3809, allocations: 37.7 kB / 0.5129 GB, free: 9.391 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.3811, allocations: 196.3 kB / 0.5131 GB, free: 9.195 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.3812, allocations: 193.3 kB / 0.5133 GB, free: 9.004 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.3814, allocations: 110.1 kB / 0.5134 GB, free: 8.891 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3815, allocations: 350.8 kB / 0.5138 GB, free: 8.539 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.3819, allocations: 241 kB / 0.514 GB, free: 8.305 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/0.3826, allocations: 335.4 kB / 0.5143 GB, free: 7.941 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.3837, allocations: 0.6034 MB / 0.5149 GB, free: 7.305 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3838, allocations: 0 / 0.5149 GB, free: 7.305 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001801/0.3856, allocations: 0.7556 MB / 0.5156 GB, free: 6.535 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3856, allocations: 4 kB / 0.5156 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3856, allocations: 7.938 kB / 0.5156 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004819/0.3861, allocations: 110.8 kB / 0.5157 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/0.3866, allocations: 123.8 kB / 0.5159 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.389, allocations: 3.476 MB / 0.5193 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.3893, allocations: 12 kB / 0.5193 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/0.3894, allocations: 31.98 kB / 0.5193 GB, free: 2.461 MB / 446.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.0002472/0.3897, allocations: 201.7 kB / 0.5195 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/0.39, allocations: 39.62 kB / 0.5195 GB, free: 2.215 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.3915, allocations: 0.8151 MB / 0.5203 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00111/0.3926, allocations: 0.7596 MB / 0.5211 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3927, allocations: 0 / 0.5211 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.3928, allocations: 116.6 kB / 0.5212 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.81e-05/0.3929, allocations: 19.94 kB / 0.5212 GB, free: 392 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.3932, allocations: 19.98 kB / 0.5212 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.3933, allocations: 36.33 kB / 0.5213 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001366/0.3947, allocations: 0.6332 MB / 0.5219 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001566/0.3963, allocations: 0.9354 MB / 0.5228 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004171/0.3967, allocations: 235.3 kB / 0.523 GB, free: 14.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002602/0.397, allocations: 261.8 kB / 0.5233 GB, free: 14.25 MB / 462.1 MB Notification: Performance of Backend: time 4.41e-07/0.397, allocations: 0 / 0.5233 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007537/0.4045, allocations: 2.468 MB / 0.5257 GB, free: 11.75 MB / 462.1 MB Notification: Performance of SimCode: time 0.001969/0.4065, allocations: 1.46 MB / 0.5271 GB, free: 10.24 MB / 462.1 MB Notification: Performance of Templates: time 0.2124/0.6189, allocations: 48.32 MB / 0.5743 GB, free: 102.6 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches