Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001171/0.001171, allocations: 107.8 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 209.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1986/0.1986, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 75.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3888, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5955/0.9843, allocations: 194 MB / 0.7211 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.9944, allocations: 7.437 MB / 0.7284 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009872/0.9955, allocations: 17.88 kB / 0.7284 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.9968, allocations: 445.2 kB / 0.7288 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007121/1.004, allocations: 2.354 MB / 0.7311 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007849/1.012, allocations: 2.311 MB / 0.7334 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003467/1.015, allocations: 2.199 MB / 0.7355 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009357/1.016, allocations: 0.6005 MB / 0.7361 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004647/1.021, allocations: 1.842 MB / 0.7379 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/1.023, allocations: 0.859 MB / 0.7388 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002105/1.023, allocations: 93.06 kB / 0.7389 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01065/1.033, allocations: 5.238 MB / 0.744 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/1.035, allocations: 430.2 kB / 0.7444 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00117/1.036, allocations: 0.5334 MB / 0.7449 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01001/1.046, allocations: 3.839 MB / 0.7487 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.046, allocations: 1.094 kB / 0.7487 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.823e-06/1.046, allocations: 0 / 0.7487 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.572e-05/1.046, allocations: 0 / 0.7487 GB, free: 1.34 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004192/1.05, allocations: 1.729 MB / 0.7503 GB, free: 16.45 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/1.05, allocations: 8.5 kB / 0.7504 GB, free: 16.45 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005243/1.051, allocations: 113 kB / 0.7505 GB, free: 16.4 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/1.052, allocations: 0.6146 MB / 0.7511 GB, free: 16.13 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/1.052, allocations: 120.8 kB / 0.7512 GB, free: 16.07 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/1.052, allocations: 74.62 kB / 0.7512 GB, free: 16.06 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/1.054, allocations: 1.157 MB / 0.7524 GB, free: 15.88 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/1.054, allocations: 5.812 kB / 0.7524 GB, free: 15.88 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.054, allocations: 33.52 kB / 0.7524 GB, free: 15.88 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.247e-05/1.054, allocations: 64.77 kB / 0.7525 GB, free: 15.88 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/1.056, allocations: 1.161 MB / 0.7536 GB, free: 15.87 MB / 0.5763 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006244/1.062, allocations: 4.964 MB / 0.7585 GB, free: 13.23 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/1.064, allocations: 0.8204 MB / 0.7593 GB, free: 13.2 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006125/1.064, allocations: 424.6 kB / 0.7597 GB, free: 13.19 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/1.066, allocations: 1.625 MB / 0.7613 GB, free: 11.41 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/1.066, allocations: 43.62 kB / 0.7613 GB, free: 11.37 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=70): time 2.715e-06/1.066, allocations: 0 / 0.7613 GB, free: 11.37 MB / 0.5763 GB Notification: Performance of matching and sorting (n=82): time 0.01317/1.079, allocations: 4.006 MB / 0.7652 GB, free: 10.89 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/1.079, allocations: 113.2 kB / 0.7653 GB, free: 10.77 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007803/1.08, allocations: 0.6697 MB / 0.766 GB, free: 10.63 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/1.08, allocations: 47.05 kB / 0.766 GB, free: 10.6 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/1.08, allocations: 378.5 kB / 0.7664 GB, free: 10.4 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/1.08, allocations: 292.9 kB / 0.7667 GB, free: 10.22 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002947/1.081, allocations: 199.9 kB / 0.7668 GB, free: 10.2 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.081, allocations: 391.2 kB / 0.7672 GB, free: 9.883 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009183/1.082, allocations: 493.5 kB / 0.7677 GB, free: 9.883 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/1.083, allocations: 0.7529 MB / 0.7684 GB, free: 9.586 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/1.085, allocations: 1.281 MB / 0.7697 GB, free: 9.297 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.627e-06/1.085, allocations: 7.531 kB / 0.7697 GB, free: 9.293 MB / 0.5763 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003299/1.088, allocations: 1.677 MB / 0.7713 GB, free: 9.188 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/1.088, allocations: 10.36 kB / 0.7713 GB, free: 9.188 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/1.088, allocations: 8.531 kB / 0.7713 GB, free: 9.188 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007086/1.096, allocations: 1.31 MB / 0.7726 GB, free: 9.168 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006967/1.096, allocations: 155.8 kB / 0.7728 GB, free: 9.168 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/1.099, allocations: 1.533 MB / 0.7743 GB, free: 8.625 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/1.1, allocations: 52.08 kB / 0.7743 GB, free: 8.625 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/1.1, allocations: 53.19 kB / 0.7744 GB, free: 8.625 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0005447/1.101, allocations: 295.8 kB / 0.7746 GB, free: 8.508 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/1.101, allocations: 86.97 kB / 0.7747 GB, free: 8.465 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003367/1.104, allocations: 1.675 MB / 0.7764 GB, free: 8.328 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/1.104, allocations: 11.59 kB / 0.7764 GB, free: 8.328 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.104, allocations: 3.938 kB / 0.7764 GB, free: 8.324 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/1.104, allocations: 6.516 kB / 0.7764 GB, free: 8.324 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004918/1.109, allocations: 2.631 MB / 0.779 GB, free: 7.641 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/1.109, allocations: 0 / 0.779 GB, free: 7.641 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/1.111, allocations: 261.5 kB / 0.7792 GB, free: 7.59 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001729/1.112, allocations: 375.9 kB / 0.7796 GB, free: 7.477 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.163e-05/1.112, allocations: 31.33 kB / 0.7796 GB, free: 7.473 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00261/1.115, allocations: 2.354 MB / 0.7819 GB, free: 5.422 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.115, allocations: 2.562 kB / 0.7819 GB, free: 5.422 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003947/1.119, allocations: 2.031 MB / 0.7839 GB, free: 4.891 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007036/1.12, allocations: 287 kB / 0.7841 GB, free: 4.715 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/1.12, allocations: 21.44 kB / 0.7842 GB, free: 4.715 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/1.121, allocations: 55.48 kB / 0.7842 GB, free: 4.699 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/1.121, allocations: 66 kB / 0.7843 GB, free: 4.672 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/1.121, allocations: 42.66 kB / 0.7843 GB, free: 4.664 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.000831/1.122, allocations: 0.5006 MB / 0.7848 GB, free: 4.496 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.233e-06/1.122, allocations: 0 / 0.7848 GB, free: 4.496 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.002956/1.125, allocations: 0.6848 MB / 0.7855 GB, free: 4.375 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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 {1} * 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00309/1.128, allocations: 0.8309 MB / 0.7863 GB, free: 4.035 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.00307/1.131, allocations: 1.242 MB / 0.7875 GB, free: 3.402 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.131, allocations: 4.062 kB / 0.7875 GB, free: 3.398 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/1.133, allocations: 0.6982 MB / 0.7882 GB, free: 2.898 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/1.136, allocations: 0.5179 MB / 0.7887 GB, free: 2.465 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005129/1.141, allocations: 2.221 MB / 0.7909 GB, free: 0.4961 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007323/1.142, allocations: 1.043 MB / 0.7919 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004014/1.142, allocations: 98.55 kB / 0.792 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/1.142, allocations: 1.094 kB / 0.792 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of Templates: time 0.04294/1.185, allocations: 28.63 MB / 0.8199 GB, free: 2.953 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.Xi[1],volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.Xi[1],volume.medium.p