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.001217/0.001216, allocations: 114.9 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 205.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2641, allocations: 50.55 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05382/0.318, allocations: 50.65 MB / 459.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006477/0.3245, allocations: 5.199 MB / 464.6 MB, free: 9.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003991/0.3249, allocations: 7.938 kB / 464.6 MB, free: 9.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008863/0.3259, allocations: 246.6 kB / 464.9 MB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000881/0.3268, allocations: 365.9 kB / 465.2 MB, free: 8.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01693/0.3437, allocations: 7.119 MB / 472.3 MB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.3452, allocations: 1.091 MB / 473.4 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.3454, allocations: 145.5 kB / 473.6 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006581/0.352, allocations: 3.597 MB / 477.2 MB, free: 12.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005222/0.3526, allocations: 398.7 kB / 477.6 MB, free: 12.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.329e-05/0.3527, allocations: 60 kB / 477.6 MB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01916/0.3718, allocations: 9.955 MB / 487.6 MB, free: 2.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003444/0.3722, allocations: 227.5 kB / 487.8 MB, free: 2.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005325/0.3728, allocations: 318.8 kB / 488.1 MB, free: 1.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.3834, allocations: 5.505 MB / 493.6 MB, free: 12.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3834, allocations: 0 / 493.6 MB, free: 12.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3834, allocations: 0 / 493.6 MB, free: 12.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.3835, allocations: 0 / 493.6 MB, free: 12.43 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.003393/0.3869, allocations: 1.369 MB / 495 MB, free: 11.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3869, allocations: 8.031 kB / 495 MB, free: 11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.387, allocations: 86.38 kB / 495.1 MB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003361/0.3874, allocations: 59.52 kB / 495.1 MB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.3879, allocations: 370 kB / 495.5 MB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.3879, allocations: 33 kB / 495.5 MB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.788e-05/0.388, allocations: 44 kB / 495.6 MB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.3893, allocations: 0.5842 MB / 496.2 MB, free: 9.781 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.3893, allocations: 0 / 496.2 MB, free: 9.781 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.332e-05/0.3894, allocations: 16 kB / 496.2 MB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3894, allocations: 12 kB / 496.2 MB, free: 9.754 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.3907, allocations: 0.7495 MB / 496.9 MB, free: 9.008 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01627/0.407, allocations: 11.98 MB / 0.497 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.4083, allocations: 0.5274 MB / 0.4975 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/0.4087, allocations: 261 kB / 0.4977 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01428/0.423, allocations: 11.89 MB / 0.5094 GB, free: 11.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.4231, allocations: 46.94 kB / 0.5094 GB, free: 11.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 1.994e-06/0.4231, allocations: 0 / 0.5094 GB, free: 11.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.005793/0.4289, allocations: 2.12 MB / 0.5115 GB, free: 9.699 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.4289, allocations: 55.97 kB / 0.5115 GB, free: 9.629 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.4293, allocations: 318.9 kB / 0.5118 GB, free: 9.312 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.15e-05/0.4294, allocations: 37.7 kB / 0.5119 GB, free: 9.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.4295, allocations: 204.3 kB / 0.5121 GB, free: 9.066 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.4296, allocations: 185.3 kB / 0.5122 GB, free: 8.883 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.4298, allocations: 118.1 kB / 0.5123 GB, free: 8.762 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.43, allocations: 350.8 kB / 0.5127 GB, free: 8.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.4303, allocations: 237 kB / 0.5129 GB, free: 8.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006166/0.4309, allocations: 339.4 kB / 0.5132 GB, free: 7.812 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.4321, allocations: 0.5995 MB / 0.5138 GB, free: 7.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.4321, allocations: 3.984 kB / 0.5138 GB, free: 7.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001745/0.4338, allocations: 0.7595 MB / 0.5146 GB, free: 6.402 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.4339, allocations: 11.94 kB / 0.5146 GB, free: 6.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.4339, allocations: 4.281 kB / 0.5146 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004915/0.4344, allocations: 106.5 kB / 0.5147 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/0.4349, allocations: 119.8 kB / 0.5148 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/0.4375, allocations: 3.464 MB / 0.5182 GB, free: 2.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.4378, allocations: 16.22 kB / 0.5182 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-05/0.4379, allocations: 39.92 kB / 0.5182 GB, free: 2.332 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.0002805/0.4382, allocations: 204.5 kB / 0.5184 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/0.4385, allocations: 39.62 kB / 0.5185 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.44, allocations: 0.819 MB / 0.5193 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.44, allocations: 4 kB / 0.5193 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.44, allocations: 0 / 0.5193 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001053/0.441, allocations: 0.7596 MB / 0.52 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.4431, allocations: 1.301 MB / 0.5213 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.4431, allocations: 3.984 kB / 0.5213 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.4435, allocations: 99.95 kB / 0.5214 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008966/0.4444, allocations: 152.5 kB / 0.5215 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/0.4445, allocations: 19.98 kB / 0.5215 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003783/0.4449, allocations: 0.6524 MB / 0.5222 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.4449, allocations: 0 / 0.5222 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.4465, allocations: 0.9131 MB / 0.5231 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.4466, allocations: 112.8 kB / 0.5232 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.546e-05/0.4467, allocations: 12 kB / 0.5232 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.4471, allocations: 19.98 kB / 0.5232 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.4472, allocations: 32.39 kB / 0.5232 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.578e-05/0.4473, allocations: 31.97 kB / 0.5233 GB, free: 12.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002702/0.4475, allocations: 253.9 kB / 0.5235 GB, free: 12.67 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4475, allocations: 0 / 0.5235 GB, free: 12.67 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003547/0.4511, 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.007538/0.4586, allocations: 3.036 MB / 0.5278 GB, free: 8.277 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.4601, allocations: 0.8079 MB / 0.5286 GB, free: 7.438 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4601, allocations: 0 / 0.5286 GB, free: 7.438 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005189/0.4606, allocations: 291.2 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.001304/0.4619, allocations: 284.5 kB / 0.5291 GB, free: 6.879 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009559/0.4715, allocations: 5.295 MB / 0.5343 GB, free: 1.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.4719, allocations: 0.8326 MB / 0.5351 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004925/0.4724, allocations: 144.2 kB / 0.5352 GB, free: 416 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.4727, allocations: 155.4 kB / 0.5354 GB, free: 260 kB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4727, allocations: 0 / 0.5354 GB, free: 260 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2664/0.7391, allocations: 50.84 MB / 0.585 GB, free: 89.27 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.37, allocations: 15 kB / 0.585 GB, free: 89.26 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