Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001518/0.001518, allocations: 106.8 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.001904/0.001904, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001147, allocations: 59.66 kB / 306.5 MB, free: 0.8633 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07677/0.07793, allocations: 50.54 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.173/0.251, allocations: 50.56 MB / 407.6 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007071/0.2581, allocations: 5.174 MB / 412.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003366/0.2585, allocations: 3.125 kB / 412.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008016/0.2593, allocations: 225.1 kB / 413 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006972/0.26, allocations: 343.6 kB / 413.4 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01844/0.2785, allocations: 6.444 MB / 419.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001438/0.28, allocations: 1.096 MB / 420.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.2802, allocations: 153.8 kB / 421.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006292/0.2865, allocations: 3.76 MB / 424.8 MB, free: 8.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005746/0.2871, allocations: 422.6 kB / 425.2 MB, free: 7.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.2872, allocations: 56 kB / 425.3 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01645/0.3037, allocations: 9.908 MB / 435.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002917/0.304, allocations: 227.5 kB / 435.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004348/0.3045, allocations: 306.8 kB / 435.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.3155, allocations: 5.629 MB / 441.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3155, allocations: 4 kB / 441.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3156, allocations: 8 kB / 441.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.791e-05/0.3156, allocations: 0 / 441.4 MB, free: 7.445 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003826/0.3194, allocations: 1.365 MB / 442.7 MB, free: 6.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.3195, allocations: 8.031 kB / 442.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001442/0.3196, allocations: 82.53 kB / 442.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004098/0.3201, allocations: 67.42 kB / 442.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005807/0.3206, allocations: 365.9 kB / 443.2 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.3207, allocations: 29 kB / 443.3 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.908e-05/0.3208, allocations: 44 kB / 443.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.3221, allocations: 0.5843 MB / 443.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.3222, allocations: 3.984 kB / 443.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.544e-05/0.3222, allocations: 16 kB / 443.9 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.3223, allocations: 12 kB / 443.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.3236, allocations: 0.7495 MB / 444.7 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01635/0.34, allocations: 11.96 MB / 456.6 MB, free: 6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.3412, allocations: 0.5236 MB / 457.2 MB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/0.3416, allocations: 256.3 kB / 457.4 MB, free: 5.215 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01432/0.3559, allocations: 11.9 MB / 469.3 MB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.356, allocations: 39 kB / 469.4 MB, free: 6.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.114e-06/0.356, allocations: 0 / 469.4 MB, free: 6.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005459/0.3614, allocations: 2.136 MB / 471.5 MB, free: 4.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.3615, allocations: 55.97 kB / 471.5 MB, free: 4.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.3618, allocations: 322.8 kB / 471.9 MB, free: 4.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.47e-05/0.3619, allocations: 37.7 kB / 471.9 MB, free: 4.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.362, allocations: 200.3 kB / 472.1 MB, free: 4.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.3622, allocations: 189.3 kB / 472.3 MB, free: 3.914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.3623, allocations: 118.1 kB / 472.4 MB, free: 3.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.3625, allocations: 346.8 kB / 472.7 MB, free: 3.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.3628, allocations: 237 kB / 473 MB, free: 3.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006183/0.3635, allocations: 347.3 kB / 473.3 MB, free: 2.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.3646, allocations: 0.5917 MB / 473.9 MB, free: 2.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3646, allocations: 4 kB / 473.9 MB, free: 2.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00173/0.3663, allocations: 0.7556 MB / 474.7 MB, free: 1.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3664, allocations: 4 kB / 474.7 MB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.3664, allocations: 7.938 kB / 474.7 MB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005634/0.367, allocations: 110.7 kB / 474.8 MB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.3675, allocations: 127.8 kB / 474.9 MB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.3699, allocations: 3.464 MB / 478.4 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.3702, allocations: 39.94 kB / 478.4 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.758e-05/0.3703, allocations: 31.98 kB / 478.4 MB, free: 13.35 MB / 398.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.0002251/0.3705, allocations: 206.6 kB / 478.6 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.3708, allocations: 39.62 kB / 478.7 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.3723, allocations: 0.8228 MB / 479.5 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3723, allocations: 7.938 kB / 479.5 MB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.3723, allocations: 0 / 479.5 MB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001041/0.3733, allocations: 0.7596 MB / 480.3 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.3752, allocations: 1.29 MB / 481.6 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3753, allocations: 4.062 kB / 481.6 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.3757, allocations: 103.9 kB / 481.7 MB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008693/0.3766, allocations: 152.5 kB / 481.8 MB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.772e-05/0.3766, allocations: 19.94 kB / 481.8 MB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005156/0.3772, allocations: 0.6485 MB / 482.5 MB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3772, allocations: 3.938 kB / 482.5 MB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/0.3796, allocations: 0.9044 MB / 483.4 MB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.3797, allocations: 116.7 kB / 483.5 MB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.3798, allocations: 12 kB / 483.5 MB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006119/0.3805, allocations: 31.97 kB / 483.5 MB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-05/0.3806, allocations: 36.33 kB / 483.6 MB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.851e-05/0.3807, allocations: 31.98 kB / 483.6 MB, free: 7.926 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003559/0.381, allocations: 253.9 kB / 483.9 MB, free: 7.676 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.381, allocations: 0 / 483.9 MB, free: 7.676 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004794/0.3858, allocations: 1.323 MB / 485.2 MB, free: 6.352 MB / 398.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.0103/0.3962, allocations: 3.055 MB / 488.2 MB, free: 3.266 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.398, allocations: 0.8505 MB / 489.1 MB, free: 2.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.398, allocations: 0.5625 kB / 489.1 MB, free: 2.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005363/0.3985, allocations: 295.2 kB / 489.4 MB, free: 2.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.3999, allocations: 267.5 kB / 489.6 MB, free: 1.836 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.4113, allocations: 5.515 MB / 495.1 MB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005736/0.4119, allocations: 0.8443 MB / 496 MB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008579/0.4128, allocations: 144.2 kB / 496.1 MB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/0.4132, allocations: 155.4 kB / 496.3 MB, free: 10.98 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4132, allocations: 0 / 496.3 MB, free: 10.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2752/0.6884, allocations: 50.34 MB / 0.5338 GB, free: 151.1 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/0.6885, allocations: 269.4 kB / 0.5341 GB, free: 150.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.104/4.793, allocations: 3.844 kB / 0.5341 GB, free: 150.8 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches