Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 106 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 55.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2638, allocations: 49.42 MB / 400.2 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07222/0.3361, allocations: 65.58 MB / 465.8 MB, free: 7.023 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006883/0.343, allocations: 5.445 MB / 471.3 MB, free: 1.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005773/0.3436, allocations: 11.94 kB / 471.3 MB, free: 1.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.3448, allocations: 353.9 kB / 471.6 MB, free: 1.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.3461, allocations: 0.505 MB / 472.1 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02069/0.3668, allocations: 7.437 MB / 479.6 MB, free: 9.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002219/0.369, allocations: 1.551 MB / 481.1 MB, free: 7.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004292/0.3695, allocations: 224.8 kB / 481.3 MB, free: 7.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.3708, allocations: 0.623 MB / 482 MB, free: 6.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.3718, allocations: 0.5644 MB / 482.5 MB, free: 6.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002549/0.3721, allocations: 87.94 kB / 482.6 MB, free: 6.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0197/0.3918, allocations: 10.2 MB / 492.8 MB, free: 11.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005841/0.3924, allocations: 319.2 kB / 493.1 MB, free: 11.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009026/0.3933, allocations: 434.4 kB / 493.5 MB, free: 11.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01416/0.4075, allocations: 5.945 MB / 499.5 MB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.4076, allocations: 0 / 499.5 MB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4076, allocations: 0 / 499.5 MB, free: 5.293 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.212e-05/0.4076, allocations: 0 / 499.5 MB, free: 5.293 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004801/0.4124, allocations: 1.556 MB / 0.4893 GB, free: 3.688 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4125, allocations: 19.88 kB / 0.4893 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002004/0.4127, allocations: 102.5 kB / 0.4894 GB, free: 3.559 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005035/0.4132, allocations: 91.17 kB / 0.4895 GB, free: 3.469 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007297/0.4139, allocations: 448.8 kB / 0.4899 GB, free: 2.992 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.414, allocations: 45.31 kB / 0.49 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.4141, allocations: 60 kB / 0.49 GB, free: 2.891 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.4159, allocations: 0.8107 MB / 0.4908 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.416, allocations: 7.906 kB / 0.4908 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.371e-05/0.4161, allocations: 28 kB / 0.4909 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.4161, allocations: 12 kB / 0.4909 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.418, allocations: 1.032 MB / 0.4919 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01789/0.4359, allocations: 12.77 MB / 0.5044 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.4378, allocations: 0.745 MB / 0.5051 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005937/0.4384, allocations: 403.9 kB / 0.5055 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01747/0.4559, allocations: 12.25 MB / 0.5174 GB, free: 2.289 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/0.456, allocations: 39.22 kB / 0.5175 GB, free: 2.242 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.735e-06/0.456, allocations: 384 / 0.5175 GB, free: 2.242 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.0101/0.4661, allocations: 3.384 MB / 0.5208 GB, free: 14.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.4662, allocations: 64.41 kB / 0.5208 GB, free: 14.69 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.4666, allocations: 348.5 kB / 0.5212 GB, free: 14.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.4667, allocations: 45.7 kB / 0.5212 GB, free: 14.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.4669, allocations: 236.7 kB / 0.5214 GB, free: 14.06 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.4671, allocations: 307.5 kB / 0.5217 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/0.4674, allocations: 162.5 kB / 0.5219 GB, free: 13.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4675, allocations: 362.8 kB / 0.5222 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005769/0.4681, allocations: 381.8 kB / 0.5226 GB, free: 12.85 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008999/0.469, allocations: 496.1 kB / 0.5231 GB, free: 12.33 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.4707, allocations: 0.9021 MB / 0.5239 GB, free: 11.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.4707, allocations: 8 kB / 0.524 GB, free: 11.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002487/0.4732, allocations: 1.113 MB / 0.525 GB, free: 10.26 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.4732, allocations: 8 kB / 0.525 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4732, allocations: 0 / 0.525 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007851/0.474, allocations: 175.5 kB / 0.5252 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007324/0.4747, allocations: 183.8 kB / 0.5254 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002697/0.4775, allocations: 4.12 MB / 0.5294 GB, free: 5.438 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004045/0.4779, allocations: 20 kB / 0.5294 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.459e-05/0.478, allocations: 43.98 kB / 0.5295 GB, free: 5.375 MB / 462.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0003414/0.4783, allocations: 221.6 kB / 0.5297 GB, free: 5.148 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003976/0.4787, allocations: 63.62 kB / 0.5297 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.481, allocations: 1.284 MB / 0.531 GB, free: 3.766 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.4811, allocations: 8 kB / 0.531 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4811, allocations: 0 / 0.531 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001704/0.4828, allocations: 1.32 MB / 0.5323 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.486, allocations: 1.964 MB / 0.5342 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.486, allocations: 0 / 0.5342 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/0.4867, allocations: 163.8 kB / 0.5344 GB, free: 120 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2053/0.692, allocations: 297.5 kB / 0.5347 GB, free: 138.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002129/0.6922, allocations: 28.86 kB / 0.5347 GB, free: 138.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007481/0.693, allocations: 1.286 MB / 0.5359 GB, free: 137.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.693, allocations: 3.156 kB / 0.5359 GB, free: 137.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/0.696, allocations: 1.423 MB / 0.5373 GB, free: 137.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.6961, allocations: 122.2 kB / 0.5374 GB, free: 137.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.6962, allocations: 22.84 kB / 0.5375 GB, free: 137.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005259/0.6968, allocations: 30.23 kB / 0.5375 GB, free: 137.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.6969, allocations: 56.02 kB / 0.5376 GB, free: 137.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.697, allocations: 45.83 kB / 0.5376 GB, free: 137.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003195/0.6973, allocations: 280.1 kB / 0.5379 GB, free: 137.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6973, allocations: 1.062 kB / 0.5379 GB, free: 137.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003779/0.7011, allocations: 1.406 MB / 0.5392 GB, free: 137 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007037/0.7082, allocations: 3.582 MB / 0.5427 GB, free: 135.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001838/0.71, allocations: 1.162 MB / 0.5439 GB, free: 135.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7101, allocations: 3.875 kB / 0.5439 GB, free: 135.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007188/0.7108, allocations: 498.9 kB / 0.5444 GB, free: 135 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.7124, allocations: 391.3 kB / 0.5447 GB, free: 135 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009179/0.7216, allocations: 7.031 MB / 0.5516 GB, free: 130.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.7219, allocations: 0.9166 MB / 0.5525 GB, free: 129.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006362/0.7226, allocations: 207.4 kB / 0.5527 GB, free: 129 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/0.7229, allocations: 227.4 kB / 0.5529 GB, free: 128.8 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.7229, allocations: 7.875 kB / 0.5529 GB, free: 128.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07854/0.8014, allocations: 57.16 MB / 0.6087 GB, free: 71.82 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.44, allocations: 4 kB / 0.6087 GB, free: 71.82 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches