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.001514/0.001514, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.001311, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.72 kB / 307 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08442/0.08565, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.189/0.2746, allocations: 50.65 MB / 408.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005457/0.2801, allocations: 5.205 MB / 413.4 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.2803, allocations: 8.562 kB / 413.4 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000656/0.281, allocations: 244.3 kB / 413.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005339/0.2816, allocations: 371.1 kB / 414 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.017/0.2986, allocations: 7.107 MB / 421.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001462/0.3001, allocations: 1.101 MB / 422.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.3003, allocations: 154.6 kB / 422.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006176/0.3065, allocations: 3.59 MB / 426 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005306/0.3071, allocations: 398.6 kB / 426.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.3072, allocations: 60 kB / 426.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01627/0.3235, allocations: 9.791 MB / 436.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003314/0.3238, allocations: 223.4 kB / 436.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004999/0.3243, allocations: 306.9 kB / 436.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.3358, allocations: 5.509 MB / 442.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3359, allocations: 0 / 442.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.538e-06/0.3359, allocations: 4 kB / 442.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.449e-05/0.3359, allocations: 3.938 kB / 442.3 MB, free: 6.664 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.003104/0.339, allocations: 1.362 MB / 443.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3391, allocations: 8.031 kB / 443.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.3392, allocations: 90.45 kB / 443.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003446/0.3395, allocations: 59.42 kB / 443.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.34, allocations: 365.9 kB / 444.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.34, allocations: 37 kB / 444.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.915e-05/0.3401, allocations: 46.36 kB / 444.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.3413, allocations: 0.5843 MB / 444.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.3414, allocations: 0 / 444.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-05/0.3414, allocations: 16 kB / 444.8 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.3414, allocations: 12 kB / 444.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.3427, allocations: 0.7456 MB / 445.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01483/0.3576, allocations: 11.98 MB / 457.5 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.3588, allocations: 0.5274 MB / 458.1 MB, free: 4.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/0.3591, allocations: 261.4 kB / 458.3 MB, free: 4.406 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01343/0.3726, allocations: 11.89 MB / 470.2 MB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.3726, allocations: 39 kB / 470.3 MB, free: 6.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.224e-06/0.3726, allocations: 0 / 470.3 MB, free: 6.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005449/0.3781, allocations: 2.115 MB / 472.4 MB, free: 3.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.3781, allocations: 63.97 kB / 472.4 MB, free: 3.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.3785, allocations: 318.9 kB / 472.8 MB, free: 3.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.5e-05/0.3785, allocations: 37.7 kB / 472.8 MB, free: 3.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3787, allocations: 200.3 kB / 473 MB, free: 3.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.3788, allocations: 185.3 kB / 473.2 MB, free: 3.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.379, allocations: 118.1 kB / 473.3 MB, free: 3.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3791, allocations: 350.8 kB / 473.6 MB, free: 2.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.3795, allocations: 240.9 kB / 473.9 MB, free: 2.426 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/0.3801, allocations: 343.4 kB / 474.2 MB, free: 2.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.3812, allocations: 0.5955 MB / 474.8 MB, free: 1.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3812, allocations: 4 kB / 474.8 MB, free: 1.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001681/0.3829, allocations: 0.7595 MB / 475.6 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3829, allocations: 4 kB / 475.6 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3829, allocations: 7.938 kB / 475.6 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004416/0.3833, allocations: 106.7 kB / 475.7 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.3838, allocations: 123.9 kB / 475.8 MB, free: 408 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/0.386, allocations: 3.48 MB / 479.3 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.3863, allocations: 12 kB / 479.3 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.719e-05/0.3864, allocations: 31.98 kB / 479.3 MB, free: 12.57 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.0002271/0.3866, allocations: 194.7 kB / 479.5 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.3869, allocations: 47.53 kB / 479.5 MB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.3884, allocations: 0.8114 MB / 480.4 MB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3884, allocations: 8 kB / 480.4 MB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.3884, allocations: 0 / 480.4 MB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001114/0.3895, allocations: 0.7635 MB / 481.1 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.3915, allocations: 1.298 MB / 482.4 MB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3915, allocations: 7.922 kB / 482.4 MB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/0.3919, allocations: 95.89 kB / 482.5 MB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008797/0.3928, allocations: 148.7 kB / 482.7 MB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/0.3929, allocations: 23.92 kB / 482.7 MB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003693/0.3932, allocations: 0.6368 MB / 483.3 MB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3933, allocations: 7.969 kB / 483.3 MB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.3948, allocations: 0.9081 MB / 484.3 MB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.395, allocations: 116.7 kB / 484.4 MB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.552e-05/0.395, allocations: 16.12 kB / 484.4 MB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.3954, allocations: 27.97 kB / 484.4 MB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.3955, allocations: 32.39 kB / 484.4 MB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/0.3956, allocations: 35.97 kB / 484.5 MB, free: 7.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002567/0.3958, allocations: 249.9 kB / 484.7 MB, free: 6.918 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3959, allocations: 0 / 484.7 MB, free: 6.918 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003366/0.3992, allocations: 1.323 MB / 486 MB, free: 5.594 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.00705/0.4063, allocations: 3.039 MB / 489.1 MB, free: 2.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.4078, allocations: 0.8586 MB / 489.9 MB, free: 1.637 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4079, allocations: 64 / 489.9 MB, free: 1.637 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005125/0.4084, allocations: 295.2 kB / 490.2 MB, free: 1.344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.4098, allocations: 279.6 kB / 490.5 MB, free: 1.074 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008241/0.418, allocations: 5.345 MB / 495.8 MB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.4184, allocations: 0.8326 MB / 496.7 MB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005263/0.419, allocations: 152.1 kB / 496.8 MB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.4192, allocations: 155.4 kB / 497 MB, free: 10.39 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4192, allocations: 3.938 kB / 497 MB, free: 10.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2167/0.636, allocations: 50.51 MB / 0.5347 GB, free: 151.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/15.67, allocations: 12.89 kB / 0.5347 GB, free: 151.4 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