Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001372/0.001372, allocations: 109.9 kB / 21.18 MB, free: 0.7188 MB / 14.72 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.001506/0.001506, allocations: 216.7 kB / 24.49 MB, free: 4.09 MB / 14.72 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 1.35/1.35, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 59.92 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2786, allocations: 49.16 MB / 396.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06341/0.342, allocations: 51.21 MB / 447.6 MB, free: 0 / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007371/0.3494, allocations: 5.234 MB / 452.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.3497, allocations: 8 kB / 452.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008573/0.3506, allocations: 258.5 kB / 453.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008379/0.3514, allocations: 374 kB / 453.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01992/0.3713, allocations: 6.824 MB / 460.3 MB, free: 3.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001628/0.373, allocations: 1.107 MB / 461.4 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.3732, allocations: 101.8 kB / 461.5 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007291/0.3805, allocations: 3.618 MB / 465.1 MB, free: 14.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007418/0.3813, allocations: 422.6 kB / 465.5 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.3814, allocations: 60 kB / 465.5 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02085/0.4022, allocations: 10.04 MB / 475.6 MB, free: 3.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004/0.4026, allocations: 231.4 kB / 475.8 MB, free: 3.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005018/0.4031, allocations: 306.8 kB / 476.1 MB, free: 3.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0168/0.4199, allocations: 5.487 MB / 481.6 MB, free: 13.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4199, allocations: 0 / 481.6 MB, free: 13.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4199, allocations: 0 / 481.6 MB, free: 13.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.4199, allocations: 0 / 481.6 MB, free: 13.89 MB / 398.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.003972/0.4239, allocations: 1.323 MB / 482.9 MB, free: 12.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.424, allocations: 15.92 kB / 482.9 MB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.4241, allocations: 82.52 kB / 483 MB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003554/0.4244, allocations: 67.7 kB / 483.1 MB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006205/0.4251, allocations: 312.1 kB / 483.4 MB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.4251, allocations: 33 kB / 483.4 MB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.176e-05/0.4252, allocations: 43.95 kB / 483.5 MB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.4265, allocations: 0.596 MB / 484.1 MB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.4265, allocations: 0 / 484.1 MB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.338e-05/0.4266, allocations: 16 kB / 484.1 MB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.4266, allocations: 12 kB / 484.1 MB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.428, allocations: 0.7612 MB / 484.9 MB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01371/0.4417, allocations: 4.165 MB / 489 MB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.4431, allocations: 0.5117 MB / 489.5 MB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004142/0.4435, allocations: 242 kB / 489.8 MB, free: 5.477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01099/0.4545, allocations: 2.557 MB / 492.3 MB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.26e-05/0.4546, allocations: 46.94 kB / 492.4 MB, free: 2.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 3.186e-06/0.4546, allocations: 0 / 492.4 MB, free: 2.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.006006/0.4606, allocations: 1.893 MB / 494.3 MB, free: 0.9336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.4606, allocations: 63.84 kB / 494.3 MB, free: 0.8594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.461, allocations: 320.1 kB / 494.6 MB, free: 0.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.4611, allocations: 41.7 kB / 494.7 MB, free: 0.4961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.4613, allocations: 200.7 kB / 494.9 MB, free: 304 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.4614, allocations: 202.3 kB / 495.1 MB, free: 100 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.4616, allocations: 114.3 kB / 495.2 MB, free: 15.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.4618, allocations: 346.8 kB / 495.5 MB, free: 15.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.4622, allocations: 237.2 kB / 495.8 MB, free: 15.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006779/0.4629, allocations: 340.3 kB / 496.1 MB, free: 15.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.4641, allocations: 0.5995 MB / 496.7 MB, free: 14.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4641, allocations: 4 kB / 496.7 MB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001879/0.466, allocations: 0.7481 MB / 497.4 MB, free: 13.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.466, allocations: 7.938 kB / 497.4 MB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.466, allocations: 7.938 kB / 497.5 MB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005089/0.4665, allocations: 102.8 kB / 497.6 MB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/0.467, allocations: 127.8 kB / 497.7 MB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002953/0.47, allocations: 3.269 MB / 0.4892 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003417/0.4703, allocations: 12 kB / 0.4892 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/0.4704, allocations: 31.98 kB / 0.4892 GB, free: 9.816 MB / 414.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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0003331/0.4707, allocations: 201.7 kB / 0.4894 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/0.471, allocations: 51.7 kB / 0.4895 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.4726, allocations: 0.8074 MB / 0.4903 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.4726, allocations: 8 kB / 0.4903 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.4726, allocations: 0 / 0.4903 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001192/0.4738, allocations: 0.7635 MB / 0.491 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.4761, allocations: 1.273 MB / 0.4923 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4761, allocations: 0 / 0.4923 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004755/0.4765, allocations: 95.89 kB / 0.4924 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009137/0.4774, allocations: 152.7 kB / 0.4925 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.466e-05/0.4775, allocations: 19.98 kB / 0.4925 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005021/0.478, allocations: 0.6445 MB / 0.4932 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.478, allocations: 0 / 0.4932 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.4797, allocations: 0.9093 MB / 0.494 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.4798, allocations: 39.84 kB / 0.4941 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.146e-05/0.4799, allocations: 12 kB / 0.4941 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003931/0.4803, allocations: 15.98 kB / 0.4941 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.4804, allocations: 44.3 kB / 0.4942 GB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.551e-05/0.4805, allocations: 31.98 kB / 0.4942 GB, free: 4.527 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003061/0.4808, allocations: 255 kB / 0.4944 GB, free: 4.277 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4808, allocations: 0 / 0.4944 GB, free: 4.277 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003847/0.4846, allocations: 1.329 MB / 0.4957 GB, free: 2.945 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008318/0.4929, allocations: 3.066 MB / 0.4987 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.4947, allocations: 0.7762 MB / 0.4995 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.4947, allocations: 0 / 0.4995 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005718/0.4952, allocations: 279.8 kB / 0.4997 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.4967, allocations: 281.1 kB / 0.5 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.5069, allocations: 5.319 MB / 0.5052 GB, free: 8.984 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/0.5075, allocations: 0.8404 MB / 0.506 GB, free: 8.113 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005894/0.5081, allocations: 140.3 kB / 0.5062 GB, free: 7.973 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.5083, allocations: 155.4 kB / 0.5063 GB, free: 7.82 MB / 430.1 MB Notification: Performance of SimCode: time 2.435e-06/0.5083, allocations: 4 kB / 0.5063 GB, free: 7.816 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.111/0.6193, allocations: 52.37 MB / 0.5575 GB, free: 3.316 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.27, allocations: 0 / 0.5575 GB, free: 3.316 MB / 478.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 25.23501220599428]