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.001385/0.001385, allocations: 108 kB / 18.35 MB, free: 4.812 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.001548/0.001548, allocations: 188.2 kB / 19.29 MB, free: 3.887 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.285/1.285, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.00118/0.00118, allocations: 56.14 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0689/0.07009, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1862/0.2563, allocations: 65.72 MB / 394.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00511/0.2614, allocations: 5.463 MB / 399.9 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.2616, allocations: 5.688 kB / 399.9 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000781/0.2625, allocations: 357 kB / 400.3 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006445/0.2631, allocations: 0.5078 MB / 400.8 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01356/0.2767, allocations: 7.074 MB / 407.8 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001454/0.2781, allocations: 1.553 MB / 409.4 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002731/0.2784, allocations: 214.4 kB / 409.6 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006148/0.2791, allocations: 0.6228 MB / 410.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000532/0.2796, allocations: 0.5652 MB / 410.8 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.2797, allocations: 83.34 kB / 410.9 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01407/0.2938, allocations: 10.1 MB / 421 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000303/0.2941, allocations: 319.3 kB / 421.3 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005013/0.2946, allocations: 437.6 kB / 421.7 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008133/0.3028, allocations: 5.919 MB / 427.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3028, allocations: 0.9375 kB / 427.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3028, allocations: 0 / 427.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.3028, allocations: 0 / 427.6 MB, free: 14.45 MB / 334.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.003195/0.306, allocations: 1.549 MB / 429.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3061, allocations: 8.031 kB / 429.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004228/0.3065, allocations: 83.8 kB / 429.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005973/0.3071, allocations: 451.7 kB / 429.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.3072, allocations: 49.31 kB / 429.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.5e-05/0.3073, allocations: 60 kB / 429.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.3089, allocations: 0.8068 MB / 430.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.309, allocations: 11.84 kB / 430.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.868e-05/0.3091, allocations: 28 kB / 430.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.3091, allocations: 16 kB / 430.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.3109, allocations: 1.024 MB / 431.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01569/0.3266, allocations: 12.79 MB / 444.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.3283, allocations: 0.745 MB / 445.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005643/0.3289, allocations: 403.6 kB / 445.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0138/0.3427, allocations: 12.24 MB / 457.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.3427, allocations: 47.22 kB / 457.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.775e-06/0.3428, allocations: 0 / 457.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=88): time 0.009284/0.352, allocations: 3.374 MB / 461.3 MB, free: 8.141 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.3521, allocations: 64.41 kB / 461.4 MB, free: 8.062 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.3525, allocations: 352.5 kB / 461.7 MB, free: 7.715 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.615e-05/0.3525, allocations: 45.7 kB / 461.8 MB, free: 7.664 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.3527, allocations: 242.7 kB / 462 MB, free: 7.422 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.3529, allocations: 307.7 kB / 462.3 MB, free: 7.125 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/0.3531, allocations: 162.5 kB / 462.4 MB, free: 6.961 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3533, allocations: 358.8 kB / 462.8 MB, free: 6.602 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005758/0.3539, allocations: 365.8 kB / 463.2 MB, free: 6.242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009194/0.3548, allocations: 0.4923 MB / 463.6 MB, free: 5.719 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.3566, allocations: 0.9021 MB / 464.5 MB, free: 4.785 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3566, allocations: 0 / 464.5 MB, free: 4.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00257/0.3591, allocations: 1.113 MB / 465.7 MB, free: 3.648 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3592, allocations: 7.938 kB / 465.7 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.3592, allocations: 4 kB / 465.7 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000799/0.36, allocations: 175.5 kB / 465.8 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007331/0.3607, allocations: 183.8 kB / 466 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/0.3635, allocations: 4.12 MB / 470.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.3639, allocations: 16 kB / 470.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.432e-05/0.364, allocations: 43.98 kB / 470.2 MB, free: 14.77 MB / 382.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.0002884/0.3643, allocations: 233.6 kB / 470.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003899/0.3647, allocations: 63.34 kB / 470.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.367, allocations: 1.277 MB / 471.8 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001766/0.3688, allocations: 1.32 MB / 473.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3688, allocations: 0 / 473.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-05/0.3689, allocations: 128.4 kB / 473.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.795e-05/0.369, allocations: 20 kB / 473.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.3695, allocations: 35.97 kB / 473.3 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.3696, allocations: 48.92 kB / 473.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002182/0.3718, allocations: 1.018 MB / 474.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002421/0.3742, allocations: 1.426 MB / 475.8 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006829/0.3749, allocations: 388.5 kB / 476.1 MB, free: 8.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002841/0.3752, allocations: 283 kB / 476.4 MB, free: 8.344 MB / 382.1 MB Notification: Performance of Backend: time 5.51e-07/0.3752, allocations: 0 / 476.4 MB, free: 8.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007264/0.3825, allocations: 2.753 MB / 479.2 MB, free: 5.691 MB / 382.1 MB Notification: Performance of SimCode: time 0.002504/0.385, allocations: 1.906 MB / 481.1 MB, free: 3.746 MB / 382.1 MB Notification: Performance of Templates: time 0.06664/0.4517, allocations: 54.19 MB / 0.5227 GB, free: 13.5 MB / 446.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