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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008039/0.0008039, allocations: 83.64 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003984/0.003984, allocations: 164.1 kB / 24.7 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8109/0.8109, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 298.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02e-05/1.153e-05, allocations: 2.281 kB / 298.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4408/0.4408, allocations: 161.6 MB / 460.1 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004034/0.4449, allocations: 4.348 MB / 464.5 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.445, allocations: 7.125 kB / 464.5 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005722/0.4456, allocations: 239.1 kB / 464.7 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005009/0.4461, allocations: 396.6 kB / 465.1 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005447/0.4515, allocations: 2.959 MB / 468 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.4526, allocations: 1.179 MB / 469.2 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.4528, allocations: 96.92 kB / 469.3 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.4552, allocations: 1.647 MB / 471 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004453/0.4556, allocations: 399 kB / 471.4 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.466e-05/0.4557, allocations: 63.5 kB / 471.4 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00422/0.4599, allocations: 3.498 MB / 474.9 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.4601, allocations: 253 kB / 475.2 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.4603, allocations: 246.5 kB / 475.4 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003247/0.4636, allocations: 3.18 MB / 478.6 MB, free: 1.031 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4636, allocations: 0 / 478.6 MB, free: 1.031 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4636, allocations: 0.9688 kB / 478.6 MB, free: 1.031 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.4636, allocations: 0 / 478.6 MB, free: 1.031 MB / 410.7 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.001747/0.4654, allocations: 1.092 MB / 479.7 MB, free: 16.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.4654, allocations: 13.42 kB / 479.7 MB, free: 16.38 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.29e-05/0.4655, allocations: 84.77 kB / 479.8 MB, free: 16.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.4657, allocations: 64.48 kB / 479.8 MB, free: 16.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.466, allocations: 306.6 kB / 480.1 MB, free: 16.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.466, allocations: 36.41 kB / 480.2 MB, free: 16.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.4661, allocations: 42.06 kB / 480.2 MB, free: 16.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006149/0.4667, allocations: 0.8091 MB / 481 MB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.4667, allocations: 1.062 kB / 481 MB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.4667, allocations: 19.62 kB / 481 MB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4667, allocations: 19.52 kB / 481.1 MB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005403/0.4673, allocations: 0.5845 MB / 481.6 MB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.469, allocations: 1.319 MB / 483 MB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007046/0.4697, allocations: 0.5289 MB / 483.5 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.4699, allocations: 252 kB / 483.7 MB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.47, allocations: 100.6 kB / 483.8 MB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.4701, allocations: 36.47 kB / 483.9 MB, free: 15.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 1.553e-06/0.4701, allocations: 0.9688 kB / 483.9 MB, free: 15.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.006501/0.4766, allocations: 3.429 MB / 487.3 MB, free: 14.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.4766, allocations: 60.53 kB / 487.4 MB, free: 14.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.4768, allocations: 305.1 kB / 487.7 MB, free: 14.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.4768, allocations: 35.58 kB / 487.7 MB, free: 14.78 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.4769, allocations: 193.5 kB / 487.9 MB, free: 14.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.477, allocations: 241.8 kB / 488.1 MB, free: 14.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.4771, allocations: 114.1 kB / 488.2 MB, free: 14.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.4772, allocations: 351.2 kB / 488.6 MB, free: 14.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.4776, allocations: 308.6 kB / 488.9 MB, free: 14.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/0.478, allocations: 389.6 kB / 489.3 MB, free: 14.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000798/0.4788, allocations: 0.7102 MB / 490 MB, free: 14.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4788, allocations: 4.156 kB / 490 MB, free: 14.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001184/0.48, allocations: 0.9568 MB / 490.9 MB, free: 13.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.48, allocations: 7.531 kB / 490.9 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.48, allocations: 0.875 kB / 490.9 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007346/0.4807, allocations: 335.7 kB / 491.3 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.481, allocations: 124.9 kB / 491.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.4831, allocations: 3.491 MB / 494.9 MB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.4833, allocations: 37.56 kB / 494.9 MB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.4834, allocations: 26.7 kB / 494.9 MB, free: 10.98 MB / 426.7 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.0001724/0.4835, allocations: 195.4 kB / 495.1 MB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/0.4836, allocations: 48.84 kB / 495.2 MB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.485, allocations: 1.017 MB / 496.2 MB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.485, allocations: 5.438 kB / 496.2 MB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.485, allocations: 5.031 kB / 496.2 MB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/0.4861, allocations: 1.071 MB / 497.3 MB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.4878, allocations: 1.553 MB / 498.8 MB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4878, allocations: 0 / 498.8 MB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.4881, allocations: 116.2 kB / 498.9 MB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008206/0.4889, allocations: 375.3 kB / 499.3 MB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.4889, allocations: 23.3 kB / 499.3 MB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007493/0.4897, allocations: 0.8681 MB / 0.4885 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4897, allocations: 0 / 0.4885 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.4912, allocations: 1.336 MB / 0.4898 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.4913, allocations: 47.94 kB / 0.4898 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.4913, allocations: 20.41 kB / 0.4898 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.4916, allocations: 42.75 kB / 0.4899 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.4917, allocations: 50.52 kB / 0.4899 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/0.4917, allocations: 32.3 kB / 0.49 GB, free: 9.305 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001435/0.4919, allocations: 225.1 kB / 0.4902 GB, free: 9.219 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4919, allocations: 0.9062 kB / 0.4902 GB, free: 9.219 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009743/0.4928, allocations: 463.4 kB / 0.4906 GB, free: 9.141 MB / 426.7 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.002614/0.4954, allocations: 2.389 MB / 0.493 GB, free: 8.332 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.4966, allocations: 0.9668 MB / 0.4939 GB, free: 8.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4966, allocations: 0.75 kB / 0.4939 GB, free: 8.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004666/0.4971, allocations: 409 kB / 0.4943 GB, free: 8.082 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008262/0.4979, allocations: 304.6 kB / 0.4946 GB, free: 8.043 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005944/0.5039, allocations: 5.655 MB / 0.5001 GB, free: 6.223 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.504, allocations: 249.8 kB / 0.5003 GB, free: 6.133 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003171/0.5043, allocations: 133.9 kB / 0.5005 GB, free: 6.094 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.5045, allocations: 166.2 kB / 0.5006 GB, free: 6.086 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5045, allocations: 0 / 0.5006 GB, free: 6.086 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04252/0.5471, allocations: 28.27 MB / 0.5282 GB, free: 14.06 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.263/8.81, allocations: 0 / 0.5282 GB, free: 14.06 MB / 458.7 MB " [Timeout remaining time 651] (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 --stepSize=0.000201919 --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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/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/jenkins/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.521601716987789]