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.001308/0.001308, allocations: 100.8 kB / 16.4 MB, free: 6.457 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.001172/0.001172, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.579/1.579, 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.2528/0.2528, allocations: 43.52 MB / 314.1 MB, free: 456 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.001441/0.001441, allocations: 63.91 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1497, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6791/0.8289, allocations: 196.4 MB / 0.6797 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01493/0.8438, allocations: 10.28 MB / 0.6898 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.8453, allocations: 19.88 kB / 0.6898 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.8471, allocations: 449.4 kB / 0.6902 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008883/0.856, allocations: 2.624 MB / 0.6928 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.009479/0.8655, allocations: 2.648 MB / 0.6954 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003916/0.8694, allocations: 2.193 MB / 0.6975 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.871, allocations: 0.602 MB / 0.6981 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00657/0.8776, allocations: 1.978 MB / 0.7 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.8791, allocations: 0.8683 MB / 0.7009 GB, free: 224 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.8793, allocations: 92 kB / 0.701 GB, free: 132 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01216/0.8915, allocations: 5.74 MB / 0.7066 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007117/0.8922, allocations: 427 kB / 0.707 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009115/0.8931, allocations: 0.5329 MB / 0.7075 GB, free: 9.426 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.9047, allocations: 4.073 MB / 0.7115 GB, free: 5.344 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9047, allocations: 0 / 0.7115 GB, free: 5.344 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9047, allocations: 0 / 0.7115 GB, free: 5.344 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.9047, allocations: 4 kB / 0.7115 GB, free: 5.34 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.004801/0.9096, allocations: 1.793 MB / 0.7132 GB, free: 3.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.9096, allocations: 15.89 kB / 0.7132 GB, free: 3.484 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004277/0.91, allocations: 110.9 kB / 0.7133 GB, free: 3.375 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.9111, allocations: 0.6209 MB / 0.714 GB, free: 2.715 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.9113, allocations: 121.3 kB / 0.7141 GB, free: 2.582 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.9114, allocations: 75.89 kB / 0.7141 GB, free: 2.508 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.9133, allocations: 1.16 MB / 0.7153 GB, free: 1.297 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.9134, allocations: 4 kB / 0.7153 GB, free: 1.293 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.9135, allocations: 35.92 kB / 0.7153 GB, free: 1.258 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-05/0.9136, allocations: 57.97 kB / 0.7154 GB, free: 1.199 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.9156, allocations: 1.175 MB / 0.7165 GB, free: 28 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.006952/0.9225, allocations: 4.993 MB / 0.7214 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.9242, allocations: 0.8346 MB / 0.7222 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006185/0.9249, allocations: 422.3 kB / 0.7226 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001724/0.9266, allocations: 1.888 MB / 0.7245 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.9267, allocations: 47.12 kB / 0.7245 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.154e-06/0.9267, allocations: 0 / 0.7245 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.01332/0.94, allocations: 4.016 MB / 0.7284 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002171/0.9403, allocations: 115.4 kB / 0.7285 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.9425, allocations: 0.664 MB / 0.7292 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003718/0.943, allocations: 49.69 kB / 0.7292 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005382/0.9435, allocations: 383.6 kB / 0.7296 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/0.9438, allocations: 287.8 kB / 0.7299 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003306/0.9441, allocations: 202.4 kB / 0.7301 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.9443, allocations: 386.8 kB / 0.7304 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009427/0.9453, allocations: 0.4899 MB / 0.7309 GB, free: 428 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.9465, allocations: 0.7532 MB / 0.7316 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/0.9487, allocations: 1.281 MB / 0.7329 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.9487, allocations: 4 kB / 0.7329 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003581/0.9523, allocations: 1.688 MB / 0.7345 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.9524, allocations: 10.81 kB / 0.7346 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.9524, allocations: 12 kB / 0.7346 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00694/0.9593, allocations: 1.327 MB / 0.7359 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008372/0.9602, allocations: 159.7 kB / 0.736 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003042/0.9633, allocations: 1.529 MB / 0.7375 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.9643, allocations: 63.89 kB / 0.7376 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/0.9646, allocations: 60.59 kB / 0.7376 GB, free: 9.277 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.0007153/0.9653, allocations: 297.5 kB / 0.7379 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003524/0.9657, allocations: 82.97 kB / 0.738 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003648/0.9693, allocations: 1.627 MB / 0.7396 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.9693, allocations: 8 kB / 0.7396 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.9694, allocations: 4 kB / 0.7396 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.9694, allocations: 7.922 kB / 0.7396 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005113/0.9745, allocations: 2.555 MB / 0.7421 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.9745, allocations: 0 / 0.7421 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.9758, allocations: 263.8 kB / 0.7423 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001691/0.9775, allocations: 376.4 kB / 0.7427 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.954e-05/0.9776, allocations: 35.97 kB / 0.7427 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002917/0.9805, allocations: 2.349 MB / 0.745 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.9806, allocations: 4.031 kB / 0.745 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004056/0.9846, allocations: 2.023 MB / 0.747 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/0.9853, allocations: 291.9 kB / 0.7473 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.9855, allocations: 20.5 kB / 0.7473 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009247/0.9864, allocations: 51.95 kB / 0.7474 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.9866, allocations: 64.91 kB / 0.7474 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.9867, allocations: 51.97 kB / 0.7475 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007862/0.9875, allocations: 0.499 MB / 0.748 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9875, allocations: 0 / 0.748 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002696/0.9902, allocations: 0.7105 MB / 0.7486 GB, free: 13.66 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.003067/0.9933, allocations: 0.9035 MB / 0.7495 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00299/0.9963, allocations: 1.249 MB / 0.7508 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.9963, allocations: 4 kB / 0.7508 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001801/0.9981, allocations: 0.7164 MB / 0.7515 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/1.001, allocations: 0.5109 MB / 0.752 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/1.005, allocations: 2.148 MB / 0.7541 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007096/1.006, allocations: 1.047 MB / 0.7551 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001123/1.007, allocations: 315.9 kB / 0.7554 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/1.007, allocations: 99.41 kB / 0.7555 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/1.007, allocations: 0 / 0.7555 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of Templates: time 0.3561/1.364, allocations: 36.36 MB / 0.791 GB, free: 214.3 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