Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",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.001144/0.001144, allocations: 101.5 kB / 17.72 MB, free: 5.371 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.0012/0.0012, allocations: 192 kB / 18.66 MB, free: 4.445 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.27/1.27, 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.001361/0.001361, allocations: 55.92 kB / 328.1 MB, free: 3.758 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08032/0.08169, allocations: 46.62 MB / 374.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.3454/0.4271, allocations: 186.6 MB / 0.5481 GB, free: 4.535 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2419/0.6691, allocations: 4.777 MB / 0.5528 GB, free: 1.5 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003873/0.6695, allocations: 8.031 kB / 0.5528 GB, free: 1.5 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007702/0.6703, allocations: 247.7 kB / 0.553 GB, free: 1.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007395/0.6711, allocations: 374.7 kB / 0.5534 GB, free: 1.5 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008184/0.6793, allocations: 2.865 MB / 0.5562 GB, free: 1.473 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002005/0.6813, allocations: 1.161 MB / 0.5573 GB, free: 1.469 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003438/0.6817, allocations: 151.9 kB / 0.5575 GB, free: 1.438 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003908/0.6856, allocations: 1.459 MB / 0.5589 GB, free: 1.43 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007023/0.6863, allocations: 423 kB / 0.5593 GB, free: 1.43 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.6865, allocations: 64.38 kB / 0.5594 GB, free: 1.43 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007965/0.6944, allocations: 4.214 MB / 0.5635 GB, free: 1.398 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004759/0.695, allocations: 236.1 kB / 0.5637 GB, free: 1.398 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006167/0.6956, allocations: 318.5 kB / 0.564 GB, free: 1.398 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00655/0.7021, allocations: 2.909 MB / 0.5668 GB, free: 1.258 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.7022, allocations: 0.9062 kB / 0.5668 GB, free: 1.258 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.7022, allocations: 0 / 0.5668 GB, free: 1.258 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.7022, allocations: 1.906 kB / 0.5668 GB, free: 1.258 MB / 478.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.003173/0.7054, allocations: 1.139 MB / 0.568 GB, free: 16.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.7055, allocations: 9.75 kB / 0.568 GB, free: 16.57 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.7056, allocations: 84.06 kB / 0.568 GB, free: 16.53 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004046/0.706, allocations: 61.06 kB / 0.5681 GB, free: 16.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.7065, allocations: 363.6 kB / 0.5684 GB, free: 16.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.7065, allocations: 35 kB / 0.5685 GB, free: 16.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-05/0.7066, allocations: 42.06 kB / 0.5685 GB, free: 16.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008009/0.7074, allocations: 0.505 MB / 0.569 GB, free: 16.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.7075, allocations: 7.172 kB / 0.569 GB, free: 16.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.649e-05/0.7075, allocations: 19.47 kB / 0.569 GB, free: 16.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.7075, allocations: 15.73 kB / 0.5691 GB, free: 16.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000862/0.7084, allocations: 0.5958 MB / 0.5696 GB, free: 16.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00306/0.7115, allocations: 2.175 MB / 0.5718 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009794/0.7125, allocations: 0.553 MB / 0.5723 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.7128, allocations: 262.3 kB / 0.5726 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004871/0.7133, allocations: 0.6951 MB / 0.5732 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.7133, allocations: 36.75 kB / 0.5733 GB, free: 14.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 2.434e-06/0.7133, allocations: 1.031 kB / 0.5733 GB, free: 14.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.01327/0.7266, allocations: 3.639 MB / 0.5768 GB, free: 13.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.7267, allocations: 60.06 kB / 0.5769 GB, free: 13.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.727, allocations: 303.3 kB / 0.5772 GB, free: 13.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.02e-05/0.7271, allocations: 39.17 kB / 0.5772 GB, free: 13.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.7272, allocations: 188.2 kB / 0.5774 GB, free: 13.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.7273, allocations: 223.4 kB / 0.5776 GB, free: 13.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.7275, allocations: 120 kB / 0.5777 GB, free: 13.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.7276, allocations: 350.8 kB / 0.578 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006088/0.7282, allocations: 315.3 kB / 0.5783 GB, free: 12.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/0.7289, allocations: 384.3 kB / 0.5787 GB, free: 12.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.7301, allocations: 0.717 MB / 0.5794 GB, free: 12.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.7301, allocations: 0.9062 kB / 0.5794 GB, free: 12.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001919/0.7321, allocations: 0.9584 MB / 0.5804 GB, free: 12.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.7321, allocations: 6.344 kB / 0.5804 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.7321, allocations: 2.406 kB / 0.5804 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001438/0.7336, allocations: 335.2 kB / 0.5807 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005463/0.7341, allocations: 120 kB / 0.5808 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003207/0.7373, allocations: 3.7 MB / 0.5844 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006372/0.738, allocations: 43.2 kB / 0.5844 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/0.7381, allocations: 28.98 kB / 0.5845 GB, free: 9.367 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003038/0.7384, allocations: 198.1 kB / 0.5847 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.7385, allocations: 41.22 kB / 0.5847 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/0.7407, allocations: 1.022 MB / 0.5857 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.7408, allocations: 10.28 kB / 0.5857 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.7408, allocations: 4.531 kB / 0.5857 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001895/0.7427, allocations: 1.074 MB / 0.5868 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.7455, allocations: 1.69 MB / 0.5884 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.7455, allocations: 0 / 0.5884 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/0.746, allocations: 115.5 kB / 0.5885 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/0.7477, allocations: 372.9 kB / 0.5889 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.419e-05/0.7478, allocations: 21.09 kB / 0.5889 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.7491, allocations: 0.8699 MB / 0.5897 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7491, allocations: 3.844 kB / 0.5898 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.7516, allocations: 1.344 MB / 0.5911 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.7518, allocations: 120.5 kB / 0.5912 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.684e-05/0.7519, allocations: 15.62 kB / 0.5912 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006337/0.7525, allocations: 46.2 kB / 0.5912 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.258e-05/0.7526, allocations: 47.06 kB / 0.5913 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/0.7527, allocations: 29.78 kB / 0.5913 GB, free: 7.586 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002085/0.7529, allocations: 226.8 kB / 0.5915 GB, free: 7.504 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7529, allocations: 0 / 0.5915 GB, free: 7.504 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001583/0.7545, allocations: 453.1 kB / 0.592 GB, free: 7.434 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004369/0.7589, allocations: 2.357 MB / 0.5943 GB, free: 6.645 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002132/0.761, allocations: 1 MB / 0.5952 GB, free: 6.402 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.7611, allocations: 2.375 kB / 0.5952 GB, free: 6.402 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009737/0.762, allocations: 423.8 kB / 0.5956 GB, free: 6.395 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.7635, allocations: 299.6 kB / 0.5959 GB, free: 6.371 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.7738, allocations: 5.721 MB / 0.6015 GB, free: 4.539 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.7742, allocations: 0.8487 MB / 0.6023 GB, free: 3.832 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005921/0.7748, allocations: 136.1 kB / 0.6025 GB, free: 3.797 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.7751, allocations: 165.8 kB / 0.6026 GB, free: 3.789 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.7751, allocations: 0 / 0.6026 GB, free: 3.789 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05777/0.8329, allocations: 27.37 MB / 0.6294 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.37, allocations: 8 kB / 0.6294 GB, free: 12.82 MB / 0.5137 GB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches