Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008781/0.0008782, allocations: 173.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.138/1.138, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006937/0.0006937, allocations: 92.97 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.0002717, allocations: 12 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1741, allocations: 47.57 MB / 375.2 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.04393/0.218, allocations: 60.76 MB / 435.9 MB, free: 3.812 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005877/0.224, allocations: 5.122 MB / 441.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004653/0.2245, allocations: 4 kB / 441.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009172/0.2254, allocations: 278.5 kB / 441.3 MB, free: 14.4 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009982/0.2264, allocations: 497.5 kB / 441.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01448/0.2409, allocations: 5.587 MB / 447.4 MB, free: 8.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002092/0.243, allocations: 1.91 MB / 449.3 MB, free: 6.406 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003603/0.2434, allocations: 167.1 kB / 449.5 MB, free: 6.242 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009928/0.2444, allocations: 0.5255 MB / 450 MB, free: 5.715 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009027/0.2453, allocations: 0.5605 MB / 450.6 MB, free: 5.152 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.2455, allocations: 36 kB / 450.6 MB, free: 5.117 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01666/0.2621, allocations: 9.952 MB / 460.6 MB, free: 11.15 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004345/0.2626, allocations: 275.3 kB / 460.8 MB, free: 10.88 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000649/0.2633, allocations: 400.3 kB / 461.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006192/0.2695, allocations: 4.066 MB / 465.3 MB, free: 6.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2695, allocations: 0 / 465.3 MB, free: 6.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2695, allocations: 0 / 465.3 MB, free: 6.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.608e-05/0.2695, allocations: 4 kB / 465.3 MB, free: 6.406 MB / 346.7 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.002983/0.2725, allocations: 1.392 MB / 466.7 MB, free: 4.965 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2726, allocations: 15.97 kB / 466.7 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.2728, allocations: 106.5 kB / 466.8 MB, free: 4.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/0.2731, allocations: 87.17 kB / 466.9 MB, free: 4.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005866/0.2737, allocations: 432.9 kB / 467.3 MB, free: 4.281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.2738, allocations: 45.31 kB / 467.4 MB, free: 4.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.095e-05/0.2739, allocations: 60 kB / 467.4 MB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.2755, allocations: 0.8068 MB / 468.2 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.2755, allocations: 3.906 kB / 468.2 MB, free: 3.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.83e-05/0.2756, allocations: 32 kB / 468.3 MB, free: 3.328 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.2756, allocations: 12 kB / 468.3 MB, free: 3.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.2774, allocations: 1.032 MB / 469.3 MB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01528/0.2926, allocations: 12.83 MB / 482.1 MB, free: 3.316 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.2943, allocations: 0.7605 MB / 482.9 MB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005391/0.2948, allocations: 418.1 kB / 483.3 MB, free: 2.137 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01339/0.3082, allocations: 12.29 MB / 495.6 MB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.3083, allocations: 43.22 kB / 495.6 MB, free: 3.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 2.535e-06/0.3083, allocations: 0 / 495.6 MB, free: 3.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=88): time 0.00869/0.317, allocations: 3.434 MB / 499.1 MB, free: 15.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.317, allocations: 64.41 kB / 499.1 MB, free: 15.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.3174, allocations: 352.5 kB / 499.5 MB, free: 15.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.39e-05/0.3175, allocations: 45.7 kB / 499.5 MB, free: 15.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.3177, allocations: 240.6 kB / 499.7 MB, free: 15.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.3179, allocations: 299.6 kB / 0.4883 GB, free: 14.87 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.3179, allocations: 16 kB / 0.4883 GB, free: 14.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.318, allocations: 366.8 kB / 0.4887 GB, free: 14.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000531/0.3186, allocations: 365.8 kB / 0.489 GB, free: 14.13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008249/0.3194, allocations: 496.2 kB / 0.4895 GB, free: 13.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.321, allocations: 0.8903 MB / 0.4904 GB, free: 12.69 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.321, allocations: 4 kB / 0.4904 GB, free: 12.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002322/0.3233, allocations: 1.113 MB / 0.4915 GB, free: 11.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3233, allocations: 8.781 kB / 0.4915 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3234, allocations: 4 kB / 0.4915 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007175/0.3241, allocations: 163.5 kB / 0.4916 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006845/0.3248, allocations: 191.8 kB / 0.4918 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.3273, allocations: 3.908 MB / 0.4956 GB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004657/0.3278, allocations: 64 kB / 0.4957 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.91e-05/0.3279, allocations: 47.92 kB / 0.4957 GB, free: 6.852 MB / 394.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003031/0.3282, allocations: 230.4 kB / 0.496 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003188/0.3285, allocations: 63.42 kB / 0.496 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/0.3307, allocations: 1.273 MB / 0.4973 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.3307, allocations: 8 kB / 0.4973 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.3307, allocations: 3.938 kB / 0.4973 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001621/0.3323, allocations: 1.331 MB / 0.4986 GB, free: 3.773 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.3353, allocations: 1.967 MB / 0.5005 GB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3353, allocations: 3.938 kB / 0.5005 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006402/0.3359, allocations: 167.8 kB / 0.5007 GB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001632/0.3376, allocations: 297.1 kB / 0.5009 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.851e-05/0.3377, allocations: 35.98 kB / 0.501 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.13/0.4676, allocations: 1.286 MB / 0.5022 GB, free: 128.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4677, allocations: 2.156 kB / 0.5022 GB, free: 128.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/0.4699, allocations: 1.416 MB / 0.5036 GB, free: 128.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.4701, allocations: 141.1 kB / 0.5038 GB, free: 128.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.821e-05/0.4702, allocations: 19.19 kB / 0.5038 GB, free: 128.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/0.4707, allocations: 59.91 kB / 0.5038 GB, free: 128.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.4708, allocations: 52.8 kB / 0.5039 GB, free: 128.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/0.4709, allocations: 45.91 kB / 0.5039 GB, free: 128.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002264/0.4711, allocations: 278 kB / 0.5042 GB, free: 128.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4711, allocations: 1.438 kB / 0.5042 GB, free: 128.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003264/0.4744, allocations: 1.388 MB / 0.5055 GB, free: 128.3 MB / 394.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006653/0.4811, allocations: 3.59 MB / 0.5091 GB, free: 127 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.4828, allocations: 1.146 MB / 0.5102 GB, free: 126.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4828, allocations: 3.844 kB / 0.5102 GB, free: 126.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007365/0.4836, allocations: 487.9 kB / 0.5106 GB, free: 126.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.4852, allocations: 376.3 kB / 0.511 GB, free: 126.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006104/0.4914, allocations: 4.989 MB / 0.5159 GB, free: 123.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.4916, allocations: 0.9192 MB / 0.5168 GB, free: 122.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/0.492, allocations: 242.5 kB / 0.517 GB, free: 122.6 MB / 394.7 MB Notification: Performance of SimCode: time 4.2e-07/0.492, allocations: 0 / 0.517 GB, free: 122.6 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.965/7.457, allocations: 42.01 MB / 0.558 GB, free: 81.43 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches