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.001826/0.001826, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002345/0.002345, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.001521/0.001521, allocations: 51.92 kB / 377.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2439, allocations: 53.36 MB / 431.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04105/0.2849, allocations: 37.98 MB / 469.1 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006601/0.2915, allocations: 4.627 MB / 473.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003976/0.2919, allocations: 7.938 kB / 473.8 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009079/0.2928, allocations: 298.1 kB / 474 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.294, allocations: 489.3 kB / 474.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004664/0.2986, allocations: 1.667 MB / 476.2 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001742/0.3004, allocations: 1.292 MB / 477.5 MB, free: 8.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00026/0.3006, allocations: 119 kB / 477.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008081/0.3014, allocations: 494.4 kB / 478.1 MB, free: 7.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006628/0.3021, allocations: 422.3 kB / 478.5 MB, free: 7.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.937e-05/0.3022, allocations: 52 kB / 478.5 MB, free: 7.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.3038, allocations: 0.761 MB / 479.3 MB, free: 6.496 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.304, allocations: 139.5 kB / 479.4 MB, free: 6.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003092/0.3043, allocations: 271 kB / 479.7 MB, free: 6.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.3058, allocations: 1.052 MB / 480.8 MB, free: 5.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3058, allocations: 3.938 kB / 480.8 MB, free: 5.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3059, allocations: 0 / 480.8 MB, free: 5.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.3059, allocations: 0 / 480.8 MB, free: 5.035 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.001194/0.3071, allocations: 0.7191 MB / 481.5 MB, free: 4.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3071, allocations: 12.03 kB / 481.5 MB, free: 4.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.347e-05/0.3072, allocations: 78.7 kB / 481.6 MB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005747/0.3078, allocations: 80.62 kB / 481.7 MB, free: 4.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005378/0.3083, allocations: 281.8 kB / 481.9 MB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.3083, allocations: 33.38 kB / 482 MB, free: 3.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.185e-05/0.3084, allocations: 36.38 kB / 482 MB, free: 3.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007191/0.3091, allocations: 475.4 kB / 482.5 MB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.3091, allocations: 0 / 482.5 MB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/0.3092, allocations: 20 kB / 482.5 MB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.3092, allocations: 12 kB / 482.5 MB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.3097, allocations: 307.6 kB / 482.8 MB, free: 2.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01376/0.3235, allocations: 5.499 MB / 488.3 MB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005192/0.324, allocations: 270.3 kB / 488.6 MB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.3242, allocations: 139.9 kB / 488.7 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01027/0.3345, allocations: 2.668 MB / 491.4 MB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.3345, allocations: 35.16 kB / 491.4 MB, free: 9.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.364e-06/0.3345, allocations: 0 / 491.4 MB, free: 9.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01206/0.3466, allocations: 2.319 MB / 493.7 MB, free: 7.633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.3466, allocations: 55.41 kB / 493.8 MB, free: 7.566 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.347, allocations: 304.5 kB / 494.1 MB, free: 7.262 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.347, allocations: 33.7 kB / 494.1 MB, free: 7.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.3472, allocations: 228.5 kB / 494.3 MB, free: 6.992 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.3474, allocations: 170.6 kB / 494.5 MB, free: 6.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.3475, allocations: 98.3 kB / 494.6 MB, free: 6.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3477, allocations: 346.8 kB / 494.9 MB, free: 6.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.348, allocations: 153.2 kB / 495.1 MB, free: 6.227 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.3483, allocations: 280.6 kB / 495.3 MB, free: 5.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/0.349, allocations: 468.3 kB / 495.8 MB, free: 5.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.349, allocations: 0 / 495.8 MB, free: 5.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001176/0.3502, allocations: 0.5956 MB / 496.4 MB, free: 4.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3502, allocations: 8 kB / 496.4 MB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.3502, allocations: 4 kB / 496.4 MB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008105/0.3583, allocations: 1.847 MB / 498.3 MB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.3588, allocations: 111.8 kB / 498.4 MB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.361, allocations: 2.462 MB / 0.4891 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.3614, allocations: 16 kB / 0.4891 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.3614, allocations: 20 kB / 0.4891 GB, free: 172 kB / 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.0002665/0.3617, allocations: 185.8 kB / 0.4893 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-05/0.3618, allocations: 39.77 kB / 0.4893 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.363, allocations: 0.8725 MB / 0.4902 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.3631, allocations: 4 kB / 0.4902 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3631, allocations: 3.984 kB / 0.4902 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001106/0.3642, allocations: 0.9747 MB / 0.4911 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.3663, allocations: 1.487 MB / 0.4926 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.3663, allocations: 0 / 0.4926 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.3666, allocations: 71.91 kB / 0.4927 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003511/0.3701, allocations: 0.6217 MB / 0.4933 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.914e-05/0.3702, allocations: 23.92 kB / 0.4933 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.3713, allocations: 1.296 MB / 0.4946 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3714, allocations: 3.938 kB / 0.4946 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.3731, allocations: 1.254 MB / 0.4958 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.3732, allocations: 39.66 kB / 0.4958 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-05/0.3733, allocations: 16.06 kB / 0.4958 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.3735, allocations: 15.94 kB / 0.4959 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.3736, allocations: 23.98 kB / 0.4959 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/0.3736, allocations: 19.98 kB / 0.4959 GB, free: 8.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002472/0.3739, allocations: 215 kB / 0.4961 GB, free: 8.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3739, allocations: 0 / 0.4961 GB, free: 8.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007706/0.3746, allocations: 231.7 kB / 0.4963 GB, free: 8.543 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.002613/0.3772, allocations: 1.976 MB / 0.4983 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.3786, allocations: 0.6755 MB / 0.4989 GB, free: 5.848 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3786, allocations: 448 / 0.4989 GB, free: 5.848 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009663/0.3795, allocations: 432.2 kB / 0.4993 GB, free: 5.422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.3808, allocations: 241 kB / 0.4996 GB, free: 5.188 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006435/0.3873, allocations: 4.491 MB / 0.5039 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.3878, allocations: 0.8323 MB / 0.5048 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003115/0.3881, allocations: 72.28 kB / 0.5048 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.3883, allocations: 159.4 kB / 0.505 GB, free: 15.41 MB / 430.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3883, allocations: 0 / 0.505 GB, free: 15.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05549/0.4438, allocations: 18.04 MB / 0.5226 GB, free: 13.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/13.8, allocations: 3.281 kB / 0.5226 GB, free: 13.56 MB / 446.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: 17.488327068000217]