Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 107.2 kB / 18.41 MB, free: 4.672 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.001605/0.001605, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.327/1.327, 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.001202/0.001202, allocations: 51.94 kB / 329.3 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07395/0.07516, allocations: 46.62 MB / 375.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.3328/0.408, allocations: 186.6 MB / 0.5493 GB, free: 4.508 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2107/0.6188, allocations: 4.77 MB / 0.5539 GB, free: 1.551 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.6191, allocations: 7.312 kB / 0.5539 GB, free: 1.551 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006927/0.6198, allocations: 250.2 kB / 0.5542 GB, free: 1.551 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000574/0.6204, allocations: 371.7 kB / 0.5545 GB, free: 1.551 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00675/0.6272, allocations: 2.865 MB / 0.5573 GB, free: 1.531 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001576/0.6288, allocations: 1.163 MB / 0.5585 GB, free: 1.527 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000274/0.6291, allocations: 154.9 kB / 0.5586 GB, free: 1.492 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003412/0.6325, allocations: 1.46 MB / 0.56 GB, free: 1.484 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006118/0.6331, allocations: 423.1 kB / 0.5604 GB, free: 1.484 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.6332, allocations: 62.81 kB / 0.5605 GB, free: 1.484 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007514/0.6407, allocations: 4.215 MB / 0.5646 GB, free: 1.453 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003598/0.6411, allocations: 232.2 kB / 0.5648 GB, free: 1.453 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005165/0.6417, allocations: 320.6 kB / 0.5651 GB, free: 1.453 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005885/0.6476, allocations: 2.905 MB / 0.568 GB, free: 1.316 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6476, allocations: 1.281 kB / 0.568 GB, free: 1.316 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6476, allocations: 0.8125 kB / 0.568 GB, free: 1.316 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.6476, allocations: 0 / 0.568 GB, free: 1.316 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00248/0.6501, allocations: 1.142 MB / 0.5691 GB, free: 16.62 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.6501, allocations: 12.88 kB / 0.5691 GB, free: 16.62 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003478/0.6505, allocations: 61.34 kB / 0.5692 GB, free: 16.6 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.651, allocations: 360.1 kB / 0.5695 GB, free: 16.37 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.651, allocations: 37.69 kB / 0.5696 GB, free: 16.37 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.99e-05/0.6511, allocations: 45.97 kB / 0.5696 GB, free: 16.37 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008302/0.652, allocations: 0.5063 MB / 0.5701 GB, free: 16.33 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.652, allocations: 3.969 kB / 0.5701 GB, free: 16.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.656e-05/0.652, allocations: 18.88 kB / 0.5701 GB, free: 16.33 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.6521, allocations: 12.5 kB / 0.5701 GB, free: 16.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009138/0.653, allocations: 0.5965 MB / 0.5707 GB, free: 16.33 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003032/0.656, allocations: 2.171 MB / 0.5728 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.6572, allocations: 0.554 MB / 0.5734 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.6576, allocations: 264.8 kB / 0.5736 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000579/0.6582, allocations: 0.6934 MB / 0.5743 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.6582, allocations: 41.66 kB / 0.5743 GB, free: 14.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 2.104e-06/0.6582, allocations: 3.75 kB / 0.5743 GB, free: 14.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.0132/0.6714, allocations: 3.637 MB / 0.5779 GB, free: 13.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.6715, allocations: 62.97 kB / 0.578 GB, free: 13.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.6718, allocations: 294.8 kB / 0.5782 GB, free: 13.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.371e-05/0.6718, allocations: 41.42 kB / 0.5783 GB, free: 13.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.6719, allocations: 192.9 kB / 0.5785 GB, free: 13.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.6721, allocations: 223.2 kB / 0.5787 GB, free: 13.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.6722, allocations: 113.9 kB / 0.5788 GB, free: 13.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.6724, allocations: 350.4 kB / 0.5791 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006281/0.673, allocations: 312.9 kB / 0.5794 GB, free: 12.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006731/0.6737, allocations: 385.8 kB / 0.5798 GB, free: 12.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.675, allocations: 0.7109 MB / 0.5805 GB, free: 12.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.675, allocations: 2.781 kB / 0.5805 GB, free: 12.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001964/0.677, allocations: 0.9631 MB / 0.5814 GB, free: 12.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.677, allocations: 7.75 kB / 0.5814 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.677, allocations: 3.672 kB / 0.5814 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.6785, allocations: 340.2 kB / 0.5818 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/0.679, allocations: 118.7 kB / 0.5819 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/0.6824, allocations: 3.698 MB / 0.5855 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/0.6829, allocations: 35.92 kB / 0.5855 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/0.683, allocations: 32.59 kB / 0.5855 GB, free: 9.461 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002425/0.6832, allocations: 198 kB / 0.5857 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.6834, allocations: 40.62 kB / 0.5858 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.6857, allocations: 1.024 MB / 0.5868 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001939/0.6877, allocations: 1.075 MB / 0.5878 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6877, allocations: 3.156 kB / 0.5878 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.6878, allocations: 111.6 kB / 0.5879 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.357e-05/0.6879, allocations: 21.33 kB / 0.588 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006136/0.6885, allocations: 44.3 kB / 0.588 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/0.6886, allocations: 44.02 kB / 0.588 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003518/0.6921, allocations: 1.175 MB / 0.5892 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002169/0.6943, allocations: 1.328 MB / 0.5905 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006533/0.695, allocations: 363.8 kB / 0.5908 GB, free: 8.363 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002505/0.6952, allocations: 225.1 kB / 0.591 GB, free: 8.285 MB / 494.1 MB Notification: Performance of Backend: time 3.31e-07/0.6953, allocations: 0.7188 kB / 0.591 GB, free: 8.285 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005492/0.7008, allocations: 1.775 MB / 0.5928 GB, free: 7.828 MB / 494.1 MB Notification: Performance of SimCode: time 0.002047/0.7028, allocations: 1.563 MB / 0.5943 GB, free: 6.883 MB / 494.1 MB Notification: Performance of Templates: time 0.03803/0.7409, allocations: 28.67 MB / 0.6223 GB, free: 3.488 MB / 0.4981 GB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches