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.001509/0.001509, allocations: 101.6 kB / 17.72 MB, free: 5.359 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.001642/0.001642, allocations: 188.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.389/1.389, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.002189/0.002189, allocations: 51.92 kB / 328.1 MB, free: 3.773 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09804/0.1003, allocations: 46.62 MB / 374.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.3804/0.4807, allocations: 186.6 MB / 0.5481 GB, free: 4.66 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2405/0.7212, allocations: 4.772 MB / 0.5528 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004059/0.7217, allocations: 7.281 kB / 0.5528 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009312/0.7227, allocations: 249.1 kB / 0.553 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008339/0.7235, allocations: 376.8 kB / 0.5534 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007522/0.7311, allocations: 2.853 MB / 0.5562 GB, free: 1.484 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001789/0.7329, allocations: 1.171 MB / 0.5573 GB, free: 1.48 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002899/0.7332, allocations: 151.8 kB / 0.5575 GB, free: 1.445 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003616/0.7368, allocations: 1.453 MB / 0.5589 GB, free: 1.438 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007329/0.7375, allocations: 433.9 kB / 0.5593 GB, free: 1.438 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.7377, allocations: 63.03 kB / 0.5594 GB, free: 1.438 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007602/0.7453, allocations: 4.211 MB / 0.5635 GB, free: 1.414 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004408/0.7458, allocations: 230.8 kB / 0.5637 GB, free: 1.414 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006151/0.7464, allocations: 325.4 kB / 0.564 GB, free: 1.414 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00573/0.7521, allocations: 2.908 MB / 0.5668 GB, free: 1.273 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7522, allocations: 0 / 0.5668 GB, free: 1.273 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.7522, allocations: 1.781 kB / 0.5668 GB, free: 1.273 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.7522, allocations: 1.094 kB / 0.5668 GB, free: 1.273 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.00237/0.7546, allocations: 1.136 MB / 0.568 GB, free: 16.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.7546, allocations: 9.562 kB / 0.568 GB, free: 16.58 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.7547, allocations: 87.05 kB / 0.568 GB, free: 16.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.755, allocations: 59.55 kB / 0.5681 GB, free: 16.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.7555, allocations: 366.6 kB / 0.5685 GB, free: 16.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.7556, allocations: 34.81 kB / 0.5685 GB, free: 16.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/0.7557, allocations: 45.77 kB / 0.5685 GB, free: 16.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007694/0.7564, allocations: 0.5064 MB / 0.569 GB, free: 16.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.7565, allocations: 1.781 kB / 0.569 GB, free: 16.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.116e-05/0.7565, allocations: 18.56 kB / 0.569 GB, free: 16.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.7565, allocations: 12.78 kB / 0.5691 GB, free: 16.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008294/0.7574, allocations: 0.6001 MB / 0.5696 GB, free: 16.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002994/0.7604, allocations: 2.173 MB / 0.5718 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.7615, allocations: 0.5531 MB / 0.5723 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.7618, allocations: 262.2 kB / 0.5726 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005152/0.7623, allocations: 0.6962 MB / 0.5732 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.7624, allocations: 46.64 kB / 0.5733 GB, free: 14.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 2.164e-06/0.7624, allocations: 1 kB / 0.5733 GB, free: 14.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.01357/0.7759, allocations: 3.629 MB / 0.5768 GB, free: 13.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.776, allocations: 60.59 kB / 0.5769 GB, free: 13.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.7763, allocations: 300.2 kB / 0.5772 GB, free: 13.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.725e-05/0.7764, allocations: 43.14 kB / 0.5772 GB, free: 13.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/0.7765, allocations: 184 kB / 0.5774 GB, free: 13.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.7766, allocations: 228 kB / 0.5776 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.7768, allocations: 118.6 kB / 0.5777 GB, free: 13.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.777, allocations: 347.8 kB / 0.578 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006693/0.7777, allocations: 320.9 kB / 0.5784 GB, free: 12.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007417/0.7784, allocations: 390.6 kB / 0.5787 GB, free: 12.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.7798, allocations: 0.7052 MB / 0.5794 GB, free: 12.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7798, allocations: 0.9062 kB / 0.5794 GB, free: 12.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002036/0.7818, allocations: 0.9615 MB / 0.5804 GB, free: 12.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.7819, allocations: 5.922 kB / 0.5804 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.7819, allocations: 4.281 kB / 0.5804 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/0.7833, allocations: 331.3 kB / 0.5807 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005248/0.7839, allocations: 120.8 kB / 0.5808 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00364/0.7875, allocations: 3.706 MB / 0.5844 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006198/0.7882, allocations: 36.83 kB / 0.5844 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.617e-05/0.7883, allocations: 29.14 kB / 0.5845 GB, free: 9.379 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.0003299/0.7886, allocations: 197.8 kB / 0.5847 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.7887, allocations: 42.69 kB / 0.5847 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.7911, allocations: 1.016 MB / 0.5857 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.7911, allocations: 11.62 kB / 0.5857 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.7911, allocations: 4.391 kB / 0.5857 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001934/0.793, allocations: 1.076 MB / 0.5868 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00296/0.796, allocations: 1.693 MB / 0.5884 GB, free: 8.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.7961, allocations: 3.281 kB / 0.5884 GB, free: 8.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.7966, allocations: 112.6 kB / 0.5885 GB, free: 8.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001659/0.7983, allocations: 367.8 kB / 0.5889 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.719e-05/0.7983, allocations: 23.02 kB / 0.5889 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.7997, allocations: 0.8713 MB / 0.5898 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7997, allocations: 0.9062 kB / 0.5898 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002666/0.8024, allocations: 1.341 MB / 0.5911 GB, free: 7.719 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/0.8027, allocations: 120.1 kB / 0.5912 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.8028, allocations: 21.14 kB / 0.5912 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000747/0.8036, allocations: 44.09 kB / 0.5912 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.089e-05/0.8037, allocations: 41.14 kB / 0.5913 GB, free: 7.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.186e-05/0.8038, allocations: 35.05 kB / 0.5913 GB, free: 7.598 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002735/0.8041, allocations: 223 kB / 0.5915 GB, free: 7.516 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.062e-06/0.8041, allocations: 0.9375 kB / 0.5915 GB, free: 7.516 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001933/0.806, allocations: 451.7 kB / 0.592 GB, free: 7.445 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.004823/0.8108, allocations: 2.352 MB / 0.5943 GB, free: 6.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.813, allocations: 1.012 MB / 0.5952 GB, free: 6.418 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.813, allocations: 1.281 kB / 0.5952 GB, free: 6.418 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009351/0.8139, allocations: 429.1 kB / 0.5956 GB, free: 6.406 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.8156, allocations: 305.4 kB / 0.5959 GB, free: 6.379 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.8262, allocations: 5.71 MB / 0.6015 GB, free: 4.559 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.8267, allocations: 0.8556 MB / 0.6024 GB, free: 3.848 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000612/0.8274, allocations: 134.4 kB / 0.6025 GB, free: 3.812 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002648/0.8277, allocations: 161.8 kB / 0.6026 GB, free: 3.805 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.8277, allocations: 0 / 0.6026 GB, free: 3.805 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06278/0.8904, allocations: 27.37 MB / 0.6294 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.45, allocations: 7.922 kB / 0.6294 GB, free: 12.89 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