Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 106.7 kB / 16.41 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001195, allocations: 187.1 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2034/0.2034, allocations: 43.53 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 67.91 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1195, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5071/0.6267, allocations: 196.4 MB / 0.6797 GB, free: 6 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.6395, allocations: 10.29 MB / 0.6898 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008818/0.6404, allocations: 23.88 kB / 0.6898 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.6417, allocations: 437.4 kB / 0.6902 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006358/0.6481, allocations: 2.581 MB / 0.6927 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007004/0.6551, allocations: 2.644 MB / 0.6953 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003092/0.6582, allocations: 2.185 MB / 0.6974 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009243/0.6592, allocations: 0.6057 MB / 0.698 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004681/0.6639, allocations: 1.97 MB / 0.7 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.6654, allocations: 0.8605 MB / 0.7008 GB, free: 352 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001772/0.6656, allocations: 96 kB / 0.7009 GB, free: 256 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01282/0.6785, allocations: 5.729 MB / 0.7065 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.6796, allocations: 434.9 kB / 0.7069 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.6807, allocations: 0.529 MB / 0.7074 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.6931, allocations: 4.077 MB / 0.7114 GB, free: 5.469 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.6931, allocations: 0 / 0.7114 GB, free: 5.469 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6931, allocations: 0 / 0.7114 GB, free: 5.469 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.6932, allocations: 0 / 0.7114 GB, free: 5.469 MB / 0.545 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.004373/0.6975, allocations: 1.796 MB / 0.7132 GB, free: 3.625 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.6976, allocations: 11.89 kB / 0.7132 GB, free: 3.613 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004326/0.698, allocations: 114.9 kB / 0.7133 GB, free: 3.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009897/0.699, allocations: 0.617 MB / 0.7139 GB, free: 2.844 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.6991, allocations: 121.4 kB / 0.714 GB, free: 2.711 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.6993, allocations: 75.83 kB / 0.7141 GB, free: 2.637 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.7013, allocations: 1.165 MB / 0.7152 GB, free: 1.422 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.7013, allocations: 3.984 kB / 0.7152 GB, free: 1.418 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.7014, allocations: 35.98 kB / 0.7152 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-05/0.7015, allocations: 61.91 kB / 0.7153 GB, free: 1.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.7034, allocations: 1.175 MB / 0.7164 GB, free: 152 kB / 0.545 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.006968/0.7104, allocations: 4.987 MB / 0.7213 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.7122, allocations: 0.8339 MB / 0.7221 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000647/0.7128, allocations: 430.3 kB / 0.7225 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001846/0.7147, allocations: 1.884 MB / 0.7244 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.7147, allocations: 43.12 kB / 0.7244 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.595e-06/0.7147, allocations: 0 / 0.7244 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.01347/0.7282, allocations: 4.016 MB / 0.7283 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.018e-05/0.7283, allocations: 111.5 kB / 0.7285 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008674/0.7292, allocations: 0.6795 MB / 0.7291 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.7293, allocations: 41.7 kB / 0.7292 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.7296, allocations: 379.6 kB / 0.7295 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.7299, allocations: 287.8 kB / 0.7298 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003468/0.7302, allocations: 202.5 kB / 0.73 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.7304, allocations: 394.7 kB / 0.7304 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009788/0.7314, allocations: 493.7 kB / 0.7308 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.7326, allocations: 0.7532 MB / 0.7316 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/0.7347, allocations: 1.285 MB / 0.7328 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.7347, allocations: 0 / 0.7328 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003689/0.7384, allocations: 1.696 MB / 0.7345 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.7385, allocations: 8 kB / 0.7345 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.7385, allocations: 8 kB / 0.7345 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007087/0.7456, allocations: 1.332 MB / 0.7358 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/0.7463, allocations: 155.7 kB / 0.7359 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.7491, allocations: 1.534 MB / 0.7374 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008868/0.75, allocations: 51.95 kB / 0.7375 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.7501, allocations: 67.97 kB / 0.7376 GB, free: 9.398 MB / 0.5762 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.0005354/0.7506, allocations: 297.4 kB / 0.7378 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/0.7509, allocations: 86.97 kB / 0.7379 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003499/0.7544, allocations: 1.624 MB / 0.7395 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.7544, allocations: 8 kB / 0.7395 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.7544, allocations: 4 kB / 0.7395 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.7545, allocations: 7.922 kB / 0.7395 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004835/0.7593, allocations: 2.555 MB / 0.742 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.7594, allocations: 5.125 kB / 0.742 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.7607, allocations: 259.7 kB / 0.7423 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.7624, allocations: 376.5 kB / 0.7426 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-05/0.7625, allocations: 31.97 kB / 0.7427 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002848/0.7654, allocations: 2.359 MB / 0.745 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.7654, allocations: 0 / 0.745 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003796/0.7692, allocations: 2.023 MB / 0.7469 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004903/0.7697, allocations: 291.8 kB / 0.7472 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.7699, allocations: 20 kB / 0.7472 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007882/0.7707, allocations: 63.89 kB / 0.7473 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.7708, allocations: 64.91 kB / 0.7474 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.7709, allocations: 47.97 kB / 0.7474 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006306/0.7716, allocations: 0.499 MB / 0.7479 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7716, allocations: 0 / 0.7479 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002/0.7736, allocations: 0.7066 MB / 0.7486 GB, free: 13.78 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.00203/0.7756, allocations: 0.8929 MB / 0.7495 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002661/0.7783, allocations: 1.248 MB / 0.7507 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.7783, allocations: 3.938 kB / 0.7507 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.78, allocations: 0.7095 MB / 0.7514 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/0.7824, allocations: 0.5301 MB / 0.7519 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/0.7869, allocations: 2.146 MB / 0.754 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/0.7876, allocations: 1.043 MB / 0.755 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000956/0.7886, allocations: 303.9 kB / 0.7553 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.7889, allocations: 103.4 kB / 0.7554 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of SimCode: time 7.31e-07/0.7889, allocations: 0 / 0.7554 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of Templates: time 0.2976/1.086, allocations: 36.36 MB / 0.7909 GB, free: 214.6 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches