Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 108.2 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 66.03 kB / 306.6 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0845/0.08568, allocations: 50.52 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2064/0.2921, allocations: 65.47 MB / 422.5 MB, free: 9.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006391/0.2985, allocations: 5.451 MB / 428 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.2988, allocations: 7.938 kB / 428 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008646/0.2997, allocations: 314.5 kB / 428.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007611/0.3005, allocations: 481.5 kB / 428.8 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01827/0.3188, allocations: 6.75 MB / 435.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00171/0.3205, allocations: 1.547 MB / 437.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003346/0.3208, allocations: 224.9 kB / 437.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009988/0.3218, allocations: 0.6191 MB / 437.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008427/0.3227, allocations: 0.5996 MB / 438.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.3229, allocations: 87.98 kB / 438.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01638/0.3393, allocations: 10.19 MB / 448.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000536/0.3398, allocations: 323.2 kB / 449.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000864/0.3407, allocations: 442.3 kB / 449.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.3529, allocations: 6.085 MB / 455.6 MB, free: 9.121 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3529, allocations: 3.938 kB / 455.6 MB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3529, allocations: 0 / 455.6 MB, free: 9.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.049e-05/0.3529, allocations: 0 / 455.6 MB, free: 9.117 MB / 366.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.003581/0.3565, allocations: 1.564 MB / 457.2 MB, free: 7.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3566, allocations: 12.03 kB / 457.2 MB, free: 7.492 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001501/0.3567, allocations: 102.5 kB / 457.3 MB, free: 7.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00043/0.3572, allocations: 83.23 kB / 457.4 MB, free: 7.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006009/0.3578, allocations: 448.8 kB / 457.8 MB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.3578, allocations: 49.31 kB / 457.9 MB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-05/0.3579, allocations: 63.91 kB / 457.9 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.3597, allocations: 0.8107 MB / 458.7 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.3597, allocations: 0 / 458.7 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-05/0.3598, allocations: 28 kB / 458.8 MB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.3598, allocations: 12 kB / 458.8 MB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.3617, allocations: 1.036 MB / 459.8 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01682/0.3785, allocations: 12.77 MB / 472.6 MB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.3802, allocations: 0.7334 MB / 473.3 MB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005576/0.3808, allocations: 410.6 kB / 473.7 MB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01439/0.3952, allocations: 12.25 MB / 486 MB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.3953, allocations: 43.22 kB / 486 MB, free: 6.074 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 2.735e-06/0.3953, allocations: 4 kB / 486 MB, free: 6.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.009363/0.4047, allocations: 3.387 MB / 489.4 MB, free: 2.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.4047, allocations: 64.34 kB / 489.5 MB, free: 2.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00038/0.4051, allocations: 356.4 kB / 489.8 MB, free: 2.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.979e-05/0.4052, allocations: 45.7 kB / 489.9 MB, free: 2.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.4053, allocations: 240.8 kB / 490.1 MB, free: 1.883 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.4056, allocations: 307.4 kB / 490.4 MB, free: 1.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.4058, allocations: 158.6 kB / 490.6 MB, free: 1.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.406, allocations: 362.8 kB / 490.9 MB, free: 1.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005573/0.4065, allocations: 373.8 kB / 491.3 MB, free: 0.6875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008723/0.4074, allocations: 496.2 kB / 491.8 MB, free: 176 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/0.409, allocations: 0.9021 MB / 492.7 MB, free: 15.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.409, allocations: 0 / 492.7 MB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00241/0.4115, allocations: 1.113 MB / 493.8 MB, free: 14.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.4115, allocations: 11.94 kB / 493.8 MB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4115, allocations: 4 kB / 493.8 MB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007608/0.4123, allocations: 167.4 kB / 494 MB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/0.413, allocations: 187.8 kB / 494.1 MB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002883/0.4159, allocations: 4.117 MB / 498.3 MB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000521/0.4164, allocations: 63.97 kB / 498.3 MB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.172e-05/0.4165, allocations: 43.98 kB / 498.4 MB, free: 9.176 MB / 414.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.0003307/0.4169, allocations: 234 kB / 498.6 MB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003924/0.4173, allocations: 63.34 kB / 498.6 MB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/0.4196, allocations: 1.281 MB / 499.9 MB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.4196, allocations: 8 kB / 499.9 MB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.4196, allocations: 3.984 kB / 499.9 MB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00173/0.4213, allocations: 1.316 MB / 0.4895 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003047/0.4244, allocations: 1.975 MB / 0.4914 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4244, allocations: 4 kB / 0.4914 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/0.4251, allocations: 159.8 kB / 0.4916 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001729/0.4268, allocations: 309.1 kB / 0.4919 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.987e-05/0.4269, allocations: 27.98 kB / 0.4919 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007255/0.4277, allocations: 1.293 MB / 0.4932 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4277, allocations: 0 / 0.4932 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/0.4301, allocations: 1.409 MB / 0.4946 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.4302, allocations: 128.5 kB / 0.4947 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-05/0.4303, allocations: 19.98 kB / 0.4947 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005853/0.4309, allocations: 52 kB / 0.4947 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/0.431, allocations: 60.86 kB / 0.4948 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-05/0.4311, allocations: 47.97 kB / 0.4948 GB, free: 488 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000282/0.4314, allocations: 283 kB / 0.4951 GB, free: 208 kB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4314, allocations: 0 / 0.4951 GB, free: 208 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.003394/0.4348, allocations: 1.405 MB / 0.4965 GB, free: 14.8 MB / 430.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 (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008204/0.443, allocations: 3.602 MB / 0.5 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002659/0.4457, allocations: 1.265 MB / 0.5012 GB, free: 9.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4457, allocations: 4 kB / 0.5012 GB, free: 9.852 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008804/0.4466, allocations: 491.2 kB / 0.5017 GB, free: 9.367 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.4485, allocations: 386 kB / 0.5021 GB, free: 8.996 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.4603, allocations: 7.417 MB / 0.5093 GB, free: 1.402 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.4608, allocations: 0.9089 MB / 0.5102 GB, free: 480 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000754/0.4615, allocations: 197.3 kB / 0.5104 GB, free: 280 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/0.4619, allocations: 227.3 kB / 0.5106 GB, free: 52 kB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4619, allocations: 0 / 0.5106 GB, free: 52 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.111/2.573, allocations: 56.69 MB / 0.566 GB, free: 125.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/2.573, allocations: 267.2 kB / 0.5662 GB, free: 124.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.274/7.847, allocations: 7.938 kB / 0.5662 GB, free: 124.8 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches