Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.001216/0.00122, allocations: 114.4 kB / 17.73 MB, free: 5.355 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.00117/0.00117, allocations: 183.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 55.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09002/0.09164, allocations: 46.62 MB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2294/0.3211, allocations: 50.69 MB / 425.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00715/0.3283, allocations: 5.195 MB / 430.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000338/0.3287, allocations: 12.75 kB / 430.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008714/0.3296, allocations: 248.8 kB / 430.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000751/0.3304, allocations: 362.1 kB / 431.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02042/0.3508, allocations: 6.759 MB / 437.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.3524, allocations: 1.088 MB / 439 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.3527, allocations: 149.5 kB / 439.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006908/0.3596, allocations: 3.59 MB / 442.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005727/0.3602, allocations: 402.6 kB / 443.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.3603, allocations: 60 kB / 443.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01916/0.3795, allocations: 9.818 MB / 453 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003544/0.3799, allocations: 223.5 kB / 453.2 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004768/0.3804, allocations: 306.8 kB / 453.5 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01557/0.3959, allocations: 5.495 MB / 459 MB, free: 11.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.396, allocations: 0 / 459 MB, free: 11.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.396, allocations: 0 / 459 MB, free: 11.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.396, allocations: 0 / 459 MB, free: 11.44 MB / 382.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.003941/0.4, allocations: 1.387 MB / 460.4 MB, free: 10 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.4, allocations: 8.031 kB / 460.4 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.4002, allocations: 86.47 kB / 460.5 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003429/0.4005, allocations: 63.7 kB / 460.6 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005383/0.401, allocations: 378 kB / 460.9 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.4011, allocations: 29 kB / 461 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.641e-05/0.4012, allocations: 47.95 kB / 461 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.4025, allocations: 0.5881 MB / 461.6 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.4025, allocations: 0 / 461.6 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/0.4026, allocations: 16 kB / 461.6 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.4026, allocations: 12 kB / 461.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.404, allocations: 0.7456 MB / 462.4 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01728/0.4213, allocations: 11.96 MB / 474.3 MB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.4227, allocations: 0.543 MB / 474.9 MB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000392/0.4231, allocations: 250.1 kB / 475.1 MB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01555/0.4386, allocations: 11.88 MB / 487 MB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/0.4387, allocations: 46.94 kB / 487.1 MB, free: 10.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 2.445e-06/0.4387, allocations: 3.938 kB / 487.1 MB, free: 10.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.005968/0.4447, allocations: 2.134 MB / 489.2 MB, free: 8.676 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.4448, allocations: 55.97 kB / 489.2 MB, free: 8.609 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.4452, allocations: 319 kB / 489.6 MB, free: 8.285 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.633e-05/0.4453, allocations: 37.7 kB / 489.6 MB, free: 8.242 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.4454, allocations: 200.7 kB / 489.8 MB, free: 8.043 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.4456, allocations: 210.2 kB / 490 MB, free: 7.836 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.4458, allocations: 114.2 kB / 490.1 MB, free: 7.719 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.446, allocations: 346.8 kB / 490.4 MB, free: 7.371 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/0.4464, allocations: 241 kB / 490.7 MB, free: 7.133 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006623/0.4471, allocations: 335.4 kB / 491 MB, free: 6.777 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.4483, allocations: 0.6073 MB / 491.6 MB, free: 6.137 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4483, allocations: 0 / 491.6 MB, free: 6.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00185/0.4501, allocations: 0.7453 MB / 492.4 MB, free: 5.375 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4502, allocations: 8.219 kB / 492.4 MB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.4502, allocations: 8 kB / 492.4 MB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004908/0.4507, allocations: 102.5 kB / 492.5 MB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.4512, allocations: 127.8 kB / 492.6 MB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/0.4541, allocations: 3.477 MB / 496.1 MB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.4544, allocations: 16 kB / 496.1 MB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/0.4545, allocations: 31.98 kB / 496.1 MB, free: 1.297 MB / 414.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.000329/0.4548, allocations: 197.5 kB / 496.3 MB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003017/0.4551, allocations: 47.77 kB / 496.4 MB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.4567, allocations: 0.8153 MB / 497.2 MB, free: 204 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.4568, allocations: 4 kB / 497.2 MB, free: 200 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.4568, allocations: 0 / 497.2 MB, free: 200 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001203/0.458, allocations: 0.7596 MB / 497.9 MB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.4601, allocations: 1.309 MB / 499.3 MB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4601, allocations: 0 / 499.3 MB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.4606, allocations: 99.95 kB / 499.4 MB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008862/0.4615, allocations: 148.6 kB / 499.5 MB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.4615, allocations: 23.98 kB / 499.5 MB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004612/0.462, allocations: 0.6483 MB / 0.4884 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.462, allocations: 4.031 kB / 0.4884 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.4637, allocations: 0.9134 MB / 0.4893 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.4638, allocations: 112.9 kB / 0.4894 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.874e-05/0.4639, allocations: 12 kB / 0.4895 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.4643, allocations: 19.98 kB / 0.4895 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.4644, allocations: 32.39 kB / 0.4895 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.518e-05/0.4645, allocations: 31.97 kB / 0.4895 GB, free: 11.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002966/0.4648, allocations: 257.9 kB / 0.4898 GB, free: 11.63 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4648, allocations: 0 / 0.4898 GB, free: 11.63 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004143/0.4689, allocations: 1.325 MB / 0.4911 GB, free: 10.3 MB / 430.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.008624/0.4776, allocations: 3.068 MB / 0.4941 GB, free: 7.199 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.4793, allocations: 0.8079 MB / 0.4949 GB, free: 6.359 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/0.4794, allocations: 4 kB / 0.4949 GB, free: 6.355 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005628/0.4799, allocations: 291.2 kB / 0.4951 GB, free: 6.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.4814, allocations: 265.4 kB / 0.4954 GB, free: 5.812 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009773/0.4912, allocations: 5.32 MB / 0.5006 GB, free: 320 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.4918, allocations: 0.8326 MB / 0.5014 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005778/0.4923, allocations: 152.3 kB / 0.5016 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/0.4926, allocations: 155.4 kB / 0.5017 GB, free: 15.15 MB / 446.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4926, allocations: 0 / 0.5017 GB, free: 15.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2748/0.7674, allocations: 51.8 MB / 0.5523 GB, free: 158.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/14.97, allocations: 6.25 kB / 0.5523 GB, free: 158.7 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches