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.001299/0.001299, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 67.88 kB / 358.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2253, allocations: 50.55 MB / 408.8 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05345/0.2788, allocations: 50.65 MB / 459.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006144/0.2849, allocations: 5.195 MB / 464.7 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.2852, allocations: 4 kB / 464.7 MB, free: 9.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007431/0.2859, allocations: 258.5 kB / 464.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006092/0.2866, allocations: 362 kB / 465.3 MB, free: 8.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01673/0.3033, allocations: 7.115 MB / 472.4 MB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001299/0.3046, allocations: 1.087 MB / 473.5 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.3049, allocations: 149.5 kB / 473.6 MB, free: 428 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006217/0.3111, allocations: 3.593 MB / 477.2 MB, free: 12.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005232/0.3117, allocations: 406.7 kB / 477.6 MB, free: 12.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.373e-05/0.3118, allocations: 56 kB / 477.7 MB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01672/0.3285, allocations: 9.963 MB / 487.7 MB, free: 2.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003073/0.3288, allocations: 231.4 kB / 487.9 MB, free: 2.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004104/0.3293, allocations: 306.9 kB / 488.2 MB, free: 1.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.3399, allocations: 5.523 MB / 493.7 MB, free: 12.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3399, allocations: 0 / 493.7 MB, free: 12.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.34, allocations: 0 / 493.7 MB, free: 12.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.34, allocations: 0 / 493.7 MB, free: 12.32 MB / 414.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.002988/0.343, allocations: 1.406 MB / 495.1 MB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.343, allocations: 8.031 kB / 495.1 MB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.3431, allocations: 86.52 kB / 495.2 MB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003159/0.3434, allocations: 63.7 kB / 495.3 MB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/0.3439, allocations: 367.1 kB / 495.6 MB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.344, allocations: 37 kB / 495.7 MB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-05/0.3441, allocations: 44 kB / 495.7 MB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.3453, allocations: 0.5842 MB / 496.3 MB, free: 9.617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.3453, allocations: 0 / 496.3 MB, free: 9.617 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.477e-05/0.3454, allocations: 24 kB / 496.3 MB, free: 9.594 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.3454, allocations: 8 kB / 496.3 MB, free: 9.586 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.3468, allocations: 0.7417 MB / 497.1 MB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/0.3629, allocations: 11.96 MB / 0.4971 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.3642, allocations: 0.5312 MB / 0.4976 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003868/0.3646, allocations: 261.6 kB / 0.4979 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01481/0.3794, allocations: 11.89 MB / 0.5095 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.3795, allocations: 39 kB / 0.5095 GB, free: 11.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.314e-06/0.3795, allocations: 0 / 0.5095 GB, free: 11.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.005615/0.3851, allocations: 2.121 MB / 0.5116 GB, free: 9.555 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.3852, allocations: 55.97 kB / 0.5116 GB, free: 9.484 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003616/0.3856, allocations: 322.9 kB / 0.5119 GB, free: 9.164 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.3856, allocations: 37.7 kB / 0.512 GB, free: 9.121 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.3858, allocations: 208.7 kB / 0.5122 GB, free: 8.914 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.3859, allocations: 202.3 kB / 0.5124 GB, free: 8.715 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.3861, allocations: 114.2 kB / 0.5125 GB, free: 8.598 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3863, allocations: 346.8 kB / 0.5128 GB, free: 8.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.3867, allocations: 241 kB / 0.513 GB, free: 8.016 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/0.3873, allocations: 343.3 kB / 0.5134 GB, free: 7.645 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.3885, allocations: 0.5995 MB / 0.514 GB, free: 7.012 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3885, allocations: 0 / 0.514 GB, free: 7.012 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001777/0.3903, allocations: 0.7521 MB / 0.5147 GB, free: 6.246 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3903, allocations: 11.94 kB / 0.5147 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3903, allocations: 3.984 kB / 0.5147 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004539/0.3908, allocations: 102.5 kB / 0.5148 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/0.3913, allocations: 127.8 kB / 0.5149 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/0.3939, allocations: 3.468 MB / 0.5183 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.3942, allocations: 16 kB / 0.5183 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.798e-05/0.3943, allocations: 35.92 kB / 0.5184 GB, free: 2.172 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.0002484/0.3945, allocations: 189.7 kB / 0.5185 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/0.3948, allocations: 51.7 kB / 0.5186 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.3964, allocations: 0.8114 MB / 0.5194 GB, free: 1.078 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.3964, allocations: 7.984 kB / 0.5194 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.3964, allocations: 0 / 0.5194 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001138/0.3975, allocations: 0.7634 MB / 0.5201 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.3996, allocations: 1.305 MB / 0.5214 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3996, allocations: 0 / 0.5214 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.4, allocations: 99.83 kB / 0.5215 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008788/0.4009, allocations: 152.7 kB / 0.5216 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.401, allocations: 19.98 kB / 0.5217 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004423/0.4014, allocations: 0.6485 MB / 0.5223 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4014, allocations: 0 / 0.5223 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.4031, allocations: 0.9134 MB / 0.5232 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.4032, allocations: 112.9 kB / 0.5233 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.4033, allocations: 12 kB / 0.5233 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.4037, allocations: 27.97 kB / 0.5233 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/0.4037, allocations: 32.39 kB / 0.5234 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.263e-05/0.4038, allocations: 27.98 kB / 0.5234 GB, free: 12.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002807/0.4041, allocations: 261.9 kB / 0.5236 GB, free: 12.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4041, allocations: 4 kB / 0.5236 GB, free: 12.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003285/0.4074, allocations: 1.329 MB / 0.5249 GB, free: 11.17 MB / 462.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.007009/0.4144, allocations: 3.057 MB / 0.5279 GB, free: 8.074 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.4159, allocations: 0.8114 MB / 0.5287 GB, free: 7.234 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4159, allocations: 0 / 0.5287 GB, free: 7.234 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005425/0.4165, allocations: 287.2 kB / 0.529 GB, free: 6.953 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.4178, allocations: 293.2 kB / 0.5293 GB, free: 6.672 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008209/0.426, allocations: 5.318 MB / 0.5345 GB, free: 1.184 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.4265, allocations: 0.8404 MB / 0.5353 GB, free: 324 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000485/0.427, allocations: 140.2 kB / 0.5354 GB, free: 180 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.4273, allocations: 159.4 kB / 0.5356 GB, free: 20 kB / 462.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4273, allocations: 0 / 0.5356 GB, free: 20 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2335/0.6608, allocations: 50.61 MB / 0.585 GB, free: 89.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.43, allocations: 6.938 kB / 0.585 GB, free: 89.2 MB / 462.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.1.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