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.001199/0.001199, allocations: 113.8 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 210.7 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.498/1.498, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 75.88 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.4477, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6678/1.116, allocations: 194 MB / 0.7211 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01148/1.127, allocations: 7.443 MB / 0.7284 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009808/1.128, allocations: 21.59 kB / 0.7284 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001342/1.13, allocations: 453 kB / 0.7289 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007113/1.137, allocations: 2.374 MB / 0.7312 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006904/1.144, allocations: 2.321 MB / 0.7334 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003391/1.147, allocations: 2.211 MB / 0.7356 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008816/1.148, allocations: 0.6013 MB / 0.7362 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005063/1.153, allocations: 1.844 MB / 0.738 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/1.154, allocations: 0.8666 MB / 0.7388 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001562/1.155, allocations: 91.97 kB / 0.7389 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009892/1.165, allocations: 5.243 MB / 0.744 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000668/1.165, allocations: 432.5 kB / 0.7445 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009684/1.166, allocations: 0.5292 MB / 0.745 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009279/1.176, allocations: 3.835 MB / 0.7487 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.176, allocations: 0.8125 kB / 0.7487 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/1.176, allocations: 0 / 0.7487 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.395e-05/1.176, allocations: 0.9062 kB / 0.7487 GB, free: 1.328 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.005016/1.181, allocations: 1.732 MB / 0.7504 GB, free: 16.44 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/1.181, allocations: 8.719 kB / 0.7504 GB, free: 16.44 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004555/1.181, allocations: 114.1 kB / 0.7505 GB, free: 16.39 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009889/1.182, allocations: 0.6142 MB / 0.7511 GB, free: 16.12 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/1.182, allocations: 121.5 kB / 0.7512 GB, free: 16.05 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/1.182, allocations: 73.16 kB / 0.7513 GB, free: 16.05 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/1.184, allocations: 1.159 MB / 0.7524 GB, free: 15.87 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/1.184, allocations: 3.031 kB / 0.7524 GB, free: 15.87 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.664e-05/1.184, allocations: 33.97 kB / 0.7525 GB, free: 15.87 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-05/1.184, allocations: 65.39 kB / 0.7525 GB, free: 15.86 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/1.186, allocations: 1.166 MB / 0.7537 GB, free: 15.85 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.006314/1.192, allocations: 4.967 MB / 0.7585 GB, free: 13.22 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/1.194, allocations: 0.815 MB / 0.7593 GB, free: 13.19 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006141/1.195, allocations: 428.6 kB / 0.7597 GB, free: 13.18 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/1.196, allocations: 1.632 MB / 0.7613 GB, free: 11.39 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/1.196, allocations: 44.22 kB / 0.7614 GB, free: 11.35 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=70): time 2.535e-06/1.196, allocations: 0 / 0.7614 GB, free: 11.35 MB / 0.5763 GB Notification: Performance of matching and sorting (n=82): time 0.01261/1.209, allocations: 4.003 MB / 0.7653 GB, free: 10.87 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/1.209, allocations: 112.1 kB / 0.7654 GB, free: 10.75 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008323/1.21, allocations: 0.6664 MB / 0.766 GB, free: 10.61 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 9.523e-05/1.21, allocations: 42.36 kB / 0.7661 GB, free: 10.58 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/1.21, allocations: 383.7 kB / 0.7664 GB, free: 10.38 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/1.21, allocations: 294 kB / 0.7667 GB, free: 10.2 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/1.211, allocations: 198.6 kB / 0.7669 GB, free: 10.18 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0002072/1.211, allocations: 389.4 kB / 0.7673 GB, free: 9.863 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009104/1.212, allocations: 494.6 kB / 0.7678 GB, free: 9.863 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/1.213, allocations: 0.7548 MB / 0.7685 GB, free: 9.566 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/1.215, allocations: 1.283 MB / 0.7697 GB, free: 9.277 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/1.215, allocations: 6.719 kB / 0.7698 GB, free: 9.273 MB / 0.5763 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003258/1.218, allocations: 1.673 MB / 0.7714 GB, free: 9.172 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/1.218, allocations: 16.53 kB / 0.7714 GB, free: 9.168 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/1.219, allocations: 7.5 kB / 0.7714 GB, free: 9.168 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006823/1.225, allocations: 1.308 MB / 0.7727 GB, free: 9.148 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007291/1.226, allocations: 157.3 kB / 0.7728 GB, free: 9.148 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/1.229, allocations: 1.527 MB / 0.7743 GB, free: 8.609 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009593/1.23, allocations: 54.22 kB / 0.7744 GB, free: 8.609 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/1.23, allocations: 52.77 kB / 0.7744 GB, free: 8.609 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.0005747/1.23, allocations: 292.1 kB / 0.7747 GB, free: 8.492 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/1.231, allocations: 84.94 kB / 0.7748 GB, free: 8.449 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/1.234, allocations: 1.673 MB / 0.7764 GB, free: 8.316 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/1.234, allocations: 8.594 kB / 0.7764 GB, free: 8.316 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/1.234, allocations: 5.719 kB / 0.7764 GB, free: 8.312 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/1.234, allocations: 5.297 kB / 0.7764 GB, free: 8.312 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004457/1.238, allocations: 2.631 MB / 0.779 GB, free: 7.617 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/1.239, allocations: 4.859 kB / 0.779 GB, free: 7.613 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/1.24, allocations: 259.5 kB / 0.7793 GB, free: 7.562 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001632/1.241, allocations: 383.7 kB / 0.7796 GB, free: 7.441 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/1.242, allocations: 27.39 kB / 0.7797 GB, free: 7.438 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00253/1.244, allocations: 2.358 MB / 0.782 GB, free: 5.387 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.244, allocations: 0 / 0.782 GB, free: 5.387 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003993/1.248, allocations: 2.032 MB / 0.7839 GB, free: 4.855 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000721/1.249, allocations: 282.9 kB / 0.7842 GB, free: 4.684 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/1.249, allocations: 29.73 kB / 0.7842 GB, free: 4.676 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009589/1.25, allocations: 50.77 kB / 0.7843 GB, free: 4.664 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/1.25, allocations: 67.72 kB / 0.7844 GB, free: 4.637 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/1.25, allocations: 46.59 kB / 0.7844 GB, free: 4.629 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0007559/1.251, allocations: 0.5 MB / 0.7849 GB, free: 4.457 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.5e-07/1.251, allocations: 3.25 kB / 0.7849 GB, free: 4.457 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.002321/1.253, allocations: 0.6817 MB / 0.7856 GB, free: 4.336 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.002507/1.256, allocations: 0.8114 MB / 0.7863 GB, free: 4.012 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.00288/1.259, allocations: 1.249 MB / 0.7876 GB, free: 3.316 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/1.259, allocations: 4 kB / 0.7876 GB, free: 3.312 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/1.261, allocations: 0.6966 MB / 0.7883 GB, free: 2.812 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/1.263, allocations: 0.5237 MB / 0.7888 GB, free: 2.375 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004984/1.268, allocations: 2.221 MB / 0.7909 GB, free: 416 kB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007423/1.269, allocations: 1.039 MB / 0.7919 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000403/1.269, allocations: 103 kB / 0.792 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of SimCode: time 6.62e-07/1.269, allocations: 0 / 0.792 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of Templates: time 0.04262/1.312, allocations: 28.63 MB / 0.82 GB, free: 2.859 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