Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008748/0.0008749, allocations: 199.9 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 229.5 MB / 247.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007542/0.0007545, allocations: 94.08 kB / 299.8 MB, free: 5.363 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3113/0.3113, allocations: 45.01 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002636/0.0002637, allocations: 7.984 kB / 470.8 MB, free: 7.125 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2928, allocations: 63.09 MB / 0.5214 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4419/0.7347, allocations: 196.5 MB / 0.7133 GB, free: 18.61 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.7454, allocations: 11.14 MB / 0.7242 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.7465, allocations: 26.81 kB / 0.7242 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.7476, allocations: 388.8 kB / 0.7245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.005185/0.7528, allocations: 2.065 MB / 0.7266 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.005368/0.7582, allocations: 2.034 MB / 0.7285 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003595/0.7618, allocations: 3.209 MB / 0.7317 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009283/0.7627, allocations: 0.5106 MB / 0.7322 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00482/0.7676, allocations: 1.659 MB / 0.7338 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.7692, allocations: 0.8855 MB / 0.7347 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.7694, allocations: 45.34 kB / 0.7347 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009314/0.7787, allocations: 5.436 MB / 0.74 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0008128/0.7795, allocations: 377.3 kB / 0.7404 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009913/0.7805, allocations: 0.5141 MB / 0.7409 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.007787/0.7883, allocations: 3.887 MB / 0.7447 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7884, allocations: 0 / 0.7447 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7884, allocations: 2.938 kB / 0.7447 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.7884, allocations: 0 / 0.7447 GB, free: 12.38 MB / 0.4948 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.003356/0.7918, allocations: 1.526 MB / 0.7462 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.7918, allocations: 9.375 kB / 0.7462 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000345/0.7922, allocations: 121.4 kB / 0.7463 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008693/0.793, allocations: 0.5945 MB / 0.7469 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.7932, allocations: 115.8 kB / 0.747 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.7933, allocations: 77.08 kB / 0.7471 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.7948, allocations: 1.153 MB / 0.7482 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.7948, allocations: 4.844 kB / 0.7482 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.7949, allocations: 30.53 kB / 0.7482 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.923e-05/0.795, allocations: 57.81 kB / 0.7483 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.7965, allocations: 1.162 MB / 0.7494 GB, free: 10.23 MB / 0.4948 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.00561/0.8021, allocations: 4.971 MB / 0.7543 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.8035, allocations: 0.8312 MB / 0.7551 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005383/0.804, allocations: 421.6 kB / 0.7555 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/0.8052, allocations: 1.627 MB / 0.7571 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.8053, allocations: 47.95 kB / 0.7571 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=70): time 2.314e-06/0.8053, allocations: 0 / 0.7571 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.01216/0.8175, allocations: 4.147 MB / 0.7612 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.8176, allocations: 112.2 kB / 0.7613 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007066/0.8183, allocations: 0.6528 MB / 0.7619 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.276e-05/0.8184, allocations: 47.52 kB / 0.762 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.8186, allocations: 380.8 kB / 0.7623 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.8189, allocations: 295.2 kB / 0.7626 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.035e-05/0.8189, allocations: 19.19 kB / 0.7626 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.8191, allocations: 389.3 kB / 0.763 GB, free: 2.496 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008505/0.82, allocations: 497.8 kB / 0.7635 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.8211, allocations: 0.7545 MB / 0.7642 GB, free: 2.012 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.823, allocations: 1.29 MB / 0.7655 GB, free: 1.582 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.823, allocations: 0 / 0.7655 GB, free: 1.582 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002957/0.826, allocations: 1.684 MB / 0.7671 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.826, allocations: 12.64 kB / 0.7671 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.826, allocations: 6.656 kB / 0.7671 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006951/0.833, allocations: 1.385 MB / 0.7685 GB, free: 92 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006486/0.8336, allocations: 161.8 kB / 0.7686 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.8361, allocations: 1.544 MB / 0.7701 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009966/0.8371, allocations: 82.8 kB / 0.7702 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.8373, allocations: 54.08 kB / 0.7703 GB, free: 14.62 MB / 0.5105 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.0005119/0.8378, allocations: 304.7 kB / 0.7706 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.838, allocations: 86.97 kB / 0.7706 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003167/0.8412, allocations: 1.679 MB / 0.7723 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.8412, allocations: 15.61 kB / 0.7723 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8412, allocations: 0 / 0.7723 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.8412, allocations: 3.984 kB / 0.7723 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004209/0.8455, allocations: 2.643 MB / 0.7749 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.8455, allocations: 0 / 0.7749 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.8467, allocations: 256.1 kB / 0.7751 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001845/0.8486, allocations: 401.5 kB / 0.7755 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.763e-05/0.8487, allocations: 35.67 kB / 0.7755 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/0.851, allocations: 2.27 MB / 0.7778 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.851, allocations: 2.906 kB / 0.7778 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003373/0.8544, allocations: 2.05 MB / 0.7798 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/0.855, allocations: 302.8 kB / 0.78 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.8551, allocations: 20.88 kB / 0.7801 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008729/0.856, allocations: 75.86 kB / 0.7801 GB, free: 6.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.8562, allocations: 59.36 kB / 0.7802 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.8563, allocations: 44.53 kB / 0.7802 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006302/0.8569, allocations: 0.4918 MB / 0.7807 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.12e-07/0.857, allocations: 4 kB / 0.7807 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001976/0.8589, allocations: 0.6856 MB / 0.7814 GB, free: 5.402 MB / 0.5105 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.002253/0.8612, allocations: 0.8261 MB / 0.7822 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002429/0.8636, allocations: 1.243 MB / 0.7834 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.8637, allocations: 0 / 0.7834 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.8653, allocations: 0.7216 MB / 0.7841 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.8677, allocations: 0.4946 MB / 0.7846 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/0.872, allocations: 2.589 MB / 0.7871 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006267/0.8727, allocations: 1.043 MB / 0.7881 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001104/0.8738, allocations: 367.7 kB / 0.7885 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/0.8741, allocations: 93.92 kB / 0.7886 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/0.8741, allocations: 0 / 0.7886 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of Templates: time 0.04669/0.9208, allocations: 33.37 MB / 0.8212 GB, free: 14 MB / 0.5573 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches