Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001264/0.001264, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001508/0.001508, allocations: 206 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.DryAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 55.91 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2669, allocations: 53.35 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03805/0.305, allocations: 34 MB / 465.1 MB, free: 4.531 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005698/0.3107, allocations: 4.183 MB / 469.3 MB, free: 348 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002906/0.3109, allocations: 11.94 kB / 469.3 MB, free: 336 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008257/0.3118, allocations: 278.2 kB / 469.5 MB, free: 56 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009759/0.3127, allocations: 489.3 kB / 470 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004518/0.3173, allocations: 1.637 MB / 471.7 MB, free: 13.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.3189, allocations: 1.284 MB / 472.9 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.3191, allocations: 123 kB / 473.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006943/0.3198, allocations: 498.3 kB / 473.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005861/0.3204, allocations: 438.3 kB / 474 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.326e-05/0.3205, allocations: 44 kB / 474 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.322, allocations: 0.7649 MB / 474.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.3222, allocations: 135.5 kB / 474.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002781/0.3225, allocations: 243.1 kB / 475.2 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.3239, allocations: 1.056 MB / 476.2 MB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3239, allocations: 0 / 476.2 MB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3239, allocations: 0 / 476.2 MB, free: 9.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.324, allocations: 0 / 476.2 MB, free: 9.363 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001158/0.3251, allocations: 0.7113 MB / 476.9 MB, free: 8.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3252, allocations: 12.03 kB / 476.9 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.3253, allocations: 86.66 kB / 477 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000553/0.3258, allocations: 80.62 kB / 477.1 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005396/0.3263, allocations: 277.8 kB / 477.4 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.3264, allocations: 29.38 kB / 477.4 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.3264, allocations: 40.38 kB / 477.4 MB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008161/0.3273, allocations: 0.6651 MB / 478.1 MB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.3273, allocations: 7.938 kB / 478.1 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/0.3273, allocations: 16 kB / 478.1 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.3273, allocations: 12 kB / 478.1 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/0.3278, allocations: 303.7 kB / 478.4 MB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.3404, allocations: 4.635 MB / 483.1 MB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.3409, allocations: 250.5 kB / 483.3 MB, free: 2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.3411, allocations: 147.3 kB / 483.5 MB, free: 1.855 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009855/0.351, allocations: 2.68 MB / 486.1 MB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.351, allocations: 38.56 kB / 486.2 MB, free: 15.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.384e-06/0.351, allocations: 3.938 kB / 486.2 MB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01173/0.3628, allocations: 2.312 MB / 488.5 MB, free: 12.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.3628, allocations: 63.41 kB / 488.6 MB, free: 12.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.3632, allocations: 308.4 kB / 488.9 MB, free: 12.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.3632, allocations: 37.7 kB / 488.9 MB, free: 12.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.3634, allocations: 224.6 kB / 489.1 MB, free: 12.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.3635, allocations: 170.5 kB / 489.3 MB, free: 11.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.3637, allocations: 94.34 kB / 489.4 MB, free: 11.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3639, allocations: 346.8 kB / 489.7 MB, free: 11.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.3641, allocations: 153.2 kB / 489.9 MB, free: 11.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.3645, allocations: 280.6 kB / 490.1 MB, free: 11.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006949/0.3652, allocations: 472.3 kB / 490.6 MB, free: 10.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3652, allocations: 0 / 490.6 MB, free: 10.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001137/0.3664, allocations: 0.6038 MB / 491.2 MB, free: 9.902 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.3664, allocations: 8 kB / 491.2 MB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.3664, allocations: 4 kB / 491.2 MB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007661/0.3741, allocations: 1.849 MB / 493.1 MB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.3745, allocations: 111.8 kB / 493.2 MB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.3767, allocations: 2.447 MB / 495.6 MB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.377, allocations: 23.94 kB / 495.6 MB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.377, allocations: 27.98 kB / 495.7 MB, free: 5.281 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * 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,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002572/0.3773, allocations: 169.7 kB / 495.8 MB, free: 5.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.925e-05/0.3774, allocations: 39.77 kB / 495.9 MB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.3787, allocations: 0.8725 MB / 496.7 MB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.3787, allocations: 11.98 kB / 496.8 MB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.3787, allocations: 0 / 496.8 MB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001173/0.3799, allocations: 0.9862 MB / 497.7 MB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.3821, allocations: 1.413 MB / 499.2 MB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3821, allocations: 0 / 499.2 MB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.3824, allocations: 79.89 kB / 499.2 MB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003305/0.3857, allocations: 0.618 MB / 499.9 MB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.566e-05/0.3857, allocations: 23.92 kB / 499.9 MB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.3868, allocations: 1.288 MB / 0.4894 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3868, allocations: 7.875 kB / 0.4894 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.3885, allocations: 1.247 MB / 0.4906 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.3887, allocations: 43.78 kB / 0.4907 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/0.3887, allocations: 12.05 kB / 0.4907 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.3889, allocations: 19.92 kB / 0.4907 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.389, allocations: 31.89 kB / 0.4907 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.389, allocations: 19.98 kB / 0.4908 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002373/0.3893, allocations: 211.1 kB / 0.491 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3893, allocations: 0 / 0.491 GB, free: 13.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007537/0.39, allocations: 231.7 kB / 0.4912 GB, free: 13.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00247/0.3925, allocations: 1.968 MB / 0.4931 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.3938, allocations: 0.6798 MB / 0.4938 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3938, allocations: 0 / 0.4938 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009252/0.3947, allocations: 428.3 kB / 0.4942 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.396, allocations: 232.9 kB / 0.4944 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006356/0.4023, allocations: 4.497 MB / 0.4988 GB, free: 5.699 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.4026, allocations: 237.3 kB / 0.499 GB, free: 5.441 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003088/0.4029, allocations: 68.34 kB / 0.4991 GB, free: 5.375 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.4031, allocations: 159.4 kB / 0.4992 GB, free: 5.219 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4031, allocations: 4 kB / 0.4992 GB, free: 5.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05351/0.4566, allocations: 18.72 MB / 0.5175 GB, free: 2.789 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.49, allocations: 6.734 kB / 0.5175 GB, free: 2.785 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2_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_1_0_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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: 16.99471940798685]