Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 110.4 kB / 17.06 MB, free: 6.023 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.001115/0.001115, allocations: 191 kB / 17.99 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 51.92 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2245, allocations: 49.43 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05519/0.2797, allocations: 50.55 MB / 451.3 MB, free: 6.133 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006007/0.2857, allocations: 5.191 MB / 456.5 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.2861, allocations: 7.938 kB / 456.5 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007419/0.2868, allocations: 242.6 kB / 456.7 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000698/0.2876, allocations: 365.9 kB / 457.1 MB, free: 324 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01593/0.3035, allocations: 7.112 MB / 464.2 MB, free: 9.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001267/0.3048, allocations: 1.091 MB / 465.3 MB, free: 8.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.3051, allocations: 141.6 kB / 465.4 MB, free: 7.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006126/0.3112, allocations: 3.601 MB / 469 MB, free: 4.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006153/0.3118, allocations: 402.7 kB / 469.4 MB, free: 3.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.312, allocations: 63.94 kB / 469.5 MB, free: 3.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0161/0.3281, allocations: 9.92 MB / 479.4 MB, free: 9.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.3284, allocations: 227.5 kB / 479.6 MB, free: 9.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003912/0.3288, allocations: 302.9 kB / 479.9 MB, free: 9.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.3389, allocations: 5.493 MB / 485.4 MB, free: 3.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3389, allocations: 0 / 485.4 MB, free: 3.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.539e-06/0.339, allocations: 0 / 485.4 MB, free: 3.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.339, allocations: 7.875 kB / 485.4 MB, free: 3.941 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002889/0.3419, allocations: 1.365 MB / 486.8 MB, free: 2.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3419, allocations: 11.89 kB / 486.8 MB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003528/0.3423, allocations: 59.52 kB / 486.8 MB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.3428, allocations: 370.1 kB / 487.2 MB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.3428, allocations: 33 kB / 487.2 MB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.082e-05/0.3429, allocations: 43.91 kB / 487.3 MB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.3442, allocations: 0.592 MB / 487.9 MB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.3442, allocations: 0 / 487.9 MB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-05/0.3443, allocations: 20 kB / 487.9 MB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.3443, allocations: 12 kB / 487.9 MB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.3456, allocations: 0.7417 MB / 488.6 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01578/0.3614, allocations: 11.96 MB / 0.4889 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.3627, allocations: 0.5275 MB / 0.4894 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003712/0.3631, allocations: 263.3 kB / 0.4896 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01431/0.3774, allocations: 11.89 MB / 0.5012 GB, free: 3.582 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.3775, allocations: 47 kB / 0.5013 GB, free: 3.527 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.043e-06/0.3775, allocations: 0 / 0.5013 GB, free: 3.527 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005662/0.3831, allocations: 2.132 MB / 0.5034 GB, free: 1.301 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.3832, allocations: 55.97 kB / 0.5034 GB, free: 1.234 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.3835, allocations: 315 kB / 0.5037 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/0.3836, allocations: 37.7 kB / 0.5038 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.3837, allocations: 200.3 kB / 0.504 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.3839, allocations: 193.2 kB / 0.5041 GB, free: 500 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.3841, allocations: 114.1 kB / 0.5042 GB, free: 380 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3842, allocations: 350.8 kB / 0.5046 GB, free: 20 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.3846, allocations: 241.1 kB / 0.5048 GB, free: 15.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006358/0.3852, allocations: 335.4 kB / 0.5051 GB, free: 15.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.3864, allocations: 0.6034 MB / 0.5057 GB, free: 14.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3864, allocations: 3.984 kB / 0.5057 GB, free: 14.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001817/0.3883, allocations: 0.7439 MB / 0.5064 GB, free: 14.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3883, allocations: 7.938 kB / 0.5065 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3883, allocations: 8.219 kB / 0.5065 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004786/0.3888, allocations: 114.4 kB / 0.5066 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/0.3893, allocations: 123.8 kB / 0.5067 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.3917, allocations: 3.476 MB / 0.5101 GB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.392, allocations: 12.19 kB / 0.5101 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.565e-05/0.3921, allocations: 35.98 kB / 0.5101 GB, free: 9.934 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0002457/0.3924, allocations: 189.6 kB / 0.5103 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/0.3927, allocations: 47.53 kB / 0.5104 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.3942, allocations: 0.8228 MB / 0.5112 GB, free: 8.836 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3943, allocations: 4 kB / 0.5112 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.3943, allocations: 0 / 0.5112 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001131/0.3954, allocations: 0.7596 MB / 0.5119 GB, free: 8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/0.3974, allocations: 1.297 MB / 0.5132 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3974, allocations: 3.984 kB / 0.5132 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/0.3979, allocations: 95.89 kB / 0.5133 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009396/0.3988, allocations: 156.5 kB / 0.5134 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/0.3989, allocations: 19.98 kB / 0.5134 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003978/0.3993, allocations: 0.6445 MB / 0.5141 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3993, allocations: 4.031 kB / 0.5141 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.401, allocations: 0.9093 MB / 0.515 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.985e-05/0.4011, allocations: 116.7 kB / 0.5151 GB, free: 4.625 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.452e-05/0.4011, allocations: 12 kB / 0.5151 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.4015, allocations: 15.98 kB / 0.5151 GB, free: 4.598 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/0.4016, allocations: 32.39 kB / 0.5151 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.024e-05/0.4017, allocations: 35.97 kB / 0.5152 GB, free: 4.531 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002652/0.402, allocations: 249.9 kB / 0.5154 GB, free: 4.285 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.402, allocations: 3.938 kB / 0.5154 GB, free: 4.281 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0032/0.4052, allocations: 1.312 MB / 0.5167 GB, free: 2.969 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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 {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004802/0.41, allocations: 1.697 MB / 0.5183 GB, free: 1.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.4115, allocations: 0.8075 MB / 0.5191 GB, free: 440 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.4115, allocations: 0 / 0.5191 GB, free: 440 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005496/0.4121, allocations: 287.9 kB / 0.5194 GB, free: 152 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.4135, allocations: 273 kB / 0.5197 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.4153, allocations: 1.09 MB / 0.5207 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.4158, allocations: 0.8365 MB / 0.5215 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004597/0.4162, allocations: 144.3 kB / 0.5217 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.4164, allocations: 59.41 kB / 0.5217 GB, free: 13.7 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4164, allocations: 0 / 0.5217 GB, free: 13.7 MB / 462.1 MB Notification: Performance of Templates: time 0.2231/0.6395, allocations: 45 MB / 0.5657 GB, free: 115 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches