Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 116.9 kB / 17.74 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 182.9 kB / 20.67 MB, free: 2.426 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 246.4 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] 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.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 47.92 kB / 357.5 MB, free: 8.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09144/0.09302, allocations: 49.43 MB / 406.9 MB, free: 7.297 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2149/0.3079, allocations: 27.02 MB / 434 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004083/0.3121, allocations: 4.166 MB / 438.1 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/0.3123, allocations: 4.469 kB / 438.1 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006354/0.313, allocations: 207.5 kB / 438.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006559/0.3137, allocations: 328.6 kB / 438.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003987/0.3177, allocations: 1.483 MB / 440.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.319, allocations: 0.8841 MB / 441 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/0.3192, allocations: 102.2 kB / 441.1 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006232/0.3255, allocations: 4.061 MB / 445.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.3259, allocations: 278.1 kB / 445.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.21e-05/0.326, allocations: 32.47 kB / 445.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.3277, allocations: 0.7245 MB / 446.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.3278, allocations: 97.52 kB / 446.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.3281, allocations: 191.6 kB / 446.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.3295, allocations: 0.8457 MB / 447.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3295, allocations: 0 / 447.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3295, allocations: 0 / 447.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.3295, allocations: 1.219 kB / 447.3 MB, free: 2.738 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009563/0.3305, allocations: 0.6685 MB / 448 MB, free: 2.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.3306, allocations: 8.375 kB / 448 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.918e-05/0.3306, allocations: 64.62 kB / 448.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004509/0.3311, allocations: 57.47 kB / 448.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.3315, allocations: 284.5 kB / 448.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.3316, allocations: 24.53 kB / 448.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/0.3316, allocations: 30.84 kB / 448.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.3321, allocations: 340.1 kB / 448.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.3321, allocations: 1.281 kB / 448.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.3322, allocations: 23.64 kB / 448.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.3322, allocations: 7.688 kB / 448.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.3325, allocations: 209.5 kB / 449 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01218/0.3447, allocations: 5.906 MB / 454.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.3451, allocations: 179.1 kB / 455.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.3452, allocations: 96.25 kB / 455.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/0.356, allocations: 3.884 MB / 459.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/0.3561, allocations: 35.69 kB / 459.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.414e-06/0.3561, allocations: 0 / 459.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.00645/0.3626, allocations: 1.422 MB / 460.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.3626, allocations: 57.59 kB / 460.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.363, allocations: 265.7 kB / 460.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.363, allocations: 28.95 kB / 460.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.3632, allocations: 184.2 kB / 461.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.131e-05/0.3633, allocations: 103.2 kB / 461.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.3634, allocations: 64.22 kB / 461.2 MB, free: 11.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3635, allocations: 337 kB / 461.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.3637, allocations: 96.14 kB / 461.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.3639, allocations: 191.4 kB / 461.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.3643, allocations: 309.3 kB / 462.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3644, allocations: 0 / 462.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000685/0.365, allocations: 393.7 kB / 462.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3651, allocations: 5.375 kB / 462.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.3651, allocations: 2.562 kB / 462.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003902/0.369, allocations: 0.9388 MB / 463.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.3693, allocations: 68.06 kB / 463.5 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.371, allocations: 1.976 MB / 465.5 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.3713, allocations: 12.03 kB / 465.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.3713, allocations: 19.67 kB / 465.6 MB, free: 8.066 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002104/0.3715, allocations: 162.6 kB / 465.7 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-05/0.3716, allocations: 37.44 kB / 465.7 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007415/0.3724, allocations: 491.7 kB / 466.2 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.3724, allocations: 6.531 kB / 466.2 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.3724, allocations: 4 kB / 466.2 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007248/0.3731, allocations: 0.7176 MB / 467 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.3745, allocations: 0.946 MB / 467.9 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3746, allocations: 0 / 467.9 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.3747, allocations: 47.89 kB / 467.9 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001615/0.3764, allocations: 319.7 kB / 468.3 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.3764, allocations: 7.188 kB / 468.3 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007021/0.3771, allocations: 0.6488 MB / 468.9 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3771, allocations: 0 / 468.9 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009306/0.3781, allocations: 0.7278 MB / 469.6 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.3782, allocations: 100.9 kB / 469.7 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.625e-05/0.3783, allocations: 7.844 kB / 469.8 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.3785, allocations: 6.062 kB / 469.8 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.3786, allocations: 23.03 kB / 469.8 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.3786, allocations: 8.281 kB / 469.8 MB, free: 5.797 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.3788, allocations: 191.2 kB / 470 MB, free: 5.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3788, allocations: 0 / 470 MB, free: 5.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000836/0.3796, allocations: 192.3 kB / 470.2 MB, free: 5.672 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002009/0.3817, allocations: 1.426 MB / 471.6 MB, free: 4.863 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008655/0.3825, allocations: 463.1 kB / 472 MB, free: 4.691 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.3826, allocations: 4 kB / 472 MB, free: 4.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005047/0.3831, allocations: 235.2 kB / 472.3 MB, free: 4.652 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.3841, allocations: 170.2 kB / 472.4 MB, free: 4.582 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/0.389, allocations: 3.328 MB / 475.8 MB, free: 1.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.3896, allocations: 0.7799 MB / 476.5 MB, free: 0.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000259/0.3898, allocations: 50.94 kB / 476.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.39, allocations: 103.3 kB / 476.7 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.39, allocations: 7.938 kB / 476.7 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0447/0.4347, allocations: 13.43 MB / 490.1 MB, free: 3.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.63, allocations: 4.062 kB / 490.1 MB, free: 3.426 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_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_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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: 15.8268371920567]