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.001639/0.001639, allocations: 117 kB / 17.08 MB, free: 6.012 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.001806/0.001806, allocations: 195 kB / 18.01 MB, free: 5.094 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.323/1.323, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2015/0.2015, allocations: 43.53 MB / 314.8 MB, free: 452 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.001513/0.001513, allocations: 67.89 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09597/0.09749, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4448/0.5423, allocations: 196.4 MB / 0.6804 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01316/0.5555, allocations: 10.29 MB / 0.6904 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009755/0.5565, allocations: 19.88 kB / 0.6904 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.5579, allocations: 437.5 kB / 0.6909 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006906/0.5649, allocations: 2.597 MB / 0.6934 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007013/0.5719, allocations: 2.64 MB / 0.696 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002942/0.5749, allocations: 2.193 MB / 0.6981 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.576, allocations: 0.5944 MB / 0.6987 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004721/0.5808, allocations: 1.966 MB / 0.7006 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.5824, allocations: 0.8605 MB / 0.7015 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000345/0.5828, allocations: 100 kB / 0.7016 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01012/0.5929, allocations: 5.736 MB / 0.7072 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007616/0.5937, allocations: 426.9 kB / 0.7076 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.5948, allocations: 0.5368 MB / 0.7081 GB, free: 9.691 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008275/0.6031, allocations: 4.069 MB / 0.7121 GB, free: 5.613 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.6032, allocations: 0 / 0.7121 GB, free: 5.613 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6032, allocations: 0 / 0.7121 GB, free: 5.613 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.2e-05/0.6032, allocations: 4 kB / 0.7121 GB, free: 5.609 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.004993/0.6082, allocations: 1.789 MB / 0.7138 GB, free: 3.773 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.6083, allocations: 11.89 kB / 0.7138 GB, free: 3.762 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005053/0.6088, allocations: 110.9 kB / 0.7139 GB, free: 3.652 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.6099, allocations: 0.6326 MB / 0.7145 GB, free: 2.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.6101, allocations: 113.4 kB / 0.7147 GB, free: 2.855 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.6102, allocations: 75.89 kB / 0.7147 GB, free: 2.781 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.6122, allocations: 1.165 MB / 0.7159 GB, free: 1.566 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.6122, allocations: 7.984 kB / 0.7159 GB, free: 1.559 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.6123, allocations: 31.98 kB / 0.7159 GB, free: 1.527 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.556e-05/0.6124, allocations: 61.91 kB / 0.716 GB, free: 1.465 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/0.6143, allocations: 1.175 MB / 0.7171 GB, free: 300 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.006892/0.6212, allocations: 4.994 MB / 0.722 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.623, allocations: 0.8339 MB / 0.7228 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006159/0.6236, allocations: 422.3 kB / 0.7232 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001533/0.6251, allocations: 1.893 MB / 0.725 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.6252, allocations: 39.12 kB / 0.7251 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.845e-06/0.6252, allocations: 0 / 0.7251 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.0136/0.6388, allocations: 4.02 MB / 0.729 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.6389, allocations: 111.5 kB / 0.7291 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008666/0.6398, allocations: 0.664 MB / 0.7298 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.64, allocations: 41.7 kB / 0.7298 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.6402, allocations: 383.6 kB / 0.7302 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/0.6405, allocations: 291.8 kB / 0.7305 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003295/0.6408, allocations: 202.4 kB / 0.7306 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.641, allocations: 394.7 kB / 0.731 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.642, allocations: 0.4899 MB / 0.7315 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.6433, allocations: 0.7572 MB / 0.7322 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002245/0.6455, allocations: 1.281 MB / 0.7335 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.6456, allocations: 0 / 0.7335 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003575/0.6491, allocations: 1.692 MB / 0.7351 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.6492, allocations: 8 kB / 0.7351 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.6492, allocations: 12.03 kB / 0.7352 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007088/0.6563, allocations: 1.324 MB / 0.7365 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006813/0.657, allocations: 155.7 kB / 0.7366 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/0.6597, allocations: 1.529 MB / 0.7381 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009216/0.6606, allocations: 59.95 kB / 0.7382 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.6608, allocations: 59.97 kB / 0.7382 GB, free: 9.551 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.0005491/0.6614, allocations: 297.4 kB / 0.7385 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/0.6617, allocations: 86.97 kB / 0.7386 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003303/0.665, allocations: 1.636 MB / 0.7402 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.665, allocations: 8 kB / 0.7402 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.665, allocations: 7.938 kB / 0.7402 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.665, allocations: 7.922 kB / 0.7402 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004315/0.6694, allocations: 2.539 MB / 0.7427 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.6694, allocations: 4 kB / 0.7427 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.6707, allocations: 267.8 kB / 0.7429 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/0.6724, allocations: 376.3 kB / 0.7433 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-05/0.6725, allocations: 39.97 kB / 0.7433 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002464/0.6749, allocations: 2.343 MB / 0.7456 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.675, allocations: 3.938 kB / 0.7456 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00375/0.6787, allocations: 2.023 MB / 0.7476 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005199/0.6793, allocations: 291.9 kB / 0.7479 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.6795, allocations: 24 kB / 0.7479 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008723/0.6804, allocations: 51.95 kB / 0.748 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.6805, allocations: 68.84 kB / 0.748 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.6806, allocations: 51.97 kB / 0.7481 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006575/0.6813, allocations: 0.4951 MB / 0.7486 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6813, allocations: 0 / 0.7486 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001902/0.6832, allocations: 0.7105 MB / 0.7492 GB, free: 13.93 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.002257/0.6855, allocations: 0.8966 MB / 0.7501 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002697/0.6882, allocations: 1.249 MB / 0.7513 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.6882, allocations: 4 kB / 0.7513 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00168/0.6899, allocations: 0.7086 MB / 0.752 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/0.6923, allocations: 0.5145 MB / 0.7525 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004922/0.6973, allocations: 2.204 MB / 0.7547 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007167/0.698, allocations: 1.039 MB / 0.7557 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003952/0.6984, allocations: 107.4 kB / 0.7558 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.6984, allocations: 7.938 kB / 0.7558 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of Templates: time 0.2436/0.942, allocations: 29.31 MB / 0.7844 GB, free: 216.8 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/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