Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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) 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(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 102.6 kB / 18.4 MB, free: 4.633 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.001681/0.001681, allocations: 190 kB / 19.34 MB, free: 3.703 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.311/1.311, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.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.00122/0.00122, allocations: 51.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07324/0.07447, allocations: 46.61 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2088/0.2833, allocations: 65.74 MB / 441.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006457/0.2898, allocations: 5.453 MB / 447 MB, free: 8.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002324/0.2901, allocations: 7.938 kB / 447 MB, free: 8.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009576/0.2911, allocations: 357.9 kB / 447.4 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007902/0.2919, allocations: 0.5167 MB / 447.9 MB, free: 7.617 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01776/0.3096, allocations: 7.107 MB / 455 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001687/0.3113, allocations: 1.547 MB / 456.6 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.3117, allocations: 215 kB / 456.8 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007408/0.3124, allocations: 0.6347 MB / 457.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006883/0.3131, allocations: 0.5722 MB / 458 MB, free: 13.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.3133, allocations: 84 kB / 458.1 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01712/0.3304, allocations: 10.09 MB / 468.2 MB, free: 3.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004078/0.3308, allocations: 319.3 kB / 468.5 MB, free: 3.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005703/0.3314, allocations: 438.3 kB / 468.9 MB, free: 2.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.342, allocations: 5.935 MB / 474.8 MB, free: 12.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.342, allocations: 0 / 474.8 MB, free: 12.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.342, allocations: 0 / 474.8 MB, free: 12.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.135e-05/0.342, allocations: 0 / 474.8 MB, free: 12.63 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003441/0.3455, allocations: 1.601 MB / 476.4 MB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3455, allocations: 8.031 kB / 476.4 MB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004492/0.346, allocations: 91.5 kB / 476.5 MB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006203/0.3466, allocations: 456.9 kB / 477 MB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.3467, allocations: 45.31 kB / 477 MB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.42e-05/0.3468, allocations: 64.88 kB / 477.1 MB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.3485, allocations: 0.8068 MB / 477.9 MB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.3486, allocations: 4 kB / 477.9 MB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.846e-05/0.3486, allocations: 24 kB / 477.9 MB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.3487, allocations: 16 kB / 477.9 MB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.3506, allocations: 1.032 MB / 479 MB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01704/0.3676, allocations: 12.78 MB / 491.7 MB, free: 9.469 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.3694, allocations: 0.7372 MB / 492.5 MB, free: 8.719 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005806/0.37, allocations: 410.7 kB / 492.9 MB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01478/0.3848, allocations: 12.24 MB / 0.4933 GB, free: 9.695 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.3849, allocations: 58.08 kB / 0.4933 GB, free: 9.633 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.655e-06/0.3849, allocations: 0 / 0.4933 GB, free: 9.633 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.009801/0.3947, allocations: 3.399 MB / 0.4967 GB, free: 6.152 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.3948, allocations: 60.41 kB / 0.4967 GB, free: 6.078 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.3952, allocations: 352.5 kB / 0.4971 GB, free: 5.727 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.737e-05/0.3953, allocations: 41.7 kB / 0.4971 GB, free: 5.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.3954, allocations: 249.2 kB / 0.4973 GB, free: 5.434 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.3957, allocations: 329.2 kB / 0.4976 GB, free: 5.109 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.3959, allocations: 154.6 kB / 0.4978 GB, free: 4.953 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3961, allocations: 362.8 kB / 0.4981 GB, free: 4.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006134/0.3967, allocations: 369.8 kB / 0.4985 GB, free: 4.227 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009475/0.3977, allocations: 0.4884 MB / 0.499 GB, free: 3.707 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.3994, allocations: 0.8982 MB / 0.4998 GB, free: 2.781 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3995, allocations: 0 / 0.4998 GB, free: 2.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002644/0.4021, allocations: 1.117 MB / 0.5009 GB, free: 1.641 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4021, allocations: 7.938 kB / 0.5009 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.4021, allocations: 4 kB / 0.5009 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008203/0.403, allocations: 175.4 kB / 0.5011 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007645/0.4037, allocations: 183.8 kB / 0.5013 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002856/0.4066, allocations: 4.113 MB / 0.5053 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.407, allocations: 24.09 kB / 0.5053 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.261e-05/0.4071, allocations: 43.98 kB / 0.5054 GB, free: 12.76 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {2, 2} * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003222/0.4074, allocations: 229.6 kB / 0.5056 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000408/0.4079, allocations: 63.67 kB / 0.5057 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.4103, allocations: 1.285 MB / 0.5069 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001864/0.4122, allocations: 1.32 MB / 0.5082 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.4122, allocations: 0 / 0.5082 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.4123, allocations: 128.8 kB / 0.5083 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-05/0.4124, allocations: 20 kB / 0.5083 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/0.4129, allocations: 31.97 kB / 0.5084 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.413, allocations: 52.92 kB / 0.5084 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002225/0.4153, allocations: 1.019 MB / 0.5094 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002497/0.4178, allocations: 1.423 MB / 0.5108 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006951/0.4185, allocations: 395.8 kB / 0.5112 GB, free: 6.594 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003081/0.4188, allocations: 279 kB / 0.5114 GB, free: 6.32 MB / 446.1 MB Notification: Performance of Backend: time 4.11e-07/0.4188, allocations: 0 / 0.5114 GB, free: 6.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008423/0.4273, allocations: 2.779 MB / 0.5142 GB, free: 3.5 MB / 446.1 MB Notification: Performance of SimCode: time 0.002661/0.4299, allocations: 1.914 MB / 0.516 GB, free: 1.527 MB / 446.1 MB Notification: Performance of Templates: time 0.2152/0.6451, allocations: 54.38 MB / 0.5691 GB, free: 156 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches