Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_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.001023/0.001023, allocations: 98.88 kB / 17.58 MB, free: 5.418 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.001244/0.001244, allocations: 191.9 kB / 18.51 MB, free: 4.5 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.175/1.175, allocations: 205.1 MB / 224.4 MB, free: 12.29 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.001203/0.001203, allocations: 56.14 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07126/0.07247, allocations: 46.62 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1936/0.2661, allocations: 65.72 MB / 393.1 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005217/0.2713, allocations: 5.464 MB / 398.6 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.2716, allocations: 9.25 kB / 398.6 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008026/0.2724, allocations: 355.2 kB / 398.9 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006655/0.2731, allocations: 0.5066 MB / 399.4 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01327/0.2863, allocations: 7.08 MB / 406.5 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001553/0.2879, allocations: 1.545 MB / 408 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/0.2882, allocations: 217.1 kB / 408.3 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006475/0.2888, allocations: 0.6178 MB / 408.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000513/0.2894, allocations: 0.567 MB / 409.4 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.2895, allocations: 83.44 kB / 409.5 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01396/0.3034, allocations: 9.934 MB / 419.5 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002919/0.3038, allocations: 319.5 kB / 419.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004868/0.3043, allocations: 439 kB / 420.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008557/0.3128, allocations: 5.915 MB / 426.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3129, allocations: 0 / 426.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3129, allocations: 0 / 426.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.3129, allocations: 0 / 426.1 MB, free: 14.53 MB / 334.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.002759/0.3156, allocations: 1.551 MB / 427.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.3157, allocations: 8.031 kB / 427.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/0.3158, allocations: 110.5 kB / 427.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003904/0.3162, allocations: 83.8 kB / 427.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.3167, allocations: 440.6 kB / 428.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.3168, allocations: 45.31 kB / 428.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.419e-05/0.3168, allocations: 67.98 kB / 428.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.3183, allocations: 0.799 MB / 429.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.3184, allocations: 7.906 kB / 429.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/0.3185, allocations: 28 kB / 429.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.3185, allocations: 16 kB / 429.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.3201, allocations: 1.028 MB / 430.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.015/0.3351, allocations: 12.81 MB / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.3368, allocations: 0.7372 MB / 443.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005301/0.3373, allocations: 420.7 kB / 444.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01336/0.3507, allocations: 12.24 MB / 456.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.3508, allocations: 43.22 kB / 456.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.816e-06/0.3508, allocations: 0 / 456.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=88): time 0.008962/0.3598, allocations: 3.39 MB / 459.9 MB, free: 8.082 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.3598, allocations: 60.41 kB / 460 MB, free: 8.008 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.3602, allocations: 356.5 kB / 460.3 MB, free: 7.656 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.781e-05/0.3602, allocations: 49.7 kB / 460.4 MB, free: 7.602 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.3604, allocations: 240.6 kB / 460.6 MB, free: 7.359 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.3606, allocations: 300.8 kB / 460.9 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.3608, allocations: 170.5 kB / 461.1 MB, free: 6.898 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3609, allocations: 362.8 kB / 461.4 MB, free: 6.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005146/0.3615, allocations: 365.8 kB / 461.8 MB, free: 6.176 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008207/0.3623, allocations: 496.2 kB / 462.3 MB, free: 5.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.3638, allocations: 0.9021 MB / 463.2 MB, free: 4.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3639, allocations: 4 kB / 463.2 MB, free: 4.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002351/0.3662, allocations: 1.117 MB / 464.3 MB, free: 3.582 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3662, allocations: 12.03 kB / 464.3 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3663, allocations: 0 / 464.3 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007363/0.367, allocations: 167.3 kB / 464.5 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006808/0.3677, allocations: 187.8 kB / 464.6 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.3703, allocations: 4.121 MB / 468.8 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.3707, allocations: 20 kB / 468.8 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.359e-05/0.3708, allocations: 39.98 kB / 468.8 MB, free: 14.7 MB / 382.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.000284/0.3711, allocations: 229.6 kB / 469 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003623/0.3714, allocations: 63.34 kB / 469.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.3736, allocations: 1.281 MB / 470.4 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.3736, allocations: 8 kB / 470.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3736, allocations: 8 kB / 470.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001618/0.3752, allocations: 1.324 MB / 471.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.3781, allocations: 1.969 MB / 473.7 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.3781, allocations: 4.062 kB / 473.7 MB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006438/0.3787, allocations: 163.8 kB / 473.9 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001655/0.3804, allocations: 293.1 kB / 474.1 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.315e-05/0.3805, allocations: 31.98 kB / 474.2 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006617/0.3812, allocations: 1.285 MB / 475.5 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3812, allocations: 3.938 kB / 475.5 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.3834, allocations: 1.421 MB / 476.9 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.3836, allocations: 128.5 kB / 477 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.484e-05/0.3837, allocations: 20 kB / 477 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004834/0.3842, allocations: 31.97 kB / 477.1 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.355e-05/0.3843, allocations: 60.86 kB / 477.1 MB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-05/0.3843, allocations: 47.97 kB / 477.2 MB, free: 6.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002676/0.3846, allocations: 275 kB / 477.4 MB, free: 5.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3846, allocations: 0 / 477.4 MB, free: 5.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003356/0.388, allocations: 1.394 MB / 478.8 MB, free: 4.371 MB / 382.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.007979/0.396, allocations: 3.602 MB / 482.4 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002505/0.3985, allocations: 1.265 MB / 483.7 MB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3985, allocations: 0 / 483.7 MB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008351/0.3994, allocations: 491.2 kB / 484.2 MB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.4012, allocations: 390.3 kB / 484.6 MB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.4123, allocations: 7.169 MB / 491.7 MB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.4128, allocations: 0.9089 MB / 492.6 MB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007336/0.4135, allocations: 213.1 kB / 492.8 MB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.4138, allocations: 227.4 kB / 493.1 MB, free: 5.992 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4139, allocations: 0 / 493.1 MB, free: 5.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.58/3.994, allocations: 58.05 MB / 0.5382 GB, free: 170.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.99/20.99, allocations: 7.078 kB / 0.5382 GB, free: 170.3 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches