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.001156/0.001156, allocations: 105.9 kB / 16.5 MB, free: 6.688 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.001097/0.001098, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.152/1.152, allocations: 222.9 MB / 241.1 MB, free: 13.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009223/0.0009224, allocations: 48.8 kB / 300.1 MB, free: 5.996 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07125/0.07219, allocations: 49.45 MB / 349.5 MB, free: 4.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1807/0.2529, allocations: 67.12 MB / 416.6 MB, free: 244 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005869/0.2588, allocations: 5.558 MB / 422.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003749/0.2592, allocations: 7.844 kB / 422.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008474/0.2601, allocations: 302 kB / 422.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008536/0.261, allocations: 0.5058 MB / 423 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0141/0.2751, allocations: 6.254 MB / 429.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001927/0.277, allocations: 2.304 MB / 431.6 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.2773, allocations: 169.4 kB / 431.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008305/0.2781, allocations: 0.5332 MB / 432.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007587/0.2789, allocations: 0.5878 MB / 432.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.279, allocations: 48 kB / 432.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01406/0.2931, allocations: 10.37 MB / 443.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002988/0.2934, allocations: 279.2 kB / 443.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004557/0.2939, allocations: 394.3 kB / 443.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008029/0.3019, allocations: 6.034 MB / 449.9 MB, free: 376 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.3019, allocations: 0 / 449.9 MB, free: 376 kB / 350.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.3019, allocations: 0 / 449.9 MB, free: 376 kB / 350.1 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.3019, allocations: 0 / 449.9 MB, free: 376 kB / 350.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.003183/0.3051, allocations: 1.56 MB / 451.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3052, allocations: 8.031 kB / 451.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.3053, allocations: 114.4 kB / 451.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003868/0.3057, allocations: 83.23 kB / 451.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.3063, allocations: 444.8 kB / 452.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.3063, allocations: 45.31 kB / 452.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-05/0.3064, allocations: 63.91 kB / 452.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.308, allocations: 0.8068 MB / 453.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.308, allocations: 4 kB / 453.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.638e-05/0.3081, allocations: 28 kB / 453.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.3081, allocations: 12 kB / 453.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.3098, allocations: 1.032 MB / 454.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01547/0.3253, allocations: 12.76 MB / 466.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.3269, allocations: 0.738 MB / 467.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005383/0.3275, allocations: 411.3 kB / 468 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01347/0.3409, allocations: 12.25 MB / 480.3 MB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.341, allocations: 49.53 kB / 480.3 MB, free: 13.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 1.903e-06/0.341, allocations: 0 / 480.3 MB, free: 13.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.00868/0.3497, allocations: 3.379 MB / 483.7 MB, free: 9.867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.3497, allocations: 64.34 kB / 483.8 MB, free: 9.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.3501, allocations: 360.4 kB / 484.1 MB, free: 9.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.562e-05/0.3502, allocations: 41.7 kB / 484.2 MB, free: 9.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.3503, allocations: 240.7 kB / 484.4 MB, free: 9.145 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.3505, allocations: 307.6 kB / 484.7 MB, free: 8.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.3507, allocations: 158.5 kB / 484.9 MB, free: 8.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3509, allocations: 362.8 kB / 485.2 MB, free: 8.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005404/0.3514, allocations: 373.8 kB / 485.6 MB, free: 7.949 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008519/0.3523, allocations: 496.1 kB / 486.1 MB, free: 7.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.3539, allocations: 0.9021 MB / 487 MB, free: 6.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3539, allocations: 3.938 kB / 487 MB, free: 6.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002355/0.3563, allocations: 1.117 MB / 488.1 MB, free: 5.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3563, allocations: 10.75 kB / 488.1 MB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3563, allocations: 4.281 kB / 488.1 MB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007276/0.357, allocations: 163.3 kB / 488.3 MB, free: 5.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006893/0.3577, allocations: 191.8 kB / 488.4 MB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.3602, allocations: 3.912 MB / 492.4 MB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/0.3606, allocations: 67.91 kB / 492.4 MB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.262e-05/0.3607, allocations: 43.98 kB / 492.5 MB, free: 0.6484 MB / 398.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.0002701/0.361, allocations: 225.6 kB / 492.7 MB, free: 428 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003559/0.3614, allocations: 67.33 kB / 492.7 MB, free: 360 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.3636, allocations: 1.273 MB / 494 MB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.3636, allocations: 8 kB / 494 MB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3636, allocations: 4 kB / 494 MB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001637/0.3652, allocations: 1.32 MB / 495.4 MB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.368, allocations: 1.967 MB / 497.3 MB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3681, allocations: 8.062 kB / 497.3 MB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006513/0.3687, allocations: 163.7 kB / 497.5 MB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001691/0.3704, allocations: 289.2 kB / 497.8 MB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.915e-05/0.3705, allocations: 31.91 kB / 497.8 MB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006852/0.3712, allocations: 1.289 MB / 499.1 MB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3712, allocations: 0 / 499.1 MB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/0.3735, allocations: 1.425 MB / 0.4888 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.3736, allocations: 124.5 kB / 0.4889 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/0.3737, allocations: 24.05 kB / 0.4889 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005482/0.3743, allocations: 59.75 kB / 0.489 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/0.3744, allocations: 56.91 kB / 0.489 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-05/0.3745, allocations: 43.97 kB / 0.4891 GB, free: 7.949 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002714/0.3747, allocations: 287 kB / 0.4894 GB, free: 7.672 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3748, allocations: 0 / 0.4894 GB, free: 7.672 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002986/0.3777, allocations: 1.402 MB / 0.4907 GB, free: 6.27 MB / 414.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.007572/0.3853, allocations: 3.579 MB / 0.4942 GB, free: 2.656 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.3871, allocations: 1.148 MB / 0.4953 GB, free: 1.477 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3871, allocations: 0 / 0.4953 GB, free: 1.477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008098/0.3879, allocations: 0.492 MB / 0.4958 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.3896, allocations: 375.9 kB / 0.4962 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.4, allocations: 7.402 MB / 0.5034 GB, free: 9.047 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.4004, allocations: 0.905 MB / 0.5043 GB, free: 8.113 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006967/0.4011, allocations: 213.2 kB / 0.5045 GB, free: 7.902 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/0.4015, allocations: 223.4 kB / 0.5047 GB, free: 7.684 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4015, allocations: 0 / 0.5047 GB, free: 7.684 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.832/2.233, allocations: 55.77 MB / 0.5592 GB, free: 135.6 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/2.233, allocations: 268.4 kB / 0.5594 GB, free: 135.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.776/6.01, allocations: 3.469 kB / 0.5594 GB, free: 135.2 MB / 446.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