Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.000888/0.0008883, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.000874/0.0008742, allocations: 178.4 kB / 17.2 MB, free: 5.914 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.255/1.255, allocations: 223.2 MB / 241.1 MB, free: 5.316 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002369/0.000237, allocations: 6.438 kB / 300.7 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1069, allocations: 50.42 MB / 351.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.04978/0.1568, allocations: 49.81 MB / 400.9 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005521/0.1623, allocations: 4.371 MB / 405.3 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004204/0.1628, allocations: 7.938 kB / 405.3 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008253/0.1636, allocations: 274.8 kB / 405.6 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007371/0.1644, allocations: 343 kB / 405.9 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01321/0.1776, allocations: 5.215 MB / 411.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.1789, allocations: 0.8321 MB / 412 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.1792, allocations: 159.9 kB / 412.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008521/0.18, allocations: 0.4985 MB / 412.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006301/0.1807, allocations: 374.7 kB / 413 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.1808, allocations: 36 kB / 413 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01523/0.196, allocations: 8.505 MB / 421.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004405/0.1965, allocations: 251.4 kB / 421.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003148/0.1968, allocations: 169.5 kB / 421.9 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006337/0.2032, allocations: 3.695 MB / 425.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2032, allocations: 0 / 425.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.2032, allocations: 0 / 425.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.2032, allocations: 3.938 kB / 425.6 MB, free: 1.02 MB / 350.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.1625/0.3658, allocations: 1.358 MB / 427 MB, free: 66.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3658, allocations: 8.656 kB / 427 MB, free: 66.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006704/0.3665, allocations: 85.67 kB / 427.1 MB, free: 66.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008047/0.3673, allocations: 427.1 kB / 427.5 MB, free: 66.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.3674, allocations: 50.28 kB / 427.6 MB, free: 66.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.3675, allocations: 64.41 kB / 427.6 MB, free: 66.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.3693, allocations: 0.8005 MB / 428.4 MB, free: 66.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.3693, allocations: 1.328 kB / 428.4 MB, free: 66.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.782e-05/0.3694, allocations: 31.19 kB / 428.5 MB, free: 66.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.3695, allocations: 21.77 kB / 428.5 MB, free: 66.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.3713, allocations: 1.022 MB / 429.5 MB, free: 66.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01548/0.3868, allocations: 12.83 MB / 442.3 MB, free: 55.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.3886, allocations: 0.7465 MB / 443.1 MB, free: 55.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01193/0.4005, allocations: 12.29 MB / 455.4 MB, free: 42.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.763e-05/0.4006, allocations: 48.08 kB / 455.4 MB, free: 42.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 2.835e-06/0.4006, allocations: 384 / 455.4 MB, free: 42.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.009537/0.4102, allocations: 3.423 MB / 458.8 MB, free: 41.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.4102, allocations: 65.56 kB / 458.9 MB, free: 41.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003784/0.4106, allocations: 356.6 kB / 459.3 MB, free: 41.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.552e-05/0.4107, allocations: 43.27 kB / 459.3 MB, free: 41.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.4108, allocations: 241.9 kB / 459.5 MB, free: 41.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.411, allocations: 300.1 kB / 459.8 MB, free: 41.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.4111, allocations: 17.53 kB / 459.8 MB, free: 41.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.4112, allocations: 362 kB / 460.2 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005832/0.4118, allocations: 369.1 kB / 460.6 MB, free: 40.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008287/0.4126, allocations: 492 kB / 461 MB, free: 40.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008025/0.4134, allocations: 440.5 kB / 461.5 MB, free: 40.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4134, allocations: 0 / 461.5 MB, free: 40.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002257/0.4157, allocations: 1.115 MB / 462.6 MB, free: 39.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.4157, allocations: 6.656 kB / 462.6 MB, free: 39.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.4157, allocations: 3.656 kB / 462.6 MB, free: 39.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007671/0.4165, allocations: 160.7 kB / 462.7 MB, free: 39.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.4172, allocations: 199 kB / 462.9 MB, free: 39.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.4191, allocations: 3.922 MB / 466.9 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.4197, allocations: 63.66 kB / 466.9 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.451e-05/0.4198, allocations: 47.53 kB / 467 MB, free: 35.69 MB / 350.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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003448/0.4201, allocations: 237.5 kB / 467.2 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003475/0.4205, allocations: 55 kB / 467.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.4225, allocations: 1.288 MB / 468.5 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.4225, allocations: 7.938 kB / 468.6 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4225, allocations: 6.953 kB / 468.6 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001439/0.424, allocations: 1.321 MB / 469.9 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.4268, allocations: 1.983 MB / 471.9 MB, free: 31.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.4268, allocations: 4 kB / 471.9 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006417/0.4274, allocations: 163.7 kB / 472 MB, free: 31.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001638/0.4291, allocations: 293.3 kB / 472.3 MB, free: 31.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-05/0.4292, allocations: 35.98 kB / 472.4 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004904/0.4297, allocations: 1.285 MB / 473.6 MB, free: 30.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4297, allocations: 0 / 473.6 MB, free: 30.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/0.4318, allocations: 1.444 MB / 475.1 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.4321, allocations: 140.5 kB / 475.2 MB, free: 28.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.471e-05/0.4322, allocations: 20 kB / 475.2 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005768/0.4327, allocations: 55.89 kB / 475.3 MB, free: 28.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.098e-05/0.4328, allocations: 56.81 kB / 475.3 MB, free: 28.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.883e-05/0.4329, allocations: 47.97 kB / 475.4 MB, free: 28.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002775/0.4332, allocations: 275 kB / 475.7 MB, free: 27.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4332, allocations: 0 / 475.7 MB, free: 27.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003405/0.4366, allocations: 1.391 MB / 477.1 MB, free: 26.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004902/0.4415, allocations: 1.589 MB / 478.6 MB, free: 25.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002068/0.4436, allocations: 1.162 MB / 479.8 MB, free: 24.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.4437, allocations: 4 kB / 479.8 MB, free: 24.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007769/0.4444, allocations: 487.2 kB / 480.3 MB, free: 23.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.4462, allocations: 365.5 kB / 480.6 MB, free: 23.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.4486, allocations: 1.99 MB / 482.6 MB, free: 21.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.4489, allocations: 0.9128 MB / 483.5 MB, free: 20.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007012/0.4496, allocations: 209.1 kB / 483.7 MB, free: 20.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.4498, allocations: 79.42 kB / 483.8 MB, free: 20.06 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4498, allocations: 0 / 483.8 MB, free: 20.06 MB / 350.1 MB Notification: Performance of Templates: time 0.05786/0.5076, allocations: 48.9 MB / 0.5202 GB, free: 3.258 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches