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.001361/0.001361, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001579/0.001579, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 55.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.243, allocations: 50.55 MB / 408.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05604/0.2991, allocations: 50.65 MB / 459.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00625/0.3054, allocations: 5.199 MB / 464.6 MB, free: 9.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003659/0.3058, allocations: 4 kB / 464.6 MB, free: 9.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008199/0.3067, allocations: 246.5 kB / 464.9 MB, free: 9.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000803/0.3075, allocations: 366 kB / 465.2 MB, free: 8.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0185/0.326, allocations: 7.124 MB / 472.3 MB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001559/0.3276, allocations: 1.087 MB / 473.4 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003206/0.3279, allocations: 153.5 kB / 473.6 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007214/0.3352, allocations: 3.593 MB / 477.2 MB, free: 12.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009296/0.3361, allocations: 398.7 kB / 477.6 MB, free: 12.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002066/0.3363, allocations: 56 kB / 477.6 MB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01967/0.356, allocations: 9.959 MB / 487.6 MB, free: 2.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004371/0.3565, allocations: 231.4 kB / 487.8 MB, free: 2.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006267/0.3571, allocations: 306.9 kB / 488.1 MB, free: 1.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.3698, allocations: 5.516 MB / 493.6 MB, free: 12.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.612e-05/0.3699, allocations: 4 kB / 493.6 MB, free: 12.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3699, allocations: 0 / 493.6 MB, free: 12.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.648e-05/0.3699, allocations: 0 / 493.6 MB, free: 12.42 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.003876/0.3738, allocations: 1.361 MB / 495 MB, free: 11.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.751e-05/0.3739, allocations: 8.031 kB / 495 MB, free: 11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.374, allocations: 86.53 kB / 495.1 MB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003743/0.3744, allocations: 59.52 kB / 495.1 MB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006589/0.3751, allocations: 370.8 kB / 495.5 MB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.3751, allocations: 33 kB / 495.5 MB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.797e-05/0.3752, allocations: 40 kB / 495.6 MB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.3766, allocations: 0.5843 MB / 496.2 MB, free: 9.781 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.3767, allocations: 4 kB / 496.2 MB, free: 9.777 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.301e-05/0.3767, allocations: 16 kB / 496.2 MB, free: 9.762 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.3767, allocations: 12 kB / 496.2 MB, free: 9.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.3781, allocations: 0.7456 MB / 496.9 MB, free: 9.008 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0165/0.3946, allocations: 11.98 MB / 0.497 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.396, allocations: 0.5235 MB / 0.4975 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/0.3964, allocations: 261.1 kB / 0.4977 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01493/0.4113, allocations: 11.89 MB / 0.5094 GB, free: 11.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.4114, allocations: 46.92 kB / 0.5094 GB, free: 11.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.855e-06/0.4114, allocations: 0 / 0.5094 GB, free: 11.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006104/0.4175, allocations: 2.12 MB / 0.5115 GB, free: 9.699 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.4176, allocations: 55.97 kB / 0.5115 GB, free: 9.629 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.418, allocations: 318.9 kB / 0.5118 GB, free: 9.312 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.034e-05/0.4181, allocations: 37.7 kB / 0.5119 GB, free: 9.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.4183, allocations: 204.3 kB / 0.5121 GB, free: 9.066 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.4185, allocations: 189.3 kB / 0.5122 GB, free: 8.879 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.4187, allocations: 118.1 kB / 0.5123 GB, free: 8.758 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4188, allocations: 346.8 kB / 0.5127 GB, free: 8.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/0.4192, allocations: 237 kB / 0.5129 GB, free: 8.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006483/0.4199, allocations: 347.3 kB / 0.5132 GB, free: 7.805 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.421, allocations: 0.5917 MB / 0.5138 GB, free: 7.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.421, allocations: 4 kB / 0.5138 GB, free: 7.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001855/0.4229, allocations: 0.7557 MB / 0.5146 GB, free: 6.406 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4229, allocations: 7.938 kB / 0.5146 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.4229, allocations: 4 kB / 0.5146 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004941/0.4234, allocations: 102.5 kB / 0.5147 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/0.4239, allocations: 123.8 kB / 0.5148 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00296/0.4269, allocations: 3.48 MB / 0.5182 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.4272, allocations: 12 kB / 0.5182 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.597e-05/0.4273, allocations: 31.98 kB / 0.5182 GB, free: 2.336 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.000279/0.4276, allocations: 197.5 kB / 0.5184 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/0.4279, allocations: 43.62 kB / 0.5185 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.4295, allocations: 0.8191 MB / 0.5193 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4295, allocations: 4 kB / 0.5193 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4295, allocations: 0 / 0.5193 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001132/0.4306, allocations: 0.7673 MB / 0.52 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.4329, allocations: 1.305 MB / 0.5213 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.4329, allocations: 0 / 0.5213 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/0.4333, allocations: 99.83 kB / 0.5214 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009001/0.4342, allocations: 156.5 kB / 0.5215 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.012e-05/0.4343, allocations: 19.98 kB / 0.5215 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004278/0.4347, allocations: 0.6368 MB / 0.5222 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4347, allocations: 4.031 kB / 0.5222 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.4364, allocations: 0.9131 MB / 0.5231 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.4366, allocations: 112.8 kB / 0.5232 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-05/0.4366, allocations: 12 kB / 0.5232 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.437, allocations: 24.06 kB / 0.5232 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.4371, allocations: 32.39 kB / 0.5232 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.528e-05/0.4372, allocations: 35.97 kB / 0.5233 GB, free: 12.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002692/0.4375, allocations: 249.9 kB / 0.5235 GB, free: 12.67 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4375, allocations: 0 / 0.5235 GB, free: 12.67 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003682/0.4412, allocations: 1.327 MB / 0.5248 GB, free: 11.34 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.007922/0.4491, allocations: 3.038 MB / 0.5278 GB, free: 8.273 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.4505, allocations: 0.8075 MB / 0.5286 GB, free: 7.438 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.4506, allocations: 0 / 0.5286 GB, free: 7.438 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005221/0.4511, allocations: 291.9 kB / 0.5288 GB, free: 7.152 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.4525, allocations: 280.5 kB / 0.5291 GB, free: 6.883 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008613/0.4611, allocations: 5.294 MB / 0.5343 GB, free: 1.414 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.4615, allocations: 0.8326 MB / 0.5351 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000499/0.462, allocations: 152.1 kB / 0.5352 GB, free: 412 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.4623, allocations: 163.3 kB / 0.5354 GB, free: 248 kB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4623, allocations: 0 / 0.5354 GB, free: 248 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2965/0.7588, allocations: 50.84 MB / 0.585 GB, free: 89.37 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.67, allocations: 3.984 kB / 0.585 GB, free: 89.36 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.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